Skip to content

Collapse Working and Archived in the inbox, and list new sessions - #102

Merged
eivindjonassen merged 1 commit into
mainfrom
inbox-collapsible-sections
Nov 2, 2026
Merged

eivindjonassen merged 1 commit into
mainfrom
inbox-collapsible-sections

Conversation

@eivindjonassen

Copy link
Copy Markdown
Member

A long archive pushed the Working section below the last row, so running sessions needed a scroll to the bottom. The inbox now lists sessions that need attention and finished sessions without headers, then Working, then Archived. Working and Archived each sit under a separator header that collapses the section and shows its count. The device stores both states per connection; schema 18 adds archived_expanded, expanded by default.

A session that had never run had no time.idle, so the inbox start filtered it out until its first run finished, while OpenCode desktop lists it at once. Recent and Archived now use time.created for a session with no finished run, both to filter and to sort.

Already published to the preview channel from 8393cf7 (runtime 0.1.5, both native fingerprints matched the installed baseline). Merge before the next automatic publication of main: it still expects schema 17, and phones that ran this update are at 18.

Checks run locally: pnpm check, pnpm check:public, pnpm native:doctor, secret scan. Not run: the OpenCode server contract suite (adapter unchanged) and device verification.

A long archive pushed the Working section below the last row, so
running sessions needed a scroll to the bottom. The inbox now lists
sessions that need attention and finished sessions without headers,
then Working, then Archived. Working and Archived each sit under a
separator header that collapses the section and shows its count. The
device stores both states per connection; schema 18 adds
archived_expanded, expanded by default.

A session that had never run had no time.idle, so the inbox start
filtered it out until its first run finished, while OpenCode desktop
lists it at once. Recent and Archived now use time.created for a
session with no finished run, both to filter and to sort.
@eivindjonassen
eivindjonassen merged commit 0e22d39 into main Nov 2, 2026
4 checks passed
@eivindjonassen
eivindjonassen deleted the inbox-collapsible-sections branch November 2, 2026 21:14
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