Repository navigation
refactor(ui): port time labels and small controls to Solid - #169246
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: needs maintainer review before merge. What this changesThis PR replaces shared Lit time labels, sparklines, controls, and dialogs with Solid implementations and updates their consumers. Example: A completed task took 125 seconds.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR advances the approved Solid migration, and both previous findings are resolved in source; no remaining actionable code defect was found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherShared Control UI components receive timestamps, metric samples, settings status, and callbacks from existing owners and produce labels, controls, and modal outcomes. flowchart LR
A[Existing state owners] --> B[Component properties]
B --> C[Solid bridge]
C --> D[Solid components]
E[Visibility timer] --> D
D --> F[Control UI DOM]
F --> G[Existing action owners]
Technical reviewBest possible solution: Complete this focused Solid cutover while retaining the existing state, polling, modal, and action owners. Do we have a high-confidence way to reproduce the issue? This is a renderer migration; prior defect triggers were checked against the repaired source, and no target code or tests were executed during this review. Is this the best way to solve the issue? The existing bridge, visibility-aware polling, and modal host provide a coherent cutover without introducing competing domain owners. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8fc091038f24. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -16, Tests +22, Docs +1. Total +7 across 46 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (4 earlier review cycles)
Reviewed October 11, 2026, 3:53 PM ET / 19:53 UTC (Revision 5). |
|
Merged via squash auto-merge.
|
…169246) * refactor(ui): port time labels and small controls to Solid * test(ui): await Solid time-label teardown in sidebar tests
What Problem This Solves
Completes the remaining registered time labels and small controls in W-SWEEP-3 of the Control UI Solid migration.
User Impact
Preserves host tags, selectors, timing, selection, save status, keyboard focus, and one-time-secret dismissal behavior. The Lit classes are replaced by one Solid implementation per tag; cron pagination renders directly in its two Solid consumers.
Why This Change Was Made
The existing bridge and visibility timer own interop and lifecycle. Keyboard shortcuts remain lazy. Stateless Lit helpers with remaining Lit callers stay for the final sweep; browser and terminal panels were already Solid and keep their intentional terminal DOM islands.
Main's startup grouping is retained unchanged. The temporary chunk-group adjustment and full boot-manifest regeneration were discarded after main supplied the owning fix. No budget was raised by this PR.
Evidence
Metadata-pinned startup gzip measured 420,642 → 420,658 B (+16 B) against merge base
a81bb54f094f0bb5df760b4fe7e100c791c757d1. Startup module membership is identical; the small difference is compressed references to changed lazy chunks, not an added eager import. This is a 16-byte caveat to the requested literal zero-growth target. Follow-up trimming experiments did not reduce initial code and were discarded. The strict repository gate passes.Converted component production LOC: 1,011 → 1004, including extracted shortcut CSS. Domain owners are unchanged; no new dependencies. No changelog edit (release-owned).
CI first found nine stale Lit teardown assertions. The two consumer tests now await bridge disposal and assert actual card interval handles are cleared; 19/19 update-card tests and 148/148 people tests passed after reproducing the failures. A later exact E2E exposed same-status props refresh canceling the Saved timer. The effect now reads a status memo; its regression and the Notifications E2E failed before and passed after the fix. That lesson is recorded in the Solid playbook.
Focused test process wall times: elapsed 3.62s, vitals 3.92s, option card 3.43s, save indicator 2.95s, keyboard 5.20s, devices 6.85s, cron 6.34s, agents 5.97s; sidebar update/people 2.76s/42.11s. Testbox lease
tbx_01m4nyccfwr4ac0gmmx1c3ax9vstopped after proof.Before is left, after right; all data is synthetic.