Trees list: inline visibility selector (private/unlisted/public) #41

Merged
justin merged 1 commits from tree-visibility-control into main 2026-06-09 08:39:42 -04:00
Owner

There was no UI to change a tree's visibility — the trees list only showed it as text. Adds a private/unlisted/public dropdown on each tree card (PATCHes immediately, optimistic), pulled out of the navigation Link so it doesn't trigger navigation. Living people remain protected by the privacy engine regardless of tree visibility.

tsc clean; build passes.

🤖 Generated with Claude Code

There was no UI to change a tree's visibility — the trees list only showed it as text. Adds a private/unlisted/public dropdown on each tree card (PATCHes immediately, optimistic), pulled out of the navigation Link so it doesn't trigger navigation. Living people remain protected by the privacy engine regardless of tree visibility. tsc clean; build passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
justin added 1 commit 2026-06-09 08:36:31 -04:00
Tree visibility was set to private with no UI to change it — the trees list
only displayed the value as text. Add a private/unlisted/public dropdown on
each tree card that PATCHes visibility immediately (optimistic), pulled out of
the card's navigation Link so it doesn't trigger a page change. Honors the
"everything configurable / full CRUD in the UI" invariants. Living people stay
protected by the privacy engine regardless of tree visibility.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
justin merged commit 251652a935 into main 2026-06-09 08:39:42 -04:00
justin deleted branch tree-visibility-control 2026-06-09 08:39:42 -04:00
Sign in to join this conversation.