Skip to content

fix(sidebar): a late new tab or split answer leaves the selection made on another PC, and a sent dictation leaves the terminal line - #321

Merged
devswha merged 1 commit into
mainfrom
fix/cross-pc-selection-and-terminal-dictation
Oct 2, 2026
Merged

devswha merged 1 commit into
mainfrom
fix/cross-pc-selection-and-terminal-dictation

Conversation

@devswha

@devswha devswha commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Change

Two defects a pre-release review found in features merged today and not yet released, so there is no changelog entry.

  • Sidebar, new tab and split (feat(sidebar): open new tabs and split panes from the sidebar #307): the guard that keeps a late answer from taking the selection compared this PC's selected pane. That value is null for as long as another PC is open, so picking a pane on PC A after clicking New tab or Split on PC B still switched the app to PC B. The guard now compares what the app has open on any PC (selection, passed by MachineSidebar).
  • Terminal input line, dictation (feat(voice): dictate into the chat composer and the terminal input line #231): a polish that landed between a send and its acknowledgement changed the line, and the acknowledgement then kept it as text typed meanwhile, so a sent command stayed in the line. send now forgets a pending polish, as the chat composer already does.

Validation

  • bun run typecheck, bun run test:unit (1031 pass), bun run build, bun run build:site.
  • No new test: both are component code, and this repo has no DOM test environment. The first needs two PCs and the second a microphone, which the browser regression cannot stage.

…e on another PC, and a sent dictation leaves the terminal line
@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown

Review in Change Stack →

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 configuration

Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: e315180c-8ab6-4c07-aeaa-d477f4498951

📥 Commits

Reviewing files that changed from the base of the PR and between 70e239b and e4a1422.

📒 Files selected for processing (3)
  • src/components/MachineSidebar.tsx
  • src/components/Sidebar.tsx
  • src/components/TerminalInput.tsx
 __________________________________________________________________________________
< This is the beginning of a beautiful friendship...between you and bug-free code. >
 ----------------------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 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

Autopilot is currently an internal CodeRabbit preview.


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

@devswha
devswha merged commit 5a85e4a into main Oct 2, 2026
2 of 3 checks passed
@devswha
devswha deleted the fix/cross-pc-selection-and-terminal-dictation branch October 2, 2026 12:28
devswha added a commit that referenced this pull request Oct 2, 2026
…b and split buttons (#327)

## 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

- The sidebar is the file it was before #307, with folder grouping
(#299) kept: no new tab button on a workspace or a lone pane's row, no
split button.
- `POST /api/tab/create` and `POST /api/pane/split` are removed with
their client wrappers, protocol types, remote-PC allowlist entries,
translations, demo answers and tests. A `remote-v11` bridge still
carries the two routes; nothing calls them.
- The terminal input line fix from #321 stays.

## 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.tsx` and `MachineSidebar.tsx` have no diff
against the commit before #307.
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