Skip to content

fix(ui): keep Logbook timestamps clear of the activity stripe - #139539

Merged
obviyus merged 1 commit into
openclaw:mainfrom
TurboTheTurtle:fix/logbook-timestamp-overlap
Sep 6, 2026
Merged

obviyus merged 1 commit into
openclaw:mainfrom
TurboTheTurtle:fix/logbook-timestamp-overlap

Conversation

@TurboTheTurtle

@TurboTheTurtle TurboTheTurtle commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Closes #139365.

What Problem This Solves

Fixes an issue where Logbook readers using 12-hour clocks could see the end-time AM/PM marker overlap the activity stripe and title.

Why This Change Was Made

The time column now sizes to its localized contents. Timestamp formatting, title truncation, and the existing compact-screen layout are preserved.

User Impact

Both endpoints remain readable and separate from the activity heading. Category, application, duration, and capture-timezone formatting remain intact.

Evidence

The contributor's four Chromium geometry cases pass on head 3f2bf28f16d9e53006f9310325d62e0c7334a514, including English, German, and both sides of the 768px breakpoint. The existing capture-timezone test passes. Exact-head CI run 34000442241 is green, including UI typechecks and all UI browser checks. Focused formatting and lint checks pass.

Independent verification used the shipped Gateway and Control UI with synthetic Logbook data. Current main 4bb95eb02cede3b2677aa7274c4f574431531c92 reproduces the overlap: at 1280px, midnight text extends 16.8px past the stripe's start. The exact candidate has a 10px gap with both endpoints fully visible. The browser and capture host use different time zones; the displayed range follows the capture host.

A fresh source-blind browser pass accepted all ten observable requirements across 64 candidate captures: English and German, desktop and compact widths, collapsed and expanded rows, native 125%/150%/200% browser zoom, reload, day navigation, and no horizontal page scroll. Visible ranges retain a 10px gap. Source inspection separately confirms one row layout and the unchanged 768px compact policy.

The existing sanitized contributor captures were independently opened and visually inspected:

Before After
Timestamp overlaps the stripe Both timestamps remain clear of the stripe

Original fix by @TurboTheTurtle. Report and supporting independent verification by @Colton-Harris.

@clawsweeper

clawsweeper Bot commented Sep 6, 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.

@TurboTheTurtle
TurboTheTurtle marked this pull request as ready for review September 6, 2026 00:06
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. labels Sep 6, 2026
@clawsweeper

clawsweeper Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 5, 2026, 8:12 PM ET / September 6, 2026, 00:12 UTC.

ClawSweeper review

What this changes

The PR sizes Logbook timestamps to their localized text and adds browser coverage for overlap, title truncation, and compact layouts.

Merge readiness

⛔ Blocked before merge - 2 items remain

This remains a useful, focused fix: current main and v2026.9.2 retain the undersized timestamp column. No actionable patch defect was found.

Priority: P2
Reviewed head: 3f2bf28f16d9e53006f9310325d62e0c7334a514

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with meaningful browser assertions and relevant submitted visual evidence; reviewer-side image inspection remains outstanding.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): The supplied evidence describes before/after captures of the production Logbook renderer showing timestamp separation, supported by Chromium regression results. This directly addresses the CSS appearance change; attachment retrieval failed here, so independent visual inspection remains deferred without requiring new contributor proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The supplied evidence describes before/after captures of the production Logbook renderer showing timestamp separation, supported by Chromium regression results. This directly addresses the CSS appearance change; attachment retrieval failed here, so independent visual inspection remains deferred without requiring new contributor proof.
Evidence reviewed 7 items Verified introduced change: The merge-base-to-head diff contains the intrinsic-width CSS repair and its browser regression test. The unrelated endpoint drift is not part of this PR's contribution.
Current main still needs the repair: Current main reserves 92px for the timestamp while retaining white-space: nowrap; the heading already supports shrinking and ellipsis.
Latest release retains the affected layout: The v2026.9.2 stylesheet also uses the fixed 92px timestamp track; no shipped implementation of this repair was established.
Findings None None.
Security None None.

How this fits together

Logbook displays activity cards received from the Gateway in the Control UI. Its renderer formats each time range using the selected locale and capture timezone, then CSS positions it beside the activity stripe and heading.

flowchart LR
  A[Gateway activity cards] --> C[Logbook renderer]
  B[Locale and capture timezone] --> C
  C --> D[Localized time range]
  D --> E[Content-sized timestamp column]
  E --> F[Readable stripe and heading]
Loading

Before merge

  • Resolve merge risk (P1) - The attached before/after images could not be retrieved in this review environment, leaving the repository-required visual inspection incomplete.
  • Complete next step (P2) - Inspect the already-linked before/after captures to complete visual verification; this review environment could not retrieve them.
Agent review details

Security

None.

PR surface

Source 0, Tests +95. Total +95 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 1 95 0 +95
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 96 1 +95

Review metrics

None.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #139365
Summary: This PR is the explicitly linked candidate repair for the reported timestamp overlap.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Use intrinsic timestamp sizing while preserving localized formatting, heading truncation, and the existing compact-screen layout.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Use intrinsic timestamp sizing while preserving localized formatting, heading truncation, and the existing compact-screen layout.

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

Yes: render an English 12-hour Logbook range above the compact breakpoint; current source constrains its unwrapped text to 92px. The contributor reports reproducing this in Chromium; this review did not execute tests.

Is this the best way to solve the issue?

Yes: correcting the owning grid track is a narrow repair that accommodates localized text without changing timestamp semantics or adding another formatting path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 26178af8147d.

Labels

Label changes:

  • add P2: This repairs a concrete timestamp-readability defect with limited impact in the optional Logbook view.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The supplied evidence describes before/after captures of the production Logbook renderer showing timestamp separation, supported by Chromium regression results. This directly addresses the CSS appearance change; attachment retrieval failed here, so independent visual inspection remains deferred without requiring new contributor proof.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The supplied evidence describes before/after captures of the production Logbook renderer showing timestamp separation, supported by Chromium regression results. This directly addresses the CSS appearance change; attachment retrieval failed here, so independent visual inspection remains deferred without requiring new contributor proof.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The supplied evidence describes before/after captures of the production Logbook renderer showing timestamp separation, supported by Chromium regression results. This directly addresses the CSS appearance change; attachment retrieval failed here, so independent visual inspection remains deferred without requiring new contributor proof.

Label justifications:

  • P2: This repairs a concrete timestamp-readability defect with limited impact in the optional Logbook view.
  • 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. Sufficient (screenshot): The supplied evidence describes before/after captures of the production Logbook renderer showing timestamp separation, supported by Chromium regression results. This directly addresses the CSS appearance change; attachment retrieval failed here, so independent visual inspection remains deferred without requiring new contributor proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. The supplied evidence describes before/after captures of the production Logbook renderer showing timestamp separation, supported by Chromium regression results. This directly addresses the CSS appearance change; attachment retrieval failed here, so independent visual inspection remains deferred without requiring new contributor proof.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The supplied evidence describes before/after captures of the production Logbook renderer showing timestamp separation, supported by Chromium regression results. This directly addresses the CSS appearance change; attachment retrieval failed here, so independent visual inspection remains deferred without requiring new contributor proof.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vyctor H. Brzezowski: 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.

@Colton-Harris

Copy link
Copy Markdown
Contributor

Independent verification for #139365 at PR head 3f2bf28f16d9e53006f9310325d62e0c7334a514:

  • Downloaded and inspected the existing before and after captures. Before: the stripe/title obscure the end-time AM/PM marker. After: both timestamps are readable, the stripe is separate, and the long title retains its ellipsis. These are synthetic activity captures, not private activity data. Both attachment URLs were accessible during this check.
  • The complete logbook.css at this head is byte-identical to the fix we independently verified on base befc0c24a243f58da0d92a0c0bc4a6bba21c8ec3. Our Chromium regression fails with the original 92px track (text right = 151.515625, allowed maximum before stripe = 130) and passes with max-content. That separate proof covers English AM/PM, German 24-hour ranges, collapsed/expanded cards, and widths 1280/1101/1100/769/768. This is supporting proof for the identical production change, not a claim that we executed this PR's test file locally.
  • Live checks on this PR head: 69 successful, 78 skipped, no failures or pending checks, including openclaw/ci-gate, the UI checks, and all 13 UI browser shards.

The owning layout correction addresses the reported defect without changing localized time formatting or the compact-screen layout. No additional production change identified. Thanks, Andy—this PR covers the original report, so we are retaining it as the canonical fix rather than submitting a duplicate.

@obviyus obviyus self-assigned this Sep 6, 2026
@obviyus
obviyus merged commit 11fe45e into openclaw:main Sep 6, 2026
153 checks passed
@obviyus

obviyus commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Thanks @TurboTheTurtle! Thanks @Colton-Harris for the report and supporting verification.

Proof: The shipped Gateway/Control UI reproduces the overlap on main 4bb95eb02cede3b2677aa7274c4f574431531c92. The exact candidate passes independent acceptance across 64 captures covering English/German, desktop/compact widths, expansion, native 125%/150%/200% browser zoom, reload, and day navigation. Both linked contributor captures were also independently inspected.

  • Bug: The end-time AM/PM marker entered the stripe and title area.
  • Fix: The timestamp column fits the complete localized range while preserving metadata, title truncation, capture time zone, and the 768px compact layout.
Before After
Midnight text extends 16.8px past the stripe's start. Both endpoints remain complete, with a 10px gap before the stripe.

Exact-head CI, focused formatting/lint, and independent code review passed. No CI exception was used. This resolves #139365.

vincentkoc added a commit to ylcn91/openclaw that referenced this pull request Sep 6, 2026
* commit '6c55a99226ed0611ca088004c81b00fb296f1f71': (182 commits)
  test(ui): scope dashboard settings setup to the top frame (openclaw#139618)
  refactor(skills): share pending proposal creation (openclaw#139617)
  fix(release): accept frozen targets before worker bundles (openclaw#136699)
  fix(gateway): preserve percent sequences in media filenames (openclaw#139508)
  fix: preserve current update availability alongside update history (openclaw#139501)
  feat(diagnostics): expose garbage collection duration metrics (openclaw#139592)
  fix(ui): keep Logbook timestamps clear of the activity stripe (openclaw#139539)
  fix(ui): keep Swarm outcomes visible after completion (openclaw#139490)
  test: check file accessibility without runtime-specific return values (openclaw#139590)
  refactor(sdk): keep helper types private (openclaw#139601)
  fix(cron): preserve current-session delivery intent (openclaw#139491)
  fix: prevent browser profile permission hangs in Doctor (openclaw#139612)
  fix(agents): repair storage-failure test fixture after failover owner move (openclaw#139531)
  fix(cli): keep note text with Windows and Unicode line endings (openclaw#139512)
  fix(agents): keep isolated completion context on its admitted generation (openclaw#139607)
  fix: avoid declaration builds during source-server updates (openclaw#139392)
  fix(models): keep discovered models after catalog refresh failures (openclaw#139357)
  fix(gateway): record a transcript notice when a run fails before replying (openclaw#139439)
  refactor(ios): reuse shared integer conversion (openclaw#139581)
  fix(sessions): prevent database lock failures during reclamation (openclaw#139469)
  ...
vincentkoc added a commit that referenced this pull request Sep 6, 2026
* commit 'refs/openclaw/tasks/pr-135167-main-latest':
  test(ui): scope dashboard settings setup to the top frame (#139618)
  refactor(skills): share pending proposal creation (#139617)
  fix(release): accept frozen targets before worker bundles (#136699)
  fix(gateway): preserve percent sequences in media filenames (#139508)
  fix: preserve current update availability alongside update history (#139501)
  feat(diagnostics): expose garbage collection duration metrics (#139592)
  fix(ui): keep Logbook timestamps clear of the activity stripe (#139539)
  fix(ui): keep Swarm outcomes visible after completion (#139490)
  test: check file accessibility without runtime-specific return values (#139590)
  refactor(sdk): keep helper types private (#139601)
  fix(cron): preserve current-session delivery intent (#139491)
  fix: prevent browser profile permission hangs in Doctor (#139612)
  fix(agents): repair storage-failure test fixture after failover owner move (#139531)
  fix(cli): keep note text with Windows and Unicode line endings (#139512)
  fix(agents): keep isolated completion context on its admitted generation (#139607)
  fix: avoid declaration builds during source-server updates (#139392)
  fix(models): keep discovered models after catalog refresh failures (#139357)
  fix(gateway): record a transcript notice when a run fails before replying (#139439)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 6, 2026
…aw#139539)

Size the Logbook timestamp column to its localized contents so both endpoints remain separate from the stripe and title. Preserve capture-timezone formatting, title truncation, metadata, and the compact layout.

Closes openclaw#139365.

Co-authored-by: Ayaan Zaidi <[email protected]>
@TurboTheTurtle
TurboTheTurtle deleted the fix/logbook-timestamp-overlap branch October 12, 2026 01:36
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 P2 Normal backlog priority with limited blast radius. 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.

[Bug]: Logbook AM/PM timestamps overlap the activity stripe

3 participants