Repository navigation
refactor: fold private usage rendering helpers into their owners - #177401
Merged
Merged
Conversation
Contributor
|
🦞👀 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. |
steipete
marked this pull request as ready for review
October 19, 2026 14:40
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via squash.
|
steipete
added a commit
that referenced
this pull request
Oct 19, 2026
Use the canonical SessionsUsageOverview filterOptions type directly in query suggestions and their fixture after #177401 removed the alias production consumer. Filter generation, page controls, APIs, and assertions remain unchanged.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 20, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 20, 2026
Use the canonical SessionsUsageOverview filterOptions type directly in query suggestions and their fixture after openclaw#177401 removed the alias production consumer. Filter generation, page controls, APIs, and assertions remain unchanged.
This was referenced Oct 20, 2026
This was referenced Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Usage rendering exposes internal helper modules for one production consumer.
User Impact
No user-visible change, migration, or required action is intended. Existing markup, text, selection, query callbacks, and clipboard behavior remain.
Why This Change Was Made
Fold query markup into its page, session-row markup into the keyed sessions-card owner, and heatmap preparation into its renderer. Retain genuine private helpers and test behavior through the existing renderers rather than test-only production exports.
This is the UI area slice of an original 89-path family, split under campaign rule 11's area floor waiver: 69 net production lines removed (+289/-358), six production paths / nine total paths. Tests/support/generated files are excluded. The separate Gateway-client boot-path candidate is not part of this PR; it remains parked pending canonical generation/build proof. No generated manifest changes here.
Best-effort tradeoffs accepted
Evidence
Frozen/prefer-offline setup, canonical formatting, six-root source-backed native types, typed UI lint, keyless i18n verification, staged line-cap ratchet (five changed source files), mock-export ratchet (8,283 factories), whitespace, runtime cycles (zero), and Madge cycles (zero) pass.
Initial focused proof: 45 passing / one failing unique case across the five UI owner/sibling files and mandatory suppression audit (39.51s wrapper; UI group 18.59s). The new heatmap lower-bound test selected a legend swatch sharing the intensity class rather than the SVG cell. Scoping its selector to the SVG preserves the exact tooltip and accessibility assertions; the six-case heatmap replay passes (5.19s file / 10.59s wrapper). Reusing the unchanged other-file results gives 46 unique selected passing cases, not a claimed all-green rerun. Focused lint and format of the repaired test also pass.
Fresh independent P0-P2 review of this final UI-only candidate and selector repair is scoped-clean (0.98), including final source-integrity verification; status and report inspected. No local build, E2E, broad suite, whole-graph typecheck, live claim, or operator-state access is claimed. Exact-head hosted CI is the broad gate.