collapse pack actions into single disclosure menu
the pack-meta line had the state label ("saved") sitting directly next
to a "delete" button and a "share" button, which read as the nonsense
phrase "saved delete" and made it unclear what any of the verbs acted
on. confusing enough that a user asked literally "delete what?".
rework: the state label IS the menu trigger now. one click on
"saved" / "not saved" opens a small popover anchored to the trigger
with:
- a one-sentence description of what the pack is and where it lives
- view pack on PDS (if saved)
- delete saved pack (if saved)
- save pack to my PDS (if not saved)
- share this search (if there's a query to share)
every action closes the menu on click so the user gets immediate
visual confirmation. mobile gets a left-anchored panel so it doesn't
clip off the right edge of the viewport.
shared-view mode swaps the entire disclosure for a static "shared
view" label — there's no auth and nothing to save/delete, so a menu
would be empty.
no backend changes, just frontend. deploy picks it up because assets
are embedded at build time.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>