Skip to content

fix(ui): remove duplicate usage page header - #67290

Closed
iubns wants to merge 12 commits into
openclaw:mainfrom
synapsion-ai:fix-usage-title-ui
Closed

iubns wants to merge 12 commits into
openclaw:mainfrom
synapsion-ai:fix-usage-title-ui

Conversation

@iubns

@iubns iubns commented Apr 15, 2026 •

Copy link
Copy Markdown

Summary

  • Problem: The Usage page rendered a local title/subtitle block while the global navigation header already rendered subtitle text, causing duplicate header content.
  • Why it matters: Duplicate headings create visual noise and inconsistent UX across tabs.
  • What changed: Removed the local Usage page title/subtitle block, relied on shared navigation subtitle rendering, and deleted unused usage.page.subtitle locale entries.
  • What did NOT change (scope boundary): No changes to usage data fetching, metrics calculations, routing, or non-Usage page layouts.

Change Type (select all)

  • Bug fix
  • Feature
  • Refactor required for the fix
  • Docs
  • Security hardening
  • Chore/infra

Scope (select all touched areas)

  • Gateway / orchestration
  • Skills / tool execution
  • Auth / tokens
  • Memory / storage
  • Integrations
  • API / contracts
  • UI / DX
  • CI/CD / infra

Linked Issue/PR

  • Closes #N/A
  • Related #N/A
  • This PR fixes a bug or regression

Root Cause (if applicable)

  • Root cause: The Usage view had its own page header while the app-level navigation header also rendered tab subtitle (subtitles.usage), resulting in duplicated header information.
  • Missing detection / guardrail: No UI-level regression check for duplicate page header regions in tab views.
  • Contributing context (if known): Usage view kept a legacy local subtitle key (usage.page.subtitle) after shared navigation subtitle support became the standard.

Regression Test Plan (if applicable)

  • Coverage level that should have caught this:
    • Unit test
    • Seam / integration test
    • End-to-end test
    • Existing coverage already sufficient
  • Target test or file: UI rendering test for Usage tab shell/header composition (add/update view-level render assertion).
  • Scenario the test should lock in: Rendering the Usage tab should show exactly one header/subtitle source (shared navigation), with no local duplicate subtitle block.
  • Why this is the smallest reliable guardrail: The issue is composition-level (navigation + tab view), so a seam/integration render test is the minimal reliable layer.
  • Existing test that already covers this (if any): None confirmed.
  • If no new test is added, why not: This PR is a minimal UI cleanup; no dedicated UI seam test existed in the current scope.

User-visible / Behavior Changes

  • Usage page no longer shows a duplicated local title/subtitle block.
  • Header/subtitle presentation is now consistent with other tabs via shared navigation rendering.

Diagram (if applicable)

Before:
[open Usage tab] -> [shared nav subtitle shown]
                 -> [local Usage title/subtitle shown again] -> [duplicate header text]

After:
[open Usage tab] -> [shared nav subtitle shown] -> [single, consistent header]

Security Impact (required)

  • New permissions/capabilities? (No)
  • Secrets/tokens handling changed? (No)
  • New/changed network calls? (No)
  • Command/tool execution surface changed? (No)
  • Data access scope changed? (No)
  • If any Yes, explain risk + mitigation: N/A

Repro + Verification

Environment

  • OS: macOS
  • Runtime/container: Node.js + pnpm workspace
  • Model/provider: N/A
  • Integration/channel (if any): N/A
  • Relevant config (redacted): Default UI navigation/usage routing config

Steps

  1. Open Control UI and navigate to Usage tab.
  2. Observe header area before this change (duplicate local + shared header/subtitle).
  3. Apply this PR and reload Usage tab.

Expected

  • Only one header/subtitle source is visible (shared navigation).

Actual

  • Duplicate local Usage header/subtitle removed; shared navigation subtitle remains.

Evidence

Attach at least one:

  • Failing test/log before + passing after
  • Trace/log snippets
  • Screenshot/recording
  • Perf numbers (if relevant)

Image placeholders to fill:

  • Before screenshot:
Screenshot 2026-04-16 at 1 22 07 AM
  • After screenshot:
Screenshot 2026-04-16 at 1 33 24 AM

Human Verification (required)

  • Verified scenarios: Opened Usage tab and confirmed only shared navigation subtitle/header is shown.
  • Edge cases checked: Switched between tabs and returned to Usage to confirm header remains single and stable.
  • What you did not verify: Cross-browser matrix and mobile viewport visual checks.

Review Conversations

  • I replied to or resolved every bot review conversation I addressed in this PR.
  • I left unresolved only the conversations that still need reviewer or maintainer judgment.

If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.

Compatibility / Migration

  • Backward compatible? (Yes)
  • Config/env changes? (No)
  • Migration needed? (No)
  • If yes, exact upgrade steps: N/A

Risks and Mitigations

  • Risk: Locale key removal could impact hidden/legacy references to usage.page.subtitle.
    • Mitigation: Removed only clearly unused locale entries tied to deleted local header block; shared subtitle key path remains unchanged.

remove the local usage page title/subtitle block to avoid duplicate headers

rely on the shared navigation subtitle rendering for the usage tab

delete unused usage.page.subtitle locale entries
@greptile-apps

greptile-apps Bot commented Apr 15, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR correctly removes the duplicate local header block from the Usage view (usage.ts). However, usage.page.subtitle was removed from the generated non-English locale files by hand without removing it from en.ts (the i18n source of truth) or running pnpm ui:i18n:sync. The next sync will regenerate the deleted entries into all locale files and the .i18n/*.tm.jsonl translation-memory files remain stale.

Confidence Score: 4/5

Safe to merge for the UI fix, but the locale cleanup will regress on the next i18n sync until en.ts is updated and the pipeline is re-run.

The view change is correct and minimal. The P1 finding is that usage.page.subtitle was not removed from en.ts (source of truth), so running pnpm ui:i18n:sync will undo the locale cleanup. Additionally, the non-English locale bundles were hand-edited contrary to ui/CLAUDE.md which says they are generated output.

ui/src/i18n/locales/en.ts — the usage.page.subtitle key must be removed here and pnpm ui:i18n:sync run to regenerate locale bundles and .i18n/*.tm.jsonl files correctly.

Comments Outside Diff (1)

  1. ui/src/i18n/locales/en.ts, line 392-395 (link)

    P1 usage.page.subtitle key not removed from source locale

    en.ts is the source of truth for i18n; the non-English locale bundles are generated output (see ui/CLAUDE.md). This PR removed the key from the generated files by hand but left it in en.ts. The next run of pnpm ui:i18n:sync will regenerate usage.page.subtitle back into every locale file, silently undoing the locale cleanup.

    The correct flow is:

    1. Remove the page.subtitle block from en.ts (here).
    2. Run pnpm ui:i18n:sync to regenerate locale bundles and update the .i18n/*.tm.jsonl translation-memory files.
    3. Commit the regenerated outputs together.

    The .i18n/*.tm.jsonl files still contain usage.page.subtitle entries (confirmed via grep), so they are also out of sync with the current locale .ts files.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: ui/src/i18n/locales/en.ts
    Line: 392-395
    
    Comment:
    **`usage.page.subtitle` key not removed from source locale**
    
    `en.ts` is the source of truth for i18n; the non-English locale bundles are generated output (see `ui/CLAUDE.md`). This PR removed the key from the generated files by hand but left it in `en.ts`. The next run of `pnpm ui:i18n:sync` will regenerate `usage.page.subtitle` back into every locale file, silently undoing the locale cleanup.
    
    The correct flow is:
    1. Remove the `page.subtitle` block from `en.ts` (here).
    2. Run `pnpm ui:i18n:sync` to regenerate locale bundles **and** update the `.i18n/*.tm.jsonl` translation-memory files.
    3. Commit the regenerated outputs together.
    
    The `.i18n/*.tm.jsonl` files still contain `usage.page.subtitle` entries (confirmed via grep), so they are also out of sync with the current locale `.ts` files.
    
    
    
    How can I resolve this? If you propose a fix, please make it concise.
    
Prompt To Fix All With AI
This is a comment left during a code review.
Path: ui/src/i18n/locales/en.ts
Line: 392-395

Comment:
**`usage.page.subtitle` key not removed from source locale**

`en.ts` is the source of truth for i18n; the non-English locale bundles are generated output (see `ui/CLAUDE.md`). This PR removed the key from the generated files by hand but left it in `en.ts`. The next run of `pnpm ui:i18n:sync` will regenerate `usage.page.subtitle` back into every locale file, silently undoing the locale cleanup.

The correct flow is:
1. Remove the `page.subtitle` block from `en.ts` (here).
2. Run `pnpm ui:i18n:sync` to regenerate locale bundles **and** update the `.i18n/*.tm.jsonl` translation-memory files.
3. Commit the regenerated outputs together.

The `.i18n/*.tm.jsonl` files still contain `usage.page.subtitle` entries (confirmed via grep), so they are also out of sync with the current locale `.ts` files.

```suggestion
  usage: {
    common: {
```

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "fix(ui): remove duplicate usage page hea..." | Re-trigger Greptile

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bb4c261d55

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread ui/src/i18n/locales/de.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6cc3793e0c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread ui/src/ui/views/usage.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: afaae2207d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread ui/src/ui/views/usage.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d04a9fcffd

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread ui/src/ui/views/usage.ts Resolved
@clawsweeper

clawsweeper Bot commented Apr 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

Summary
The PR removes the Usage view’s local title/subtitle block, drops usage.page.subtitle from selected locale outputs, and adds then partly removes Usage header CSS.

Reproducibility: yes. Current main source renders both the shared Usage title/subtitle and a local Usage title/subtitle, and the inspected PR screenshots show the before/after visual result.

Real behavior proof
Sufficient (screenshot): The before/after screenshots in the PR body visibly show the duplicate Usage header before the patch and a single shared header after it.

Next step before merge
A narrow automated repair can finish the generated i18n sync and CSS cleanup; no product or security decision is needed.

Security
Cleared: The diff is limited to Control UI rendering, CSS, locale bundles, and translation metadata with no concrete security or supply-chain concern.

Review findings

  • [P1] Regenerate all locale bundles after dropping Usage subtitle — ui/src/i18n/locales/en.ts:657-658
  • [P3] Remove the unused Usage subtitle selector — ui/src/styles/usage.css:92-94
Review details

Best possible solution:

Land the focused Usage-only duplicate-header fix after regenerating every registered locale bundle and translation-memory file from English and dropping the leftover unused selector, while keeping the broader global header redesign separate.

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

Yes. Current main source renders both the shared Usage title/subtitle and a local Usage title/subtitle, and the inspected PR screenshots show the before/after visual result.

Is this the best way to solve the issue?

No, not as currently authored. Removing the local Usage header is the right narrow fix, but the branch must synchronize all registered i18n outputs and remove the unused selector before merge.

Full review comments:

  • [P1] Regenerate all locale bundles after dropping Usage subtitle — ui/src/i18n/locales/en.ts:657-658
    After deleting usage.page.subtitle from English, registered locales this branch does not update, such as ar.ts, still retain the key. translate.test.ts requires every shipped locale's flattened keys to match English, so this leaves the i18n output structurally inconsistent until pnpm ui:i18n:sync regenerates all locale bundles and .i18n metadata.
    Confidence: 0.96
  • [P3] Remove the unused Usage subtitle selector — ui/src/styles/usage.css:92-94
    PR head no longer renders a usage-section-subtitle element after deleting the local Usage header, but this new stylesheet selector remains. Drop it unless markup is restored to use it.
    Confidence: 0.9

Overall correctness: patch is incorrect
Overall confidence: 0.95

Acceptance criteria:

  • pnpm ui:i18n:check
  • pnpm test ui/src/i18n/test/translate.test.ts ui/src/ui/views/usage-render-overview.test.ts
  • pnpm exec oxfmt --check --threads=1 ui/src/ui/views/usage.ts ui/src/styles/usage.css ui/src/i18n/locales/*.ts
  • git diff --check
  • pnpm check:changed

What I checked:

  • Current main shared Usage header: Current main renders .content-header for every non-config tab and uses titleForTab(state.tab) plus subtitleForTab(state.tab), so the Usage tab already has a shared title/subtitle source. (ui/src/ui/app-render.ts:1622, 8237d165e266)
  • Current main local Usage header: Current main also renders a local .usage-page-header with tabs.usage and usage.page.subtitle, matching the duplicated header symptom. (ui/src/ui/views/usage.ts:424, 8237d165e266)
  • PR head removes the local header: At PR head, renderUsage starts the Usage page with the filters card and no longer renders the local usage-page-header, addressing the visible duplicate source. (ui/src/ui/views/usage.ts:440, 5dd6835ef6a3)
  • Locale parity contract: The i18n test requires every shipped locale’s flattened keys to equal English, and the locale registry includes additional registered locales such as Arabic, Italian, Thai, Vietnamese, Dutch, and Persian. (ui/src/i18n/test/translate.test.ts:199, 8237d165e266)
  • PR head leaves generated locale outputs out of sync: PR head removes usage.page.subtitle from English, but a registered locale such as Arabic still contains usage.page.subtitle, and its translation-memory file still has that segment. (ui/src/i18n/locales/ar.ts:656, 5dd6835ef6a3)
  • Generated locale policy: The scoped UI guide says non-English locale bundles and .i18n metadata are generated output, with English plus generator/runtime wiring as the source of truth. (ui/AGENTS.md:5, 8237d165e266)

Likely related people:

  • BunsDev: Usage UI and styling commits around this area are credited to or co-authored with BunsDev, including Control UI polish and Usage page styling/localization work. (role: Usage UI area contributor; confidence: high; commits: a5309b6f93db, a710366e9ece, 21ac4b9a8a84; files: ui/src/ui/views/usage.ts, ui/src/styles/usage.css, ui/src/i18n/locales/en.ts)
  • vincentkoc: Recent merged history added and aligned the Control UI locale sync pipeline, locale registry expectations, and i18n parity test that define the remaining blocker. (role: i18n pipeline contributor; confidence: high; commits: ee4fe4fb1e1d, 1ef6bada3650, 297f4c6e603b; files: scripts/control-ui-i18n.ts, ui/src/i18n/lib/registry.ts, ui/src/i18n/test/translate.test.ts)
  • Marvinthebored: Recent Usage aggregate-cache work touched the same Usage view and style surface, so they are relevant for conflicts with current Usage rendering assumptions. (role: recent adjacent Usage contributor; confidence: medium; commits: a64b30705fab; files: ui/src/ui/views/usage.ts, ui/src/styles/usage.css)
  • Peter Steinberger: Current shallow blame and recent history show broad Control UI formatting/render/test touches across the affected files, although this is more adjacent than feature-specific. (role: recent Control UI contributor; confidence: medium; commits: ec998d1e9559, 4505987b9c8b, 9ef37d1907f2; files: ui/src/ui/views/usage.ts, ui/src/ui/app-render.ts, ui/src/i18n/test/translate.test.ts)

Remaining risk / open question:

  • The branch currently reports as unmergeable/dirty against current main, so repair may need a rebase or narrow replacement branch.
  • This focused Usage cleanup overlaps the broader header cleanup at fix(WebUI): remove duplicate headers, move i18n descriptions to bread…crumb #74238, so maintainers should avoid landing both without reconciling the final header direction.
  • No validation commands were run during this read-only review; the required i18n and focused UI checks still need to run after repair.

Codex review notes: model gpt-5.5, reasoning high; reviewed against 8237d165e266.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the redundant local title/subtitle block from the Usage tab so the UI relies on the app-level navigation header/subtitle, eliminating duplicated header content and aligning the Usage tab with other tabs’ header composition.

Changes:

  • Removed the local Usage page header section from the Usage view template.
  • Added new Usage header-related CSS selectors (though they don’t appear to be used by current markup).
  • Deleted usage.page.subtitle from several locale maps and removed matching entries from some translation-memory .tm.jsonl files.

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
ui/src/ui/views/usage.ts Removes the local Usage title/subtitle block to avoid duplicating the global navigation header.
ui/src/styles/usage.css Adds new header/subtitle-related selectors for Usage view styling.
ui/src/i18n/locales/zh-TW.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/zh-CN.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/uk.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/tr.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/pt-BR.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/pl.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/ko.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/ja-JP.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/id.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/fr.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/es.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/locales/en.ts Removes usage.page.subtitle locale entry (base locale).
ui/src/i18n/locales/de.ts Removes usage.page.subtitle locale entry.
ui/src/i18n/.i18n/tr.tm.jsonl Removes translation-memory segment for usage.page.subtitle.
ui/src/i18n/.i18n/pt-BR.tm.jsonl Removes translation-memory segment for usage.page.subtitle.
ui/src/i18n/.i18n/ko.tm.jsonl Removes translation-memory segment for usage.page.subtitle.
ui/src/i18n/.i18n/ja-JP.tm.jsonl Removes translation-memory segment for usage.page.subtitle.
ui/src/i18n/.i18n/id.tm.jsonl Removes translation-memory segment for usage.page.subtitle.
ui/src/i18n/.i18n/fr.tm.jsonl Removes translation-memory segment for usage.page.subtitle.
ui/src/i18n/.i18n/de.tm.jsonl Removes translation-memory segment for usage.page.subtitle.
Comments suppressed due to low confidence (1)

ui/src/i18n/locales/en.ts:661

  • This PR removes usage.page.subtitle from en (and several other locales), but the key still exists in other locale maps (e.g. ui/src/i18n/locales/ar.ts, fa.ts, it.ts, nl.ts, th.ts, vi.ts) and corresponding .i18n/*.tm.jsonl entries. That leaves the locale keyset drifting and doesn’t fully match the PR description of deleting the unused entries; consider removing the key everywhere (or keeping it intentionally until all locales are regenerated).
  usage: {
    common: {
      emptyValue: "—",
      unknown: "unknown",
    },

Comment thread ui/src/styles/usage.css Resolved
Comment thread ui/src/styles/usage.css Resolved
Comment thread ui/src/ui/views/usage.ts
Comment on lines 439 to 443
return html`
<div class="usage-page">
<section class="usage-page-header">
<div class="usage-page-title">${t("tabs.usage")}</div>
<div class="usage-page-subtitle">${t("usage.page.subtitle")}</div>
</section>

<section class="card usage-header ${display.headerPinned ? "pinned" : ""}">
<div class="usage-header-row">
<div class="usage-header-title">
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. label May 6, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 6, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 6, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 13, 2026
@BunsDev

BunsDev commented May 14, 2026

Copy link
Copy Markdown
Contributor

Thanks for the focused fix here. I opened #81950 as the maintainer replacement because it carries the same visible repair while also resolving the review blockers that kept this PR from landing:

  • removes the local Usage page heading/subtitle
  • deletes the dead Usage header CSS
  • removes the obsolete usage.page.subtitle source key through pnpm ui:i18n:sync
  • adds a focused render regression test
  • verifies the i18n parity and focused Usage checks

Closing this PR as superseded by #81950 so maintainers do not have two branches for the same Usage-heading defect. If you want to keep contributing here, a fresh small PR on top of current main is welcome.

@BunsDev BunsDev closed this May 14, 2026
BunsDev added a commit that referenced this pull request May 15, 2026
Remove the local Usage view header now that the shared Control UI shell owns the page title, clean up the obsolete Usage subtitle locale key through the i18n sync pipeline, and add focused render coverage.

Fixes #45709.
Supersedes #67290 and #74238.

Verification:
- node scripts/run-vitest.mjs ui/src/ui/views/usage.test.ts ui/src/ui/views/usage-render-overview.test.ts ui/src/styles/usage.test.ts ui/src/i18n/test/translate.test.ts
- pnpm lint --threads=8
- pnpm ui:i18n:check
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md ui/src/styles/usage.css ui/src/ui/views/usage.ts ui/src/ui/views/usage.test.ts ui/src/i18n/locales/*.ts
- git diff --check
- node scripts/run-vitest.mjs src/logging/logger-redaction-behavior.test.ts
- GitHub CI run 25895690773 passed after failed-job rerun
- Real behavior proof run 25895689499 passed

Head: f60e501
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
Remove the local Usage view header now that the shared Control UI shell owns the page title, clean up the obsolete Usage subtitle locale key through the i18n sync pipeline, and add focused render coverage.

Fixes openclaw#45709.
Supersedes openclaw#67290 and openclaw#74238.

Verification:
- node scripts/run-vitest.mjs ui/src/ui/views/usage.test.ts ui/src/ui/views/usage-render-overview.test.ts ui/src/styles/usage.test.ts ui/src/i18n/test/translate.test.ts
- pnpm lint --threads=8
- pnpm ui:i18n:check
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md ui/src/styles/usage.css ui/src/ui/views/usage.ts ui/src/ui/views/usage.test.ts ui/src/i18n/locales/*.ts
- git diff --check
- node scripts/run-vitest.mjs src/logging/logger-redaction-behavior.test.ts
- GitHub CI run 25895690773 passed after failed-job rerun
- Real behavior proof run 25895689499 passed

Head: f60e501
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
Remove the local Usage view header now that the shared Control UI shell owns the page title, clean up the obsolete Usage subtitle locale key through the i18n sync pipeline, and add focused render coverage.

Fixes openclaw#45709.
Supersedes openclaw#67290 and openclaw#74238.

Verification:
- node scripts/run-vitest.mjs ui/src/ui/views/usage.test.ts ui/src/ui/views/usage-render-overview.test.ts ui/src/styles/usage.test.ts ui/src/i18n/test/translate.test.ts
- pnpm lint --threads=8
- pnpm ui:i18n:check
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md ui/src/styles/usage.css ui/src/ui/views/usage.ts ui/src/ui/views/usage.test.ts ui/src/i18n/locales/*.ts
- git diff --check
- node scripts/run-vitest.mjs src/logging/logger-redaction-behavior.test.ts
- GitHub CI run 25895690773 passed after failed-job rerun
- Real behavior proof run 25895689499 passed

Head: f60e501
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
Remove the local Usage view header now that the shared Control UI shell owns the page title, clean up the obsolete Usage subtitle locale key through the i18n sync pipeline, and add focused render coverage.

Fixes openclaw#45709.
Supersedes openclaw#67290 and openclaw#74238.

Verification:
- node scripts/run-vitest.mjs ui/src/ui/views/usage.test.ts ui/src/ui/views/usage-render-overview.test.ts ui/src/styles/usage.test.ts ui/src/i18n/test/translate.test.ts
- pnpm lint --threads=8
- pnpm ui:i18n:check
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md ui/src/styles/usage.css ui/src/ui/views/usage.ts ui/src/ui/views/usage.test.ts ui/src/i18n/locales/*.ts
- git diff --check
- node scripts/run-vitest.mjs src/logging/logger-redaction-behavior.test.ts
- GitHub CI run 25895690773 passed after failed-job rerun
- Real behavior proof run 25895689499 passed

Head: f60e501
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 size: S triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants