Repository navigation
fix(sidebar): put the pane rows back as they were, without the new tab and split buttons - #327
Merged
Merged
Conversation
…b and split buttons
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (15)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This was referenced Oct 2, 2026
devswha
added a commit
that referenced
this pull request
Oct 2, 2026
## Change Prepares v0.3.43: `package.json` and `herdr-plugin.toml` go to 0.3.43, and the `[Unreleased]` notes move under `## [0.3.43] - 2026-10-02` with its compare link. What it ships: - the sidebar's rows as they were before 0.3.42, without the new tab and split buttons (#327); - the message box stays editable while the app reconnects (#318); - a second agent of the same kind starts from New session (#328, fixes #314). No new remote runtime: `REMOTE_BUNDLE_VERSION` stays 11. #328's server fix reaches a remote PC with the next runtime. ## Do not merge yet The maintainer releases this by hand. After the merge: `gh workflow run release.yml --ref main -f version=0.3.43` ## Validation `bun run typecheck`, `bun run test:unit` (1034 pass), `bun run build`.
devswha
added a commit
that referenced
this pull request
Oct 3, 2026
## Change Since #332 (0.3.44) every workspace has a numbered header in the By workspace view. **New session** makes a workspace with one pane, so a session run that way lists every workspace twice: a header and a row that say the same thing. Six one-pane workspaces took twelve lines where 0.3.43 took six. herdr's own TUI lists a workspace once, and the web UI has had no way to add a tab or a pane to a workspace since #327, so for these the header groups nothing. - **By workspace view:** a workspace with one pane is one row again, as it was up to 0.3.43. It has no header, number or fold, and the row carries the reorder handle. A workspace with several panes keeps its header. By folder is unchanged. - This reverses the single-pane part of #332 by @beomq. Folding, renaming and reordering from the header of a workspace with several panes stay as #332 left them. - **Line two of a merged row** names the workspace, since no header does, and the folder when neither the title nor the workspace already says it. Rows under a header keep the #358 rule. - **A fold stored in 0.3.44** for a one-pane workspace is ignored while the row is merged, because the row has no toggle to open it again. If that workspace later gets a second pane, its header comes back folded. - **Known cost, the same as in 0.3.43 and earlier:** a merged row cannot rename its workspace from the web UI. Renaming the pane still works. #332 gave this as a reason for the header. DESIGN.md and the changelog are updated. ## Validation - `scripts/directory-groups-regression.ts`: 7 PASS. For the two one-pane fixtures the workspace-mode step now asserts no `.workspace-header` and no `.workspace-toggle`, the drag handle on the row, and line two `<workspace> · project` (`<workspace>` alone when the shell is titled by its folder). It then stores a `workspace-collapsed` key for one of them, reloads and expects the row to be visible. **With the `!merged` guard taken out of `collapsed`, that step fails** (`waiting for locator('.pane-select[…]') to be visible`). - The same run's screenshots of the owned test session at 1280, 768 and 375 wide: a one-pane workspace is one row with the title on line one and the status chip and workspace name on line two, nothing clipped. The two-pane workspace keeps its header (`29 directory-regression-…`), and its rows name nothing on line two. No image is attached here. - `bun run generate:types --check`, `bun run typecheck`, `bun run build`: pass. - `bun run test:unit`: 1059 pass, 3 skip. - `bun scripts/ui-regression.ts`: 45 PASS, exit 0. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Why
0.3.42 added a new tab and a split button to the sidebar (#307). A pane row went from two actions to three or four, and the actions keep their width while hidden, so every pane's name and subtitle were cut 34 to 68 px shorter. The maintainer decided to drop both buttons and put the rows back as they were.
Change
POST /api/tab/createandPOST /api/pane/splitare removed with their client wrappers, protocol types, remote-PC allowlist entries, translations, demo answers and tests. Aremote-v11bridge still carries the two routes; nothing calls them.Validation
bun run typecheck,bun run test:unit(1031 pass),bun run generate:types --check,bun run build,bun run build:site.scripts/directory-groups-regression.ts: 7 steps pass. Same 1280 px screenshot before and after: a pane's name reads/tmp/herdr-web-ui-cod…where it read/tmp/herdr-….src/components/Sidebar.tsxandMachineSidebar.tsxhave no diff against the commit before feat(sidebar): open new tabs and split panes from the sidebar #307.