Skip to content

v0.9.0 — Unshare from the web viewer - #13

Merged
drepkovsky merged 1 commit into
mainfrom
feat/web-unshare
Jun 14, 2026
Merged

v0.9.0 — Unshare from the web viewer#13
drepkovsky merged 1 commit into
mainfrom
feat/web-unshare

Conversation

@drepkovsky

Copy link
Copy Markdown
Member

Follow-up to the share feature: the web viewer can now see what's shared and revoke it, mirroring the CLI's share rm.

What's in it

  • /api/board annotates every task / spec / knowledge / design with its current share ({ url, gistUrl, sharedAt }) read from shares.json, so the viewer knows what's already published.
  • The web ShareButton initializes from that state: an already-shared artifact opens showing its link with Copy link, Re-share, and a new Unshare action.
  • Unshare is a loopback-only DELETE /api/shareremoveShare: it deletes the backing gist and clears the index. The link goes dead immediately (viewer shows "share not found").

Verified (running web viewer, measured)

  • An already-shared design/task opens in the Shared state with the live URL + Unshare (confirmed against /api/board annotation).
  • Clicking Unshare deletes the gist (confirmed 404), removes the shares.json entry, and returns the button to idle — no console errors.
  • bun test 69 pass · tsc --noEmit clean · agent-board skills check no drift.

Bumps to 0.9.0.

🤖 Generated with Claude Code

- `/api/board` annotates every task/spec/knowledge/design with its current share (link, gist url, sharedAt) read from shares.json, so the viewer knows what's already published.
- The web ShareButton initializes from that state: an already-shared artifact opens showing its URL with Copy / Re-share / **Unshare**.
- Unshare is a loopback-only `DELETE /api/share` -> removeShare: deletes the backing gist and clears the index, mirroring the CLI `share rm`.
- Bump to 0.9.0.
@drepkovsky
drepkovsky merged commit 103a555 into main Jun 14, 2026
1 check passed
@drepkovsky
drepkovsky deleted the feat/web-unshare branch June 14, 2026 15:43
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