feat(web): align session action menus#1061
Merged
Merged
Conversation
There was a problem hiding this comment.
Findings
None.
Summary
Review mode: initial
No issues found in the added/modified lines. Residual risk: static review only because local automation could not start in this runner.
Testing
Not run (automation: bun not found when attempting bun run --cwd web test src/components/SessionList.directory-action.test.tsx src/components/SessionActionMenu.test.tsx and bun run typecheck:web).
HAPI Bot
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.
Summary
Align the session-list context menu with the active session header by making Export conversation available from both entry points.
The lifecycle-specific actions remain intentionally different:
Motivation
The session header already allows exporting both running and closed conversations, while the session-list context menu omits the export action. Users therefore have to open a conversation before they can export it, and the two menus expose different actions for the same session state.
Changes
SessionExportDialogto accept asessionIdinstead of a fullSessionobject.This PR is intentionally separate from #1060. It only closes the pre-existing export-action gap between the two menus; #1060 adds Copy resume command to both surfaces independently.
Testing
bun typecheckbun run typecheck:webbun run test:webbun run --cwd web test src/components/SessionList.directory-action.test.tsx src/components/SessionActionMenu.test.tsxgit diff --checkbun run testwas also attempted on Windows. The CLI suite exhausted the Bun process heap incodexRemoteLauncher.test.tswhile the runner integration suite was still executing; the web suite and all checks relevant to this web-only change pass.AI disclosure
Implementation and tests were produced with OpenAI Codex (GPT-5.6).