Skip to content

feat(tabs): add opt-in redesigned session tabs - #77

Merged
luoxuanzao merged 1 commit into
mainfrom
feat/session-tab-redesign
Sep 20, 2026
Merged

luoxuanzao merged 1 commit into
mainfrom
feat/session-tab-redesign

Conversation

@luoxuanzao

Copy link
Copy Markdown
Member

Summary

  • Adds an opt-in New session tabs interaction behind a new switch in Settings → Experimental (off by default); with it off everything behaves exactly as before.
  • With the switch on, session tabs show the conversation title with a hover close button, new sessions and conversations picked from history open in their own tab instead of replacing the active one (at the tab limit a notice points at the setting that raises it), and the row scrolls — following the active session — instead of squeezing every tab. The new-conversation button that reset the active tab and its New session (in current tab) command stay out of the way; /clear still resets the current session.
  • Why: numbered tabs are unreadable and the new-conversation button silently replaced the active session; the switch keeps this a no-risk opt-in.

Verification

  • npm run typecheck
  • npm run lint
  • npm run test (169 suites / 3593 tests)
  • npm run build
  • npm run release:check
  • npm run audit:prod (0 vulnerabilities)
  • Tested affected qodercli behavior against a real CLI when applicable — N/A, UI/tab behavior only
  • Real device: Obsidian 1.13.7 dev vault over CDP — switch off: numbered tabs, pencil button, history replaces the active tab; switch on (toggled through the settings UI): titles + hover ×, history opens a new tab, limit notice; measured geometry 24×24 (legacy) vs 180/138×30 (pills).

Safety

  • No credentials, private vault content, internal URLs, or personal paths are included
  • User-visible changes are documented in CHANGELOG.md

Session tabs above the composer can show the conversation title with a hover
close button, open new sessions and conversations picked from history in their
own tab instead of replacing the active session, and scroll horizontally
instead of squeezing when many sessions are open.

The interaction sits behind a new "New session tabs" switch in Settings →
Experimental (off by default), so the numbered tabs, the new-conversation
button, and the current history behavior stay unchanged unless it is enabled.
With the switch on, the new-conversation button and its `New session (in
current tab)` command stay out of the way; /clear still resets the current
session.

Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
@luoxuanzao
luoxuanzao merged commit 02a8c46 into main Sep 20, 2026
10 checks passed
@luoxuanzao
luoxuanzao deleted the feat/session-tab-redesign branch September 20, 2026 12:24
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