Skip to content

feat: delete a lane - #1

Open
abduosmanaj wants to merge 1 commit into
oloapiu:mainfrom
abduosmanaj:main
Open

feat: delete a lane#1
abduosmanaj wants to merge 1 commit into
oloapiu:mainfrom
abduosmanaj:main

Conversation

@abduosmanaj

Copy link
Copy Markdown

Summary

  • Owners can delete a lane from its header (trash icon, owner-gated), via a confirm modal that requires typing the lane name.
  • Deletion publishes a NIP-09 kind-5 deletion request tagging the lane's repo announcement address.
  • The board filters out any lane with a valid tombstone (deletion must be authored by the same pubkey as the lane owner), so it disappears client-side regardless of whether the relay itself prunes the event.

Test plan

  • tsc -b and vite build pass clean
  • Manually tested in ?demo mode: deleted the "Ops" lane, confirmed the modal shows the correct card count, gates on exact name match, and the lane (with its cards) disappears from the board after confirming, leaving other lanes untouched

🤖 Generated with Claude Code

Owners can now delete a lane from its header. Publishes a NIP-09
deletion request (kind 5) for the lane's repo announcement; the board
client-side filters any lane with a valid tombstone (deletion must be
authored by the same pubkey as the lane owner) so it disappears
regardless of whether the relay itself prunes the event. Confirmation
modal requires typing the lane name to guard against misclicks.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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