Skip to content

feat: add Code/Cowork session options and fix copy button position#159

Merged
GCWing merged 1 commit intomainfrom
gcwing/dev
Mar 15, 2026
Merged

feat: add Code/Cowork session options and fix copy button position#159
GCWing merged 1 commit intomainfrom
gcwing/dev

Conversation

@GCWing
Copy link
Owner

@GCWing GCWing commented Mar 15, 2026

Changes

  • Add New Code session and New Cowork session menu items in WorkspaceItem for non-Assistant workspaces
  • Support explicit mode param in handleCreateSession for agentic / Cowork / Claw
  • Remove forced color on split-right button in NavPanel
  • Fix copy button position for multi-line code blocks\n- Keep vertically centered copy button for single-line code blocks via code-block-wrapper--single-line CSS class
  • Add i18n keys newCodeSession / newCoworkSession (en-US, zh-CN)

- Add newCodeSession and newCoworkSession menu items in WorkspaceItem
- Support mode param in handleCreateSession for agentic/Cowork/Claw
- Remove forced color on split-right button in NavPanel
- Fix copy button position for multi-line code blocks (top: 0.35rem)
- Keep centered copy button for single-line code blocks via new CSS class
- Add i18n keys for newCodeSession and newCoworkSession (en-US, zh-CN)

Generated with BitFun

Co-Authored-By: BitFun
@GCWing GCWing merged commit 966f3ee into main Mar 15, 2026
1 check passed
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