Repository navigation
fix(drawer): inbox rows open a menu on long press instead of swiping - #51
Merged
Merged
Conversation
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
force-pushed
the
inbox-row-menu
branch
from
November 12, 2026 04:25
e7abc4f to
8c89bf2
Compare
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.
Merged
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
A left swipe on a row closes the panel:
a-swipe-closes.mp4
scripts/check.sh :feature:drawerpasses.