Repository navigation
A policy's page leads back to its floor's policies - #28
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem: clicking a policy in the Policies panel opens its file as a kept item, and that view had no way back to the list but closing to the skyline.
How: an item of the
policiescollection draws a back chevron before its label; it opens the floor's policies through the panel's existingdata-policieshandler. Derived from the item's collection, so it is there however the policy was opened (the panel, an offer, a#kept/…link, a reload) and nothing new goes in the hash.Run:
npm run typecheck,npm test(358 pass),npm run tower3d,kb.mjs verify(0 errors; the suspects are file-level refs torenderers/page/index.html, no claim changes). Checked on a sandbox: list → policy → back lands on#policies/towerwith the list drawn. Tower 3D doesn't open policy files: untouched.