Skip to content

feat(drawer): an Archived page under Catch Up - #56

Merged
Tarquinen merged 4 commits into
devfrom
archived-page
Nov 12, 2026
Merged

Tarquinen merged 4 commits into
devfrom
archived-page

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Archived sessions were a collapsed section at the bottom of the Inbox Sidebar, so you had to scroll past every session to reach them, and the regular list had no way in at all.

Now an "Archived" row with its count sits under Catch Up in both lists whenever the server has archived sessions. It opens an Archived page with a back arrow, Search Archived and the archived sessions. Search asks the server, as desktop does, so it finds more than the 50 listed. Tap a session to open it, or hold to select and Unarchive or Delete.

The old bottom section and the now unused row-menu code are removed.

Open Archived, search, select and Unarchive; the session comes back to the list:

p2-unarchive-light.mp4
p2-unarchive-dark.mp4

Archived row under Catch Up, light and dark Archived page with 2 selected, light and dark

The page slides in and follows the back swipe:

p2-slide.mp4
  • vm.sh check :server :feature:drawer
  • Emulator, light and dark: archive, search, Unarchive returns the session to the list, Delete two from the page, back closes the page

Archived sessions now live on their own page instead of a collapsed
section at the bottom of the Inbox Sidebar, which meant scrolling past
every session to reach it. An "Archived" row with its count sits under
Catch Up in both the regular list and the Inbox Sidebar while the server
has archived sessions. It opens a page with a back arrow, Search Archived
(searched on the server, as desktop does) and the archived sessions,
muted. Tapping one opens it; holding one selects it, and the bar offers
Unarchive and Delete.

The row menu machinery in DrawerRowInteraction is gone: no row opens a
menu any more.

Verified: vm.sh check :server :feature:drawer; on the emulator in light
and dark with an archive-aware session-lab: archive from the bar, the
Archived row and count, search narrowing on the server, Unarchive
bringing the session back, Delete of two from the page, back closing
the page.
# Conflicts:
#	feature/drawer/src/main/kotlin/ai/opencode/feature/drawer/HomeViewDrawer.kt
#	feature/drawer/src/main/kotlin/ai/opencode/feature/drawer/list/InboxSidebarList.kt
@Tarquinen
Tarquinen changed the base branch from drawer-selection to dev November 12, 2026 15:57
Every row on the Archived page is archived, so drawing them at half
alpha said nothing and washed out the text and selection checks. The
archived flag and alpha it fed are now unused, so they're gone.

Verified: vm.sh check :feature:drawer; Archived page with a selection on
the emulator in light and dark.
The Archived page used to swap in with no motion. It now slides in from the
right while the list slides a little left and fades (Material's shared axis X),
and back reverses it. A predictive back drag shrinks the page toward 90% with
the finger; letting go early settles it back. Reduce motion leaves plain fades.

Verified: vm.sh check :feature:drawer; on the emulator, regular list and Inbox
Sidebar in light and dark: open, scroll, quick back, a slow back drag let go
early and one carried through.
@Tarquinen
Tarquinen merged commit 0eaf308 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 — 86d2d0bd Deployed Nov 12, 2026 by Tarquinen via check #172
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