Skip to content

fix: place Workboard cards where they are dropped immediately - #207122

Merged
vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/opt-ui-card-drop-4db0
Nov 28, 2026
Merged

vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/opt-ui-card-drop-4db0

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Dropping a Workboard card made it reappear in its old lane or position until the Gateway replied. On a slow connection, a completed drag looked as though it had missed its target.

User Impact

The card appears where you dropped it and stays dimmed while the move is pending. When you move the focused card to another lane, focus follows it without scrolling. If the move is rejected, the board keeps confirmed changes and shows the error. No setup or migration is required.

Why This Change Was Made

The board already knows the intended lane and order. It can show that placement without recording a successful write. The card and any peers that must make room stay reserved until settlement. Each receipt updates the confirmed card; a conflict supplies the current card, and a lost acknowledgment triggers a fresh read. This does not change Sessions boards, status-menu actions, or dashboard layout.

Evidence

  • Chromium exercised a native drag from Triage to Backlog, with the real Control UI and Workboard plugin and a synthetic Gateway holding the response. Main (1f0332980951) held the card in Triage; the change (05cd7033f8c8) showed it above the target in Backlog before the response. Both used the same 1280 × 760 viewport, fixtures, and reduced-motion setting. This tests response ordering, not production latency.
  • The browser also opened the moved card, rejected a subsequent move, and refreshed from a canonical result that differed from the last confirmed location. Focus on a different card was not stolen during recovery.
  • A real-view regression covers a dense drop in which a peer reposition succeeds and the dragged card conflicts. All 50 focused Workboard tests passed, along with the browser plugin typecheck, formatting and scoped lint (two existing reactivity warnings). No live Gateway or full CI run is claimed.

Clean comparison

Before

Before: the dropped card is still in Triage

After

After: the same card is above the target in Backlog

Annotated comparison

Before

The outlined card remains in Triage while its response is held

After

The outlined card is in Backlog while the same response is held

Worked on by

Work sessions

Linked for team reference; these sessions aren’t public.

roboclaw-bot and others added 2 commits November 28, 2026 02:03
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 0cf99d2b-b4f6-4ddf-82fb-5fed6a488ada
@clawsweeper

clawsweeper Bot commented Nov 28, 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 docs Improvements or additions to documentation app: web-ui App: web-ui plugin: workboard size: S labels Nov 28, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. labels Nov 28, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 28, 2026 02:07
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 28, 2026
@clawsweeper

clawsweeper Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

This PR previews dropped Workboard cards immediately while preserving confirmed card state until Gateway settlement.

Example: Drop “Polish release notes” from Triage above “Check guide links” in Backlog while the response is held.

  • Before: The card remains visibly in Triage until the Gateway responds.
  • After: The card appears above “Check guide links” in Backlog and stays dimmed while pending.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A worthwhile, focused repair with inspectable browser evidence and a distinct recovery regression; the failed typecheck still needs diagnosis.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected Chromium captures exercise the real Control UI and Workboard plugin at 1280 × 760 with a disclosed synthetic Gateway holding the move response, showing the card in its destination before settlement; this establishes browser placement behavior without claiming live Gateway latency or persistence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A completed drag appears to miss its destination while the Gateway response is pending.
Reason: Immediate placement provides clear feedback without claiming write success, and this maintainer-authored PR establishes the product direction.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it addresses a visible drag-and-drop problem that remains on main, and review found no definite introduced defect.

Reviewed head: 05cd7033f8c82e5525d28aff020be1b3c52e1736

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Workboard browser mutation owner receives card-drop gestures, reserves affected cards, sends existing Gateway RPCs, and projects temporary placement separately from confirmed receipts.

flowchart LR
  A[Card drop] --> B[Existing drop planner]
  B --> C[Mutation reservations]
  C --> D[Pending placement projection]
  D --> E[Board and widget rendering]
  C --> F[Gateway card RPCs]
  F --> G[Confirmed cards and recovery]
  G --> E
Loading

Technical review

Best possible solution:

Retain the temporary placement projection within the existing mutation owner and complete the head's CI assessment before landing.

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

Main updates visible placement after awaiting the Gateway receipt, and the supplied before capture demonstrates the resulting old-lane display during a held response; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The change uses the existing planner, reservations, receipt reconciliation, and recovery path while keeping optimistic placement out of confirmed cards, making it a focused solution to the reported feedback problem.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 595c201f9f79.

Provenance checked

  • Drop planning and partial-write recovery keeps the original intent (d626e5f: Preserve neighboring statuses with guarded position-only writes and reload canonical cards after uncertain acknowledgments.)
  • Shared mutation reservations keeps the original intent (f4d6e4d: Consolidate card moves into the existing mutation runner, including displaced-card reservations.)
  • Placement waits for confirmed receipts changes intended behavior with a stated reason (d626e5f: The prior move implementation records canonical cards from successful receipts; this PR explains why a separate temporary placement projection improves pending feedback.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit d626e5f adds extensions/workboard/browser/lib/workboard/mutations.ts:211 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d626e5f782ba; files: extensions/workboard/browser/lib/workboard/mutations.ts)
  • Peter Steinberger: Raw commit f1f7b53 adds extensions/workboard/browser/pages/workboard/view-card.tsx:84 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f1f7b536fcd7; files: extensions/workboard/browser/pages/workboard/view-card.tsx)

PR surface

Source +65, Tests +53, Docs +3. Total +121 across 12 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 9 75 10 +65
Tests 2 54 1 +53
Docs 1 4 1 +3
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 12 133 12 +121

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 27, 2026, 9:23 PM ET / November 28, 2026, 02:23 UTC.

@vyctorbrzezowski
vyctorbrzezowski merged commit 7c363ab into main Nov 28, 2026
15 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/opt-ui-card-drop-4db0 branch November 28, 2026 06:21
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 29, 2026
…aw#207122)

* fix: place Workboard cards where they are dropped immediately

Co-authored-by: vyctorbrzezowski <[email protected]>

* fix: place Workboard cards where they are dropped immediately

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 0cf99d2b-b4f6-4ddf-82fb-5fed6a488ada

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: vyctorbrzezowski <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 30, 2026
…d by agent before paging (#205114)

(cherry picked from commit 192b26a)

Companion audit: #207853 is test simplification; #207781 and #207744 add configurable filters beyond the stable pre-pagination fix. #205729 stays separately selected; #207909/#207790/#207787/#207122/#207121 change unrelated board actions, and #207932/#207928/#207839/#207931/#207380/#206929 plus copy work do not change authorization-before-paging.

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 30, 2026
Release the worker's claim when its failed run moves a Workboard card to blocked. Moving the card back to Ready lets the dispatcher start it again immediately.

(cherry picked from commit 2691651)

Companion audit: Short card ID lookup in the store is independent of the failed-claim transition. #207781/#207744/#207909/#207790/#207787/#207122/#207928/#207121 and copy changes match only the Workboard docs and are not prerequisites.

Co-authored-by: RomneyDa <[email protected]>
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 docs Improvements or additions to documentation impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. 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: S 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.

2 participants