Skip to content

Show a share link's history and revoke it from the share popover - #1478

Open
thesiti92 wants to merge 10 commits into
share-linksfrom
share-history
Open

thesiti92 wants to merge 10 commits into
share-linksfrom
share-history

Conversation

@thesiti92

Copy link
Copy Markdown
Contributor

Stacked on #1477. Now that a board has one share link with revisions behind it, the share popover shows them.

  • Under the link, a history list from the new host route GET /sharing/history/:shareId: newest first, each row with when it was shared, the board version and size, the latest marked. Clicking a row opens that revision in the browser through POST /sharing/open, which only accepts share links on the account origin. The list caps at five rows and scrolls.
  • "Revoke link" confirms through a new session.bridge.confirm (host dialog), posts the existing /sharing/revoke, clears the link and history, and says "Link revoked. Sharing this board again creates a new link." The next share mints a new link.
  • formatBytes joins format.ts.
  • The share-link journey covers history rows and revoke end to end.

Design: docs/superpowers/specs/2026-11-01-share-links-design.md (History UI).

Agent-Session: 64182dea-534e-45f1-8e28-c1e27a5d6bab
Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
Agent-Session: 64182dea-534e-45f1-8e28-c1e27a5d6bab
Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
Agent-Session: 64182dea-534e-45f1-8e28-c1e27a5d6bab
Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
Agent-Session: 64182dea-534e-45f1-8e28-c1e27a5d6bab
Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
…ener

Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
… after revoking

Agent-Session: 2b04f44e-91c6-4568-8c57-c4a01b2828ad
@thesiti92
thesiti92 added this pull request to stack #1479 November 1, 2026 22:02

This branch has not been deployed

No deployments
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