Repository navigation
feat(web): deep links to a view and a card - #301
Merged
Merged
Conversation
The board's address names the view and the open card in its query (/?view=roadmap&card=<uid>), and the root document answers it as it answers the root, uncached, so a deep link opens the board. Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
The board's address now carries its state: the view, the open card and, on a day board looked at on another day, the day. Opening or closing a card is a step Back undoes, a tab only rewrites the address, and loading an address opens that view and fetches the card wherever it stands, with a notice for one the visitor cannot read. A link followed before signing in is given back after the sign-in. The drawer shows the card's id to copy and a link to copy. Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
A link with a day lost it: the config that sets the board's zone put the board back on today, and the address followed. The linked day now outlives the start, and a day must be a real calendar day. A linked card still being fetched no longer overrides what the person does next, a card the server takes away rewrites the address instead of adding a history step, and the drawer's Back is the browser's. Only a 403 or 404 drops a linked card from the address; other failures are shown as errors. The address kept across a sign-in is taken off on every load and given back only once signed in, within the sign-in's span, and never with control characters. Copy link carries the day a day board shows, and the copy controls say "copied" only when the copy happened, name the id and announce the result. Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
The id is a thing to paste, not to read: the drawer no longer draws it, it offers two chips under the title instead. Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
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.
Cards could not be linked to, and their id could only be copied from the board card's menu.
/?view=<view>&card=<uid>, plus&day=on the Me and Team boards when the day shown is not today. Opening, switching or closing a card is a history step, so Back closes the drawer; switching a tab or a day only rewrites the address.docs/api.md, matrix row S17.