Skip to content

refactor(workboard): organize navigation and mobile controls - #144751

Merged
vyctorbrzezowski merged 25 commits into
refactor/workboard-controlsfrom
refactor/workboard-navigation
Sep 13, 2026
Merged

vyctorbrzezowski merged 25 commits into
refactor/workboard-controlsfrom
refactor/workboard-navigation

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The Workboard toolbar crowds narrow screens, and an active agent filter can become impossible to clear after the roster shrinks to one agent.

Layer 3 of the eight-PR Workboard stack, split from #143728; based on refactor/workboard-controls.

Why This Change Was Made

Adapt status navigation and agent filtering to available width, retaining a removable active scope even when only one agent remains. Keep Refresh and Start agents compact and New card primary. Use global input styles while retaining Workboard-specific field dimensions.

User Impact

Operators can recover All agents from both existing and missing historical scopes without losing access to search, statuses, and actions.

Evidence

  • Candidate cc66feead6daefea52f46783ab9b18afc1e69256; stack base ac59d5e09eb468dc23cf95e447608b57e71b52af. The stack includes the upstream fixes in #147240 and #147293. All eight rebased trees match their expected merges with main.
  • Final AWS integration validation on stack top d67457df passed 524 tests, four production/test type checks, and all eight canonical Workboard asset builds. Tests cover QA routing (1 selected case), QA run status (37), UI units (389), isolated ChatPane lifecycle (75), modal browser behavior (9), and native plugin UI/titlebar flows (13). All generated manifests match the committed assets. Original assertions, timeouts, and browser harness were preserved.
  • Earlier AWS integration validation passed 570 tests on top 8de11a6, covering store/Gateway deletion, rollback, concurrent recreation, stale revisions, cleanup receipts, menus, views, and bulk actions. It also passed four type checks, all eight asset builds, and the CI build. The later rebase changed no Workboard or Workboard-contract source; the final run above covers the shared UI integration changes. Test totals overlap and are not additive.
  • All eight layer diffs and subsequent repairs received Codex review. The final shared-UI review raised one P2 about main's intentionally removed floating customization control (#147245). Source and documentation explicitly place recovery at /plugins, which always renders the built-in workspace; the native plugin UI tests exercise that route. This is unchanged by the Workboard stack and was rejected as a stack blocker. The original finding is retained in the review record. ClawSweeper has also reviewed all eight current heads and reported no code findings; no formal changes-requested review or unresolved review thread remains.
  • The base layer also fixes a CI prerequisite selector: the native-grep session projection test now requests ripgrep installation. Focused AWS validation proved the real workflow selector changes from false to true for that case, preserved existing siblings, passed three workflow guard tests, and received a clean scoped review. Full CI remains the required integration gate.
  • Matching-package and stable 2026.9.4 upgrade proof passed on earlier top 73482ef: host/Workboard integration, appearance Save/Reset, deletion conflicts, and settled card/event/metadata/session identity after package replacement, Doctor, and restart. These are earlier checks; they do not establish active-run migration or updater orchestration.
  • Exact-head GitHub CI and the required openclaw/ci-gate passed. All eight candidate heads have passing CI; preflight logs confirm that each actual checkout contains its expected head, main ac59d5e0, and the fix(ci): tooling shard fails on QA Profile Evidence routing after #143968 #147293 correction. Native merge readiness is verified again immediately before landing.

Risk and coverage

Coverage includes responsive status selection, scope recovery after roster changes, filter clearing, search, and action availability. Absolutely captures below cover narrow controls at 390 px and 320 px.

Visual stress evidence

Shared Workboard design preview for all eight PRs, captured September 13 in the internal browser using Absolutely (dark) and synthetic Workboard fixtures. Desktop: 1440 × 1000; mobile: 390 × 844, plus a 320 px boundary check. Every image was inspected before upload.

Before: main bundle 5a2677c. After: combined stack bundle 58771ec, loaded into the same existing mock host using browser resource overrides. These are inspected captures of the design revision, shared across all eight PRs. Later repairs changed lifecycle/recovery behavior without changing Workboard CSS; the final rebase preserved Workboard sources. The earlier captures do not claim to show main's subsequent shared-modal or native-titlebar changes, which have separate functional coverage above. A repeat capture was unavailable because the browser controller rejected the session authentication method.

Desktop board

Before After
Desktop board before Desktop board after

Product Operations on mobile

Before After
Product Operations on mobile before Product Operations on mobile after

List layout: priority first, session and status together

Absolutely desktop list with priority first and grouped session status
Responsive and interaction stress cases
Mobile list 320 px: short New label
Mobile list 320 pixel layout with New label
Filters Multiple selected statuses
Mobile filters with Agent and layout controls Ready and Running selected with readable status names

Group header disclosure

Todo group collapsed by its header
Template editor Bulk edit by keyboard Applied result
Release template editor with visible Create button Four cards with High priority selected by keyboard Applied to four of four cards and selection cleared

Exercised: status filtering, list/column switching, header collapse, long-title and label wrapping, template fill/discard, selection of four cards, keyboard priority choice, and bulk application with the visible “Applied to 4 of 4 cards” result. The New label was also checked at 401 px, where New card remains visible.

Editors, board appearance, and card details

Card details on desktop

Before After
Before: long card and session in one drawer After: card overview separated from Session

Card details on mobile

Before After
Before: mobile card with dense session details After: mobile overview with long title and multilingual labels

Session tab

Desktop Mobile
Desktop Session tab with recent messages and completed status Mobile Session tab with recent messages and completed status

New card with the Release template

Before After
Before: desktop Release template form After: compact desktop Release template editor

Board appearance

Before: board without an editor After: appearance editor
Before: Product Operations board without an Edit board entry After: board appearance editor with blue rocket preview

Unsaved draft confirmation

After: unsaved Release draft with Keep editing and Discard actions

The same synthetic Release template was used before and after. Before, Cancel closed the populated form immediately; after, it opened this confirmation. Keep editing retained the populated fields, and Discard closed the draft. The old bundle has no board appearance editor; the comparison above shows its board rather than inventing a prior dialog. In the new editor, changing the color and icon updated the preview, and Cancel preserved the saved board. The desktop and mobile Session tabs were opened from the same rich card.

@vyctorbrzezowski vyctorbrzezowski self-assigned this Sep 11, 2026
@clawsweeper

clawsweeper Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vyctorbrzezowski
vyctorbrzezowski force-pushed the refactor/workboard-navigation branch from e47444e to 9023c7b Compare September 11, 2026 07:17
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 11, 2026
@clawsweeper

clawsweeper Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 3:47 PM ET / 19:47 UTC (Revision 15).

ClawSweeper review

What this changes

Reorganizes Workboard navigation with combined filters, expandable search, compact mobile actions, and agent controls that remain clearable after roster changes.

Merge readiness

✅ Ready for maintainer review

This remains useful, maintainer-owned work that current main has not absorbed. No blocking defect was found in the introduced navigation changes, and the inspected visual evidence supports the layout improvement.

Priority: P2
Reviewed head: cc66feead6daefea52f46783ab9b18afc1e69256

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful visual proof and focused regression coverage support a coherent patch with no identified blocking defect.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected desktop and mobile before/after browser captures show the changed Workboard navigation and recoverable agent chip using synthetic fixtures in the combined stack; focused page regressions supplement the scope-recovery claim, without implying live dispatch proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected desktop and mobile before/after browser captures show the changed Workboard navigation and recoverable agent chip using synthetic fixtures in the combined stack; focused page regressions supplement the scope-recovery claim, without implying live dispatch proof.
Evidence reviewed 10 items Pinned scope and active ownership: The live REST response confirms this PR remains open at the reviewed head, targets refactor/workboard-controls, and is assigned to its MEMBER author. The supplied introduction evidence identifies the reviewed merge-base-to-head delta; the stale test merge was not used to infer removals from main.
Recoverable agent scope: The page retains a picker whenever a scope is active, adds an option for a missing historical agent, and clears selection through host.agents.setScope(null). Page regressions cover both surviving and removed agents after the roster shrinks.
Presentation-state and API boundaries: Filter state remains in the existing WeakMap-backed browser runtime. The select-picker API and compact agent-picker variant already exist in the pinned base; this layer consumes those contracts without adding a public API, persistent schema, or authorization owner.
Findings None None.
Security None None.

How this fits together

Workboard is OpenClaw’s optional board for tracking agent work. Its browser interface combines Gateway cards and agent information with local view filters, then sends operator actions through the existing host services.

flowchart LR
  A[Gateway cards and tasks] --> C[Workboard page]
  B[Host agent selection] --> C
  C --> D[Local search and filters]
  D --> E[Responsive board and controls]
  E --> F[Existing host actions]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +1569, Tests +161, Other -1. Total +1729 across 22 files.

View PR surface stats
Area Files Added Removed Net
Source 16 2238 669 +1569
Tests 5 657 496 +161
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 1 -1
Total 22 2895 1166 +1729

Review metrics

Metric Value Why it matters
Production versus test growth Production +1,569 net lines, including CSS; tests +161 net lines Production growth primarily supports the responsive layout and combined controls demonstrated in the visual evidence.

Technical review

Best possible solution:

Keep responsive controls in the Workboard plugin, with host-owned agent selection and a single local filtering implementation.

Do we have a high-confidence way to reproduce the issue?

Yes: the supplied mobile baseline demonstrates toolbar crowding, and source plus focused page regressions establish the roster-shrink scenario; those regressions were not rerun here.

Is this the best way to solve the issue?

Yes: the patch extends the existing Workboard view and shared host controls while preserving global agent selection and avoiding persistent-state migration.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 19d1e824ada8.

Labels

Label justifications:

  • P2: This improves navigation and scope recovery within the optional Workboard interface without an urgent core-runtime failure.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected desktop and mobile before/after browser captures show the changed Workboard navigation and recoverable agent chip using synthetic fixtures in the combined stack; focused page regressions supplement the scope-recovery claim, without implying live dispatch proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected desktop and mobile before/after browser captures show the changed Workboard navigation and recoverable agent chip using synthetic fixtures in the combined stack; focused page regressions supplement the scope-recovery claim, without implying live dispatch proof.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected desktop and mobile before/after browser captures show the changed Workboard navigation and recoverable agent chip using synthetic fixtures in the combined stack; focused page regressions supplement the scope-recovery claim, without implying live dispatch proof.

Evidence

What I checked:

  • Pinned scope and active ownership: The live REST response confirms this PR remains open at the reviewed head, targets refactor/workboard-controls, and is assigned to its MEMBER author. The supplied introduction evidence identifies the reviewed merge-base-to-head delta; the stale test merge was not used to infer removals from main. (cc66feead6da)
  • Recoverable agent scope: The page retains a picker whenever a scope is active, adds an option for a missing historical agent, and clears selection through host.agents.setScope(null). Page regressions cover both surviving and removed agents after the roster shrinks. (extensions/workboard/browser/pages/workboard/workboard-page.ts:253, cc66feead6da)
  • Presentation-state and API boundaries: Filter state remains in the existing WeakMap-backed browser runtime. The select-picker API and compact agent-picker variant already exist in the pinned base; this layer consumes those contracts without adding a public API, persistent schema, or authorization owner. (extensions/workboard/browser/lib/workboard/runtime.ts:41, cc66feead6da)
  • Existing shared picker contract: The pinned base already declares mountSelectPicker and the compact agent-picker variant, so their use is not a plugin API expansion introduced by this PR. (src/plugin-sdk/control-ui-components.ts:104, 96ccfa94e00b)
  • Current main still has the prior navigation: Current main retains the separate content header and prior agent-filter arrangement. The related merged chat-lifecycle, customization, and CI fixes do not implement this navigation redesign. (extensions/workboard/browser/pages/workboard/workboard-page.ts, 19d1e824ada8)
  • Latest-release comparison: The v2026.9.4 runtime still uses the single priority filter and viewPreset state, rather than this branch’s combined filter state. No merged replacement for this layer was established. (extensions/workboard/browser/lib/workboard/runtime.ts, 3a9d69db306c)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Solvely-Colin: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (14 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-13T01:52:54.229Z sha e5d4d33 :: blocked before merge. :: none
  • reviewed 2026-09-13T02:02:32.009Z sha e5d4d33 :: blocked before merge. :: none
  • reviewed 2026-09-13T04:50:47.151Z sha acde594 :: blocked before merge. :: none
  • reviewed 2026-09-13T05:21:36.561Z sha 8ccb2ec :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T05:32:37.915Z sha 8ccb2ec :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T05:56:50.247Z sha ac13be6 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T18:31:45.346Z sha f9abd81 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T19:04:22.738Z sha f9abd81 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot removed the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Sep 12, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the refactor/workboard-navigation branch from 16368f6 to c9dec87 Compare September 13, 2026 00:38
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 13, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the refactor/workboard-navigation branch from c9dec87 to e5d4d33 Compare September 13, 2026 01:07
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 13, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the refactor/workboard-navigation branch from e5d4d33 to acde594 Compare September 13, 2026 04:21
@vyctorbrzezowski
vyctorbrzezowski force-pushed the refactor/workboard-navigation branch from 71ae5da to 8ccb2ec Compare September 13, 2026 05:13
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 13, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the refactor/workboard-navigation branch from 32aaf28 to cc66fee Compare September 13, 2026 19:33
@vyctorbrzezowski
vyctorbrzezowski merged commit ac80c51 into main Sep 13, 2026
161 of 162 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the refactor/workboard-navigation branch September 13, 2026 20:11
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
…w#144751)

* refactor(ui): organize Workboard navigation and responsive filters

* test(ui): verify Workboard navigation through current controls

* fix(ui): preserve mobile scrolling and recover historical Workboard scope

* chore(workboard): align navigation formatting and assertion baseline

* fix(workboard): hide dispatch feedback while a dialog is open

* fix(workboard): surface refresh failures in error feedback

* refactor(workboard): mount selection controls with navigation

* build(workboard): refresh navigation assets

* refactor(workboard): retire navigation helpers with their consumers

* style(workboard): format navigation exports

* build(workboard): refresh navigation assets after helper cleanup

* test(workboard): introduce filter flows with navigation

* test(workboard): wait for initial cards before empty proof

* fix(workboard): refine narrow navigation and filter scope

* style(workboard): format mobile status controls

* build(workboard): refresh navigation assets

* fix(workboard): retain recoverable agent scope controls

* build(workboard): refresh navigation assets

* refactor(workboard): centralize toolbar status messages

* chore(workboard): format sources and refresh browser assets

* refactor(workboard): keep refresh formatter private

* fix(workboard): import navigation helper state type

* fix(workboard): use shared inputs in navigation layer

* chore(workboard): refresh navigation browser assets

* fix(workboard): shorten new card label on narrow screens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. plugin: workboard proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant