Skip to content

feat(drawer): long-press a session to select it - #55

Merged
Tarquinen merged 2 commits into
devfrom
drawer-selection
Nov 12, 2026
Merged

Tarquinen merged 2 commits into
devfrom
drawer-selection

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Holding a session in the drawer opened a small popup menu, which people didn't find, and Archive only existed in the experimental Inbox Sidebar.

Now holding a session selects it, the way Gmail and Files work. Tapping more rows adds them, and the header turns into a bar with Mark as Read (or Unread), Archive and Delete, plus Mute, Pin and Open in New Window behind ⋮. Deleting several asks once. Back, ✕ or closing the drawer ends selection. This works in the normal list and the Inbox Sidebar, so Archive is now in the normal list too. The old hold menus are gone. iOS still uses menus here, which the parity notes record.

Entering selection starts from the row you hold: its check pops in, then the other circles follow in a quick wave. Real speed, then 0.25×:

p1-wave.mp4
p1-wave-slow.mp4

Select three and archive, in the normal list and in the Inbox Sidebar:

p1-list-archive.mp4
p1-inbox-archive.mp4

Delete several, with one confirmation:

p1-delete.mp4

Back or ✕ ends selection:

p1-back.mp4

Normal list: 3 selected and the ⋮ menu, light and dark Inbox Sidebar: 3 selected and the ⋮ menu, light and dark

  • vm.sh check :feature:drawer
  • Emulator, light and dark: selected three and archived them in both lists, deleted three with the confirmation, back and ✕ end selection, and a left swipe on a row still closes the drawer

Holding a drawer row now starts selection mode, in the regular list and
the Inbox Sidebar, instead of opening a popup menu. The header becomes a
bar with Cancel, "N Selected", Mark as Read/Unread, Archive and Delete,
and an overflow with Mute, Pin and Open in New Window (one session).
Delete asks first ("Delete N Sessions?" for several). Back, the X or
closing the drawer ends it. Archive is now in the regular list too, and
its error shows where a failed delete does.

The regular rows' and inbox rows' hold menus are removed; only the Inbox
Sidebar's Archived rows keep one (Unarchive) until the Archived page
replaces that section.

Verified: vm.sh check :feature:drawer; on the emulator (light and dark)
selecting three and archiving in both lists, deleting three with the
confirmation, back and X ending selection, a left swipe on a row still
closing the drawer.
Holding a row now eases the drawer into selection instead of snapping:
the title and search rise out as the selection bar rises in, the held
row's check pops in and the other rows' checks follow in a quick wave out
from it (one stagger step per row away, capped), the chosen tint fades,
and the count rolls. Leaving plays it back, quicker. Motion uses the
MotionRole springs, so Remove animations swaps without movement.

Verified: scripts/check.sh :feature:drawer (vm.sh check); on the emulator
in the normal list and the Inbox Sidebar, light and dark, entering by
hold, choosing and dropping rows, leaving by the close button; and once
with Remove animations on.
@Tarquinen
Tarquinen merged commit 6795076 into dev Nov 12, 2026
3 checks passed
@Tarquinen Tarquinen mentioned this pull request Nov 12, 2026
Tarquinen added a commit that referenced this pull request Nov 12, 2026
…assistant

Only the sessions parity row conflicted: it keeps dev's Archived page wording and the
assistant's session-note route. The assistant's drawer changes are call routing only and
don't touch the row menus or swipe code #55 removed.

This branch was previously deployed

1 inactive deployment
release — 87378f6f Deployed Nov 12, 2026 by Tarquinen via check #167
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