Repository navigation
Fix Linux Quick View quota bar direction - #5063
marcelohildebrand wants to merge 1 commit into
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 Summary: ✅ CompletedThis 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. |
|
Codex review: needs real behavior proof before merge. What this changesMake Linux Quick View provider-tab quota bars honor the existing used-or-remaining display preference. Example: Codex has 60% quota remaining and the display preference is remaining.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains This PR fixes a current display inconsistency with a small, focused change; no actionable code defect was found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe Linux desktop supplies provider quota windows and display settings to Quick View, which renders tab, overview, and detail meters through shared presentation helpers. flowchart TD
A[Provider quota windows] --> C[Linux desktop model]
B[Display preference] --> C
C --> D[Quick View]
D --> E[Shared quota conversion]
E --> F[Provider tab meter]
E --> G[Overview and detail meters]
Technical reviewBest possible solution: Use the existing quotaValue helper for the tab meter so every Quick View quota surface follows the same preference. Do we have a high-confidence way to reproduce the issue? Main directly shows the failure: with remaining=60 and quotaDisplay=remaining, the tab calculates 40 while the detail calculates 60; no target code was executed during this read-only review. Is this the best way to solve the issue? The patch is the smallest complete fix: it replaces the inconsistent calculation with the shared presentation owner and preserves existing settings, empty-window behavior, and used mode. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7447bc77c249. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes: No label 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 (1 earlier review cycle)
Reviewed November 11, 2026, 4:21 PM ET / 21:21 UTC (Revision 2). |
The Linux Quick View provider tabs showed quota used even when the detailed bar was set to show quota remaining. For example, 60% remaining appeared as a 40% tab bar and a 60% detail bar.
Use the same display preference for both bars. In remaining mode, a full bar means 0% used; in used mode, the direction is reversed.
Validation:
QT_QPA_PLATFORM=offscreen QT_QUICK_BACKEND=software qmltestrunner -input Integrations/Linux/tests/qml(passed). The regression test checks both display modes with 60% remaining.