Skip to content

refactor(workboard): simplify cards and session status - #144752

Merged
vyctorbrzezowski merged 24 commits into
refactor/workboard-navigationfrom
refactor/workboard-cards
Sep 13, 2026
Merged

vyctorbrzezowski merged 24 commits into
refactor/workboard-navigationfrom
refactor/workboard-cards

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Card metadata competes with titles and session identity. Making room for a drop can also overwrite a neighboring card’s status after another client changes it.

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

Why This Change Was Made

Use one hierarchy for title, session/agent, labels, counters, priority, and time. Shift neighboring positions with position-only updates guarded by their observed update timestamp, and reload canonical state after an ambiguous acknowledgement, including a drop that sends only one request. Further writes wait for that recovery. Match that contract in the serialized mock adapter: persist position patches, advance update timestamps, and reject stale guarded edits without changing cards or emitting change events. Recovery from an uncertain move acknowledgement applies the full canonical card state even when a comment draft is open, preserving the draft and restoring writes after a successful reload.

User Impact

Cards remain easier to scan, and rearranging them preserves independently updated neighboring statuses.

Evidence

  • Candidate ac357617daa015daa1e81c87c29222e25790ecdb; 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 per-card conflicts, partial-drop recovery, widget recovery, and touch target measurement. This layer retains the existing automation entry through list/editors; details (#144755) replaces it. The integrated assets must preserve that handoff.

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.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui scripts Repository scripts plugin: workboard size: XL maintainer Maintainer-authored PR labels Sep 11, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the refactor/workboard-cards branch 2 times, most recently from 768a4ff to da2659f Compare September 11, 2026 07:17
@vyctorbrzezowski
vyctorbrzezowski force-pushed the refactor/workboard-cards branch 4 times, most recently from bfc890a to 4b83696 Compare September 11, 2026 07:49
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. 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 16).

ClawSweeper review

What this changes

The PR reorganizes Workboard cards and session indicators, consolidates controls and feedback, and adds guarded drag ordering with recovery after uncertain acknowledgements.

Merge readiness

✅ Ready for maintainer review

The work remains useful on current main and belongs to an active, maintainer-authored stack. No blocking introduced defect was identified.

Priority: P2
Reviewed head: ac357617daa015daa1e81c87c29222e25790ecdb

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Clear visual comparisons, focused recovery coverage, and reuse of existing owners support a strong review with no actionable blocking findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected desktop/mobile browser captures demonstrate the changed Workboard card hierarchy using synthetic data in the combined stack. They support visual behavior, not acknowledgement-loss recovery; the member-authored PR’s recovery tests and reported integration/upgrade runs are separate supporting evidence.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected desktop/mobile browser captures demonstrate the changed Workboard card hierarchy using synthetic data in the combined stack. They support visual behavior, not acknowledgement-loss recovery; the member-authored PR’s recovery tests and reported integration/upgrade runs are separate supporting evidence.
Evidence reviewed 10 items Pinned change ownership: The local checkout matches the supplied original head. The reviewed delta is the verified merge-base-to-head change; the stale test merge was not used to infer removal of main-branch behavior.
Canonical move recovery: Neighbor updates contain only position and the observed update timestamp. Any failed acknowledgement blocks subsequent writes and requests a full canonical reload while preserving the error.
Recovery regression coverage: Source-reviewed cases cover concurrent peer completion, partial and single-request acknowledgement loss, failed reloads, preserved comment drafts, and resumed comment submission after successful recovery. Tests were not executed during this read-only review.
Findings None None.
Security None None.

How this fits together

Workboard is OpenClaw’s task-board plugin. Its browser views combine Gateway card records and session activity, then send operator edits back through existing Gateway methods.

flowchart TD
  A[Gateway cards and sessions] --> B[Workboard browser state]
  B --> C[Cards and session indicators]
  C --> D[Operator drag or edit]
  D --> E[Guarded Gateway updates]
  E --> F{Acknowledgement received?}
  F -->|Yes| B
  F -->|Uncertain| G[Block writes and reload canonical state]
  G --> B
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +1585, Tests +1242, Other +178. Total +3005 across 56 files.

View PR surface stats
Area Files Added Removed Net
Source 35 4083 2498 +1585
Tests 18 1822 580 +1242
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 3 196 18 +178
Total 56 6101 3096 +3005

Review metrics

Metric Value Why it matters
TypeScript growth by responsibility Production net +1,295; tests/support net +1,242; tooling net +181; CSS excluded Production growth supplies card presentation, feedback lifetimes, and move recovery rather than only rearranging existing code.
Initial layout 1 default changed: compact → comfortable This changes newly created browser state; the inspected path does not migrate or overwrite a persisted preference.

Technical review

Best possible solution:

Keep card presentation plugin-owned, reuse host controls, and reconcile uncertain edits through the canonical Gateway state while preserving drafts.

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

Yes, source establishes a concrete recovery case: a move commits but its acknowledgement is lost, leaving main’s cached card unchanged. The branch covers this with focused regression scenarios; this review did not execute them.

Is this the best way to solve the issue?

Yes. Position-only guarded peer updates and reuse of the existing canonical reload owner are a narrow repair, while shared host controls avoid another plugin component implementation.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P2: This is a bounded Workboard usability improvement with meaningful concurrent-edit and recovery protection.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected desktop/mobile browser captures demonstrate the changed Workboard card hierarchy using synthetic data in the combined stack. They support visual behavior, not acknowledgement-loss recovery; the member-authored PR’s recovery tests and reported integration/upgrade runs are separate supporting evidence.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected desktop/mobile browser captures demonstrate the changed Workboard card hierarchy using synthetic data in the combined stack. They support visual behavior, not acknowledgement-loss recovery; the member-authored PR’s recovery tests and reported integration/upgrade runs are separate supporting evidence.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected desktop/mobile browser captures demonstrate the changed Workboard card hierarchy using synthetic data in the combined stack. They support visual behavior, not acknowledgement-loss recovery; the member-authored PR’s recovery tests and reported integration/upgrade runs are separate supporting evidence.

Evidence

What I checked:

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 (15 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-13T02:03:03.973Z sha b7fec22 :: blocked before merge. :: none
  • reviewed 2026-09-13T04:50:16.835Z sha 4a09466f26b96e006b402b59fe016f7682bf11d5 :: blocked before merge. :: none
  • reviewed 2026-09-13T05:22:13.388Z sha f40cb79 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T05:56:24.518Z sha 68bac28 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T18:03:57.729Z sha 68bac28 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T18:32:01.919Z sha f3ba20f :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T19:05:32.424Z sha f3ba20f :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T19:27:34.144Z sha a3e08794a09f67d289d093d92b9eb2a6c1bb121d :: needs maintainer review before merge. :: none

@vyctorbrzezowski
vyctorbrzezowski force-pushed the refactor/workboard-cards branch 2 times, most recently from 49ea5a5 to d27d7d5 Compare September 11, 2026 08:20
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 12, 2026
@clawsweeper clawsweeper Bot added the rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. label Sep 13, 2026
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 13, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit d626e5f into main Sep 13, 2026
173 of 174 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the refactor/workboard-cards branch September 13, 2026 20:11
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
* refactor(ui): organize Workboard cards and session status

* fix(ui): retain one selectable agent declaration after layer rebase

* test(ui): align staged card proof with legacy detail rendering

* fix(workboard): recover partial card moves and column creation

* test(workboard): exercise column creation in a visible scoped column

* fix(workboard): refresh relative card times while idle

* test(workboard): isolate clock count from selection events

* style(workboard): format card clock regression

* fix(workboard): retain move failures after load recovery

* fix(workboard): honor widget board scope in empty columns

* build(workboard): refresh card assets and format regression

* refactor(workboard): keep card helpers private until consumed

* test(workboard): describe required clock fixture elements

* test(workboard): match card flows to their stack layer

* style(workboard): format scoped priority locators

* test(workboard): check legacy picker readiness in cards

* fix(workboard): dismiss session status on outside pointer

* fix(workboard): recover failed moves without overwriting peers

* fix(workboard): consume host colors and verify recovery

* refactor(workboard): reuse priority and timestamp rendering

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

* fix(workboard): retain automation labels until heading migration

* fix(workboard): recover canonical state with comment drafts

* build: refresh Workboard browser assets
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: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. scripts Repository scripts 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