Skip to content

fix(drawer): inbox rows open a menu on long press instead of swiping - #51

Merged
Tarquinen merged 1 commit into
devfrom
inbox-row-menu
Nov 12, 2026
Merged

Tarquinen merged 1 commit into
devfrom
inbox-row-menu

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

With the Inbox Sidebar on (Experimental), swiping a row left archived it. The panel opens from the left, so people expected a left swipe to close it, and it was easy to archive a session by accident.

Inbox rows now work like the regular drawer rows: a sideways swipe moves the panel, and a long press opens the same menu with Mark as Read (unread rows only), Mute, Archive and Delete. TalkBack gets the same items as row actions. A failed archive still shows its error and brings the row back. iOS keeps its swipe actions, so the parity notes record the divergence, and the row-swipe code it needed is gone.

Inbox menu, light: dev vs new Inbox menu, dark: dev vs new

A left swipe on a row closes the panel:

a-swipe-closes.mp4
  • scripts/check.sh :feature:drawer passes.
  • On the emulator with session-lab: a left swipe on a row closes the panel; Mark as Read and Archive work from the menu, in light and dark.

Inbox Sidebar rows (Experimental) swiped left to archive, but the panel
opens from the left, so a left swipe should close it. The rows now take
the regular drawer rows' long-press menu (Open in New Window, Mark as
Read when unread, Mute, Archive, Delete; also TalkBack actions), and a
sideways swipe on them moves the drawer. ArchiveSwiped is renamed
ArchiveTapped; its error handling is unchanged.

Removes the now-unused rowsOwnSwipes/drawerPanRow plumbing and its
ported test (Android rows don't own swipes); parity rows note the
divergence.

Verified: scripts/check.sh :feature:drawer; on the emulator with
session-lab, a left swipe on a row closes the drawer, the menu's Mark
as Read and Archive work, and a failed archive shows its error.
@Tarquinen Tarquinen changed the title fix(drawer): inbox rows use a long-press menu instead of swipes, and archived sessions can be restored fix(drawer): inbox rows open a menu on long press instead of swiping Nov 12, 2026
@Tarquinen
Tarquinen merged commit bdfcc35 into dev Nov 12, 2026
3 checks passed
Tarquinen added a commit that referenced this pull request Nov 12, 2026
…nto feat/assistant

Conflicts kept both sides: the root page keeps the Assistant row next to #49's badge rows,
the Experimental count still includes the assistant, and the sessions parity row keeps the
archived-session routes and the assistant's session note. The Assistant experiment loses its
caption, as #49 removed row captions; its footer now says what it does.
@Tarquinen Tarquinen mentioned this pull request Nov 12, 2026

This branch was previously deployed

1 inactive deployment
release — 8c89bf2a Deployed Nov 12, 2026 by Tarquinen via check #156
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