fix(sidebar): a viewed pane's tab and workspace read ready #21

Closed
gabrielgad wants to merge 1 commit from fix/tab-status-follows-seen-panes into fix/done-reads-idle-when-opened
Owner

Change

herdr's tab and workspace status is its roll-up of their panes. Where the bridge rewrites a pane (a viewed done reads idle), the tab kept done. rollUp in server/viewed-panes.ts recomputes them for the touched panes (blocked > working > done > idle). A re-reported done on a viewed pane now counts as seen.

Validation

bun run check fast passes. Unit tests cover seen plus working, seen only, rank and untouched tabs. The #10 contract test now checks the session's tab status and fails without the fix. Screenshots 412x900: the tab's Done dot stays before, clears after.

## Change herdr's tab and workspace status is its roll-up of their panes. Where the bridge rewrites a pane (a viewed done reads idle), the tab kept done. `rollUp` in `server/viewed-panes.ts` recomputes them for the touched panes (blocked > working > done > idle). A re-reported done on a viewed pane now counts as seen. ## Validation `bun run check fast` passes. Unit tests cover seen plus working, seen only, rank and untouched tabs. The #10 contract test now checks the session's tab status and fails without the fix. Screenshots 412x900: the tab's Done dot stays before, clears after.
fix(sidebar): a viewed pane's tab and workspace read ready
Some checks failed
CI / Native Windows install (pull_request) Has been cancelled
CI / Fast checks (pull_request) Has been cancelled
CI / Integration and browser (pull_request) Has been cancelled
Remote PC bundles / bundle (macos-15) (pull_request) Has been cancelled
Remote PC bundles / bundle (macos-15-intel) (pull_request) Has been cancelled
Remote PC bundles / bundle (ubuntu-24.04) (pull_request) Has been cancelled
Remote PC bundles / bundle (ubuntu-24.04-arm) (pull_request) Has been cancelled
Remote PC bundles / bundle-windows (pull_request) Has been cancelled
Remote PC bundles / ssh (pull_request) Has been cancelled
Remote PC bundles / smoke-windows (pull_request) Has been cancelled
Remote PC bundles / release (pull_request) Has been cancelled
9aeb7d50f4
A tab's and workspace's status is herdr's roll-up of its panes. Recompute it for those holding a pane rewritten here, and count a re-reported done on a viewed pane as seen.
Author
Owner

Before (tab opened, dot stays Done):

before

After (dot clears):

after

Before (tab opened, dot stays Done): ![before](https://git.gabeforge.com/attachments/34b756dd-0c2f-4e16-ae09-10813afd38dc) After (dot clears): ![after](https://git.gabeforge.com/attachments/e15bc737-09db-4890-8ba4-27fa7b7915b7)
gabrielgad closed this pull request 2026-10-22 14:57:24 -04:00
Some checks failed
CI / Native Windows install (pull_request) Has been cancelled
CI / Fast checks (pull_request) Has been cancelled
CI / Integration and browser (pull_request) Has been cancelled
Remote PC bundles / bundle (macos-15) (pull_request) Has been cancelled
Remote PC bundles / bundle (macos-15-intel) (pull_request) Has been cancelled
Remote PC bundles / bundle (ubuntu-24.04) (pull_request) Has been cancelled
Remote PC bundles / bundle (ubuntu-24.04-arm) (pull_request) Has been cancelled
Remote PC bundles / bundle-windows (pull_request) Has been cancelled
Remote PC bundles / ssh (pull_request) Has been cancelled
Remote PC bundles / smoke-windows (pull_request) Has been cancelled
Remote PC bundles / release (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gabrielgad/ovis-web-ui!21
No description provided.