Repository navigation
fix(ui): localize automation schedule wording - #192163
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: e0f50b04-76a5-4fb3-9533-16d919c6725e
|
🦞👀 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 changes before merge. What this changesThis PR routes automation schedule labels and decorations through the shared translation catalog. Example: An on-exit automation watches make build in /repo.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: it addresses wording still hardcoded on main, but its eager catalog addition exceeds the existing startup-size allowance. Priority: P3 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe shared UI presenter receives automation schedules and produces display strings for session Details, the Automations page, and agent settings. flowchart LR
A[Gateway schedule data] --> B[Shared schedule presenter]
C[Locale catalog] --> B
D[Date and duration formatters] --> B
B --> E[Session Details]
B --> F[Automations page]
B --> G[Agent settings]
Technical reviewBest possible solution: Keep schedule wording in the existing shared translation owner while reducing eager encoding enough to satisfy the unchanged startup budget. Do we have a high-confidence way to reproduce the issue? Current-main source directly shows English wording around locale-aware dates and durations; no target code was executed during this read-only review. Is this the best way to solve the issue? Using the existing presenter and translation catalog is the smallest complete fix, and the shared cwd decoration avoids duplicated translation policy. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2813b78ac9f7. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +15, Tests +21. Total +36 across 3 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 Reviewed November 3, 2026, 1:28 PM ET / 18:28 UTC. |
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: a648ec53-c8da-4dd3-9ba7-5079cfd3b7e9
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0eeb6dd6-4e4e-487b-b649-555cf406c3bd
* fix(ui): localize automation schedule wording Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): localize automation schedule wording Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: e0f50b04-76a5-4fb3-9533-16d919c6725e * fix(ui): load schedule wording with its lazy consumers Co-authored-by: vyctorbrzezowski <[email protected]> * Publish openclaw/swift-prawn-6 Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: a648ec53-c8da-4dd3-9ba7-5079cfd3b7e9 * test(ui): keep schedule wording coverage within the test-line ratchet Co-authored-by: vyctorbrzezowski <[email protected]> * Publish openclaw/swift-prawn-6 Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0eeb6dd6-4e4e-487b-b649-555cf406c3bd --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Problem
The session Details one-shot row already localizes dates and times. The shared
formatCronSchedulehelper still wrapped localized values in hardcoded English:At,Every,On exit,Event,Stream, andCron. It affects the agent Cron panel, Cron page, and session event/stream/on-exit rows.Solution
en-cron-schedule.ts, registered by its presenter consumer under the existingcron.scheduleLabelnamespace. No new startup catalog anchor or eager strings.Evidence
Worked on by