Repository navigation
refactor(ui): unify Workboard cards, lists, and controls - #143728
vyctorbrzezowski wants to merge 4 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 10, 2026, 4:11 AM ET / 08:11 UTC (Revision 9). ClawSweeper reviewWhat this changesUnifies Workboard cards and list rows, adds bulk and inline editing, and shares Control UI pickers, appearance controls, avatars, and session summaries. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 7 items remain Two previously reported defects remain on the unchanged head. The PR contains useful work absent from current main, remains maintainer-owned, and carries an explicit author-requested merge hold. Priority: P2 Review scores
Verification
How this fits togetherWorkboard is OpenClaw’s task board, combining stored cards with agent-session progress. Its browser plugin renders that information and sends operator edits through Gateway methods to the Workboard store. flowchart LR
A[Stored boards and cards] --> C[Workboard browser plugin]
B[Agent session updates] --> C
C --> D[Shared Control UI components]
D --> E[Cards lists and details]
E --> F[Operator edits]
F --> G[Gateway permission checks]
G --> A
Before merge
Findings
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the shared controls while using conflict-checked, position-only peer updates and preserving existing board colors, with focused concurrency and upgrade proof. Do we have a high-confidence way to reproduce the issue? Yes, from source: exhaust a position gap and change a queued peer’s status before its move request, or render an existing board with color teal. These PR-head failures were traced without executing target code. Is this the best way to solve the issue? The shared-component direction is reasonable, but the patch is not yet safe: position changes should preserve peer state, and generic appearance rendering should retain the board’s existing color contract. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d09401295626. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (8 earlier review cycles)
|
93d4150 to
c676af9
Compare
9d00bc4 to
c2bc034
Compare
c2bc034 to
31b24a1
Compare
Superseded by the Workboard stack
This work has been split into eight open PRs in native GitHub stack #144757, all assigned to @vyctorbrzezowski. Review from bottom to top:
The split preserves the approved Workboard UI and UX. Each layer includes its scoped validation and synthetic visual proof; #144756 records aggregate verification and remaining CI limitations. Nothing has been merged. This original PR is superseded; its branch and original description are retained for history.
Original description and historical evidence
What Problem This Solves
Workboard cards, list rows, filters, and session details present the same work inconsistently. Dense states repeat status information, narrow layouts crowd the controls, and list rows lose alignment as card content varies.
Why This Change Was Made
This refactor gives cards and list rows a consistent structure, centralizes session-state and alert presentation, and reuses platform dialogs, pickers, avatars, and appearance controls. It organizes board navigation, selection, bulk editing, and card details around those shared controls.
This PR tracks ongoing UI iteration. Please do not merge yet. The history is consolidated into four commits covering shared controls, Workboard presentation, preview fixtures, and action-state repairs.
User Impact
Evidence
A visual baseline was frozen on
93d4150569bbefore cleanup: 118 normal captures and 280 state-matrix captures, covering 1440/1920, light/dark, both densities, Kanban/list, independent All/Todo/Blocked filters, filter popovers, headers, hover, and representative dialogs. The matrix covers 168 combinations of state, alert, counters, and priority in every layout/theme/width/density combination.After rebasing onto current main, the matrix recapture has 278 byte-identical images and two raster-edge differences with zero standard non-AA pixels; every card position and dimension is unchanged. The raw full-frame comparison records main's separate sidebar icon change from puzzle to plug. Normal captures showed raster-edge differences and one original hover-transition intensity difference. A separate control using the original stylesheet sources and settled hover matched the final icon. The frozen baseline remains intact; no visual change caused by cleanup was found. Normal and matrix fixture JSON also match byte for byte after extraction.
Remote regression checks passed 324 focused unit tests, a 32-test page rerun after consolidating setup, both status-persistence E2Es, targeted plugin/UI lint, pinned formatting, and canonical asset generation. New tests reproduce stale bulk selections and board saves after permission revocation on the previous implementation, then pass with the repairs. The drag E2E explicitly targets another board's card and verifies the requested position and rendered order.
A fresh full-branch P0–P3 autoreview on
31b24a13881completed clean: both review passes returned zero findings. Exact-head CI passed build/assets, UI suites, E2E shards 1–12, real-Gateway suites, types, lint, architecture, and contract checks. The final general Node shard (checks-node-compact-small-27) is still running. The separate Chrome extension bootstrap test in E2E shard 13 failed while waiting for a newly created tab; its browser implementation and test files are unchanged by this PR. A commit precedes each review. Earlier review fixes also cover all-board drag ordering and dismissed results resurfacing after an error.Cleanup scope
Before:
93d4150569bagainst its pinned baseef37c4f3755. After:31b24a13881against rebased main4bf86a306c4. Each count excludes its upstream base; the rebase preserved the four patches. Moved fixture code is not counted as deleted functionality.Removed dead legacy CSS selectors, duplicate declarations, overwritten search padding, an unused avatar-title alias, an unused projected message role, and two redundant tests:
groups filters and counts active values without counting display preferences: stronger retained tests exercise actual card filtering, display preferences, and grouped filter counts.keeps empty input empty and preserves alerts when no badge is visible: retained state-table cases cover no-badge alerts and independent diagnostics; the empty case only mirrored filtering an empty array.The preview launcher is 1,054 lines shorter. Workboard data, matrix cells, and matrix sessions live with the UI fixture helpers; the opt-in plugin projection remains in the dev launcher layer to preserve the UI import boundary.
workboard.cssis 84 lines shorter. Two unused test helpers and duplicate menu-close handlers were also removed. The suggested 50% reduction was not reached: total additions increased by 185, with required formatter changes and verified regression coverage offsetting the removals. Moved code is structural cleanup, not deleted functionality.Kanban, light
List, dark
Risk and coverage
Shared Control UI pickers, dialogs, avatars, and plugin component contracts also change. Their affected consumers have regression coverage, and the final full-branch autoreview is clean. CI as a whole is not green: one Node shard remains in progress, and the separate Chrome bootstrap failure is recorded above. Tests, builds, and installs ran remotely; mock captures and focused tests are separate proof tiers. This does not claim a live-agent end-to-end run.