Skip to content

fix(ui): the sidebar + is New workspace, not New session - #389

Merged
devswha merged 3 commits into
mainfrom
fix/new-workspace-wording
Oct 3, 2026
Merged

devswha merged 3 commits into
mainfrom
fix/new-workspace-wording

Conversation

@devswha

@devswha devswha commented Oct 3, 2026

Copy link
Copy Markdown
Owner

What

The + on a PC's header, the empty-PC button, the command palette action and the Settings → Shortcuts row were called New session. They create a herdr workspace, so they are now New workspace (ko 새 워크스페이스, ja 新しいワークスペース, zh 新建工作区).

Why

  • "Session" already means the herdr server session in this app ("herdr session name", "Default session").
  • Since tabs shipped in v0.3.46 the pair reads New workspace / New tab, and the name says what the + makes.

Details

  • The dialog is shared with New tab, so its own buttons are neutral now: Start, Open (after an agent failed to start) and Close dialog, where they were Start session, Open session and Close new session dialog in both forms.
  • Wording only. The shortcut id new-session, the herdr-web-ui:new-session-agent storage key, the component and its CSS classes keep their names, so saved shortcut overrides and the remembered agent hold.
  • README (four languages), docs/guide.md, docs/terminal-input.md, docs/foldable-testing.md and DESIGN.md follow.

Tests

  • bun run typecheck
  • bun test src: 445 pass
  • bun run test:ui: pass (the New workspace and New tab dialog steps included)
  • scripts/machines-browser-qa.ts was updated for the new names but not run

🤖 Generated with Claude Code

devswha and others added 2 commits October 3, 2026 21:44
It creates a herdr workspace, and "session" already means the herdr
server session here. The dialog's own buttons are Start, Open and Close
dialog in both of its forms, New workspace and New tab. The shortcut id
and the remembered-agent key keep their names, so saved settings hold.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 20df5f3a-2676-4275-8b4c-f069364e3b18
📥 Commits

Reviewing files that changed from the base of the PR and between 0deb314 and 8496a67.

📒 Files selected for processing (1)
  • scripts/ui-regression.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.


📝 Summary

Summary by CodeRabbit

  • Updates
    • Renamed “New session” to “New workspace” across the app, including the PC header, empty-sidebar action, command palette, keyboard shortcuts, and creation dialog.
    • Updated dialog actions to “Start,” “Open,” and “Close dialog.”
    • Updated guides and instructions in English, Japanese, Korean, and Simplified Chinese. Shortcuts and saved settings remain unchanged.

Walkthrough

Creation actions now use “New workspace” labels, and the dialog buttons use “Start,” “Open,” and “Close dialog.” Shortcut bindings and action callbacks remain unchanged. Localizations, browser checks, and documentation reflect the label updates.

Changes

Workspace labels and checks

Layer / File(s) Summary
Update creation labels
src/components/*, src/lib/i18n.*.ts, src/lib/shortcuts.ts, src/lib/shortcuts.test.ts
Creation actions and dialog labels use workspace terminology. Localized labels and the shortcut display name are updated. The shortcut binding and callbacks are unchanged.
Align checks and documentation
scripts/*, CHANGELOG.md, DESIGN.md, README*.md, docs/*
Browser checks and supporting documentation use the updated labels. Existing creation and dismissal assertions remain in place.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: haeminway1, nahwan-kim

Merge Risk: ⚪ Minimal · up to 8496a

This change updates creation labels and matching documentation and checks without changing the underlying actions; no material merge risk is evident.

Architecture Summary

Architecture risk: 🔵 Low · up to 8496a

The change affects 9 systems.

Changed systems: src, docs, scripts, CHANGELOG.md, DESIGN.md, README.ja.md, README.ko.md, README.md, README.zh-CN.md

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — src (service) was modified; 9 changed files map to changed impact.
  • observed — docs (service) was modified; 3 changed files map to changed impact.
  • observed — scripts (service) was modified; 2 changed files map to changed impact.
  • observed — CHANGELOG.md (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in CHANGELOG.md: Added an Unreleased “Changed” entry documenting the New session to New workspace label changes, dialog button labels for both forms, and unchanged shortcut and saved settings.
  • observed — Modified behavior in DESIGN.md: The sidebar description changes the PC-header + and empty-PC action from creating a session to creating a workspace.
  • observed — Modified behavior in DESIGN.md: The dialog heading changes from “New session dialog” to “New workspace dialog.”
  • observed — Modified behavior in DESIGN.md: The command-palette action list changes “new session” to “new workspace.”
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 11 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main UI change: the sidebar action is labeled “New workspace” instead of “New session.”
Description check ✅ Passed The description explains the change, its rationale, affected labels, compatibility considerations, and test results. It does not include the screenshot or recording requested for UI changes.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@devswha
devswha merged commit 972081b into main Oct 3, 2026
8 of 10 checks passed
@devswha
devswha deleted the fix/new-workspace-wording branch October 3, 2026 13:04
devswha added a commit that referenced this pull request Oct 3, 2026
Bumps package.json and herdr-plugin.toml to 0.3.47, moves the Unreleased
notes under [0.3.47] - 2026-10-03 (the two Fixed lists folded into one),
and adds the compare link. Raises the remote PC bundle to 14 (new
routes: `/api/tab/rename`, `/api/tab/close`): push the `remote-v14` tag
and let the bundle workflow publish before running release.yml.

Carries #374, #388, #389, #390, #391, #392, #394, #395.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.1 <[email protected]>
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