8000 feat(web): deep links to a view and a card by kvaps · Pull Request #301 · aenix-io/aeman · GitHub
[go: up one dir, main page]

Skip to content

feat(web): deep links to a view and a card - #301

Merged
kvaps merged 4 commits into
mainfrom
feat/card-deep-links
Nov 7, 2026
Merged

kvaps merged 4 commits into
mainfrom
feat/card-deep-links

Conversation

@kvaps
@kvaps kvaps commented Nov 7, 2026
Copy link
Copy Markdown
Member

Cards could not be linked to, and their id could only be copied from the board card's menu.

  • The board keeps its state in the address: /?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.
  • Loading such an address opens that view, that day and that card, fetching the card by id when it is not in the current listing. A card the visitor cannot read, or one that is gone, shows a short notice; a network error keeps the link.
  • A link followed before signing in is given back after the sign-in, once, and only when it is a path on this board.
  • The drawer has two chips under the title, "Copy ID" and "Copy link", and says "Copied" only when the copy happened.
  • Docs: "Deep links" in docs/api.md, matrix row S17.

kvaps added 4 commits November 7, 2026 14:32
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>
@kvaps
kvaps merged commit 3298bc4 into main Nov 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0