GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(app): inbox sidebar — archived sessions needing attention, archive toggle, session shortcuts by opencode-agent[bot] · Pull Request #66327 · anomalyco/opencode

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Nov 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

An archived session that asks a question or needs a permission stayed under Archived in the inbox sidebar, so you never saw it was waiting on you.

Now it moves into Needs attention (not dimmed) while it waits, and drops back into Archived once you answer. It isn't unarchived on the server, so a recurring "keep this hidden unless it needs me" session stays hidden after each question. The row's menu still offers Unarchive for when you want it back for good.

  • inbox.tsx: Needs attention includes archived waiting sessions; Archived leaves them out; the card dims only when archived and not waiting.
  • inbox-model.ts: inboxWaiting helper.
  • e2e: an archived session gets form.created, shows in Needs attention with Archived gone; form.replied sends it back to dimmed Archived. Fails without the fix, passes with it. The neighbouring archived inbox tests still pass.

Archive shortcut toggles (follow-up from Victor): ⌘⇧S (session.archive) now unarchives the open session if it's archived, and the session stays open. There's also a new Unarchive session command (session.unarchive), with no default shortcut, so it can get its own binding in Settings → Keybinds. The archive command keeps its name.

  • e2e: ⌘⇧S unarchives an archived session, then archives it again; the palette offers Unarchive session only while the session is archived, and running it sends archived: false. Fails without the change.

Session shortcuts in the inbox (also from Victor): the inbox never registered the sidebar's row shortcuts, so ⌘1-9, ⌥↑/⌥↓ (previous/next session) and ⇧⌥↑/⇧⌥↓ (next unread) did nothing there. It now uses the same createSessionRowNavigation as the other sidebars, over the rows in display order: the open session if it isn't listed, Needs attention, Recent, Working, then Archived when expanded (Working last when it's on the bottom shelf). Collapsed sections are skipped. The ⌘-held number badges aren't drawn on inbox cards yet.

  • e2e: ⌘1/⌘3 pick rows, ⌥↓ steps and wraps past a collapsed Archived section, ⇧⌥↓ jumps to the unread row. Fails without the change.

Requested by: @Brendonovich (Brendan via Slack)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Brendan @opencode-agent
fix(app): surface archived inbox sessions that need attention
ac66ff4
@opencode-agent opencode-agent Bot assigned Brendonovich Nov 25, 2026
@github-actions github-actions Bot added the contributor label Nov 25, 2026
@vimtor-anomaly @opencode-agent
feat(app): archive shortcut toggles, and add an Unarchive session com…
77b8447
…mand
@opencode-agent opencode-agent Bot changed the title fix(app): surface archived inbox sessions that need attention feat(app): surface archived inbox sessions that need attention, and toggle archive Nov 25, 2026
opencodejr[bot]
opencodejr Bot reviewed Nov 25, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I ran the new e2e test on both branches. On the base it fails because the archived session stays hidden under the collapsed Archived section. With this PR it appears undimmed in Needs attention and goes back to a dimmed Archived row after form.replied. With the PR, the neighbouring inbox e2e tests pass and tsc -b in packages/app passes. The only other failure, the unrelated test at line 701 of tabs.spec.ts (an unread tab whose run failed shows the failed dot), times out on the base too.

Public API is unchanged; this only changes the web app's sidebar view logic.

No blocking concerns.

Before

After

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Brendan @opencode-agent
fix(app): session shortcuts work in the inbox sidebar
896ebe7
@opencode-agent opencode-agent Bot changed the title feat(app): surface archived inbox sessions that need attention, and toggle archive fix(app): inbox sidebar — archived sessions needing attention, archive toggle, session shortcuts Nov 25, 2026
opencodejr[bot]
opencodejr Bot reviewed Nov 25, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new commits work as described. The new e2e test fails on the base and passes with the PR. The existing ⌘⇧S archive test and the archived-inbox test still pass, and tsc -b in packages/app passes.

Public API is unchanged. The app gains a session.unarchive palette command with no default shortcut, and session.archive now also unarchives; neither touches the SDK, server, plugin or config.

One concern: on an archived session the palette shows a mislabelled Archive session entry (see inline).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/app/src/session/commands/use-session-commands.tsx
keybind: "mod+shift+s",
disabled: !archivable(),
onSelect: archiveSession,
// Toggles, so one shortcut archives a session and brings an archived one back.

@opencodejr opencodejr Bot Nov 25, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

session.archive is no longer disabled when the session is archived, and the palette lists every option that isn't disabled. So an archived session shows both Archive session and Unarchive session, and choosing "Archive session" actually unarchives it. Could the title follow the state, e.g. unarchivable() ? command.session.unarchive : command.session.archive? Another option is to hide this entry from the palette while the session is archived and keep only the keybind, since session.unarchive already covers the palette.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
opencodejr[bot]
opencodejr Bot reviewed Nov 25, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new commits work as described. The new inbox shortcut e2e test fails on the base and passes with the PR. The other inbox and ⌘⇧S e2e tests in tabs.spec.ts pass, apart from the failed-dot test at line 766, which also fails on the base. tsc -b in packages/app passes. The inbox reuses createSessionRowNavigation, and only one sidebar is mounted at a time, so the shortcut registrations don't clash.

Public API is unchanged.

The earlier point about the mislabelled Archive session palette entry on archived sessions is not addressed yet. No new concerns.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vimtor-anomaly @opencode-agent
test(app): readable spacing in archive and inbox e2e tests
9997a61
@vimtor
vimtor enabled auto-merge (squash) November 25, 2026 09:36
@vimtor
vimtor merged commit acce96c into dev Nov 25, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@vimtor
vimtor deleted the brendan/archived-needs-attention branch November 25, 2026 09:37
@amrkmn amrkmn mentioned this pull request Nov 26, 2026
opencode 2.4.2 amrkmn/homebrew-tap#1260
Closed
1 task
This was referenced Nov 26, 2026
feat: opencode release v2.4.2 sprisa/opencode-server#97
Merged
Tool release: OpenCode 2 v2.4.2 (was v2.3.2) agent-sh/agnix#1894
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencodejr opencodejr[bot] opencodejr[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@Brendonovich Brendonovich

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@Brendonovich @vimtor @vimtor-anomaly
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.