CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

Add an option for compact provider cards by hiding: status line, "Resets" prefix, and pace text.

Open swaynehales opened this issue 2 months ago • 3 comments

Summary

An opt-in "Compact cards" setting (Preferences → Menu, default off) that hides certain text on the usage bars to make scanning across providers easier (for me at least, perhaps for you too).  TLDR: Same data, same build, toggle off vs on. The popover can be around 40% shorter depending on the providers you select.

Image

What's hidden:

  • the header status line ("Updated 5m ago" / plan label)
  • the word "Resets" in front of reset times ("in 1d 19h", "Sep 9 at 12:00 AM")
  • the pace and forecast text under bars ("39% in reserve · Lasts until reset · Est. 5.9 session quotas left")
  • informational notes such as "Limited usage detail"

⬆️ This applies to every provider card and in the Overview.

What stays the same:

Bars, pace stripes, quota markers, workday ticks, error subtitles, and every quota window stay exactly as they are.

Why

I am often opening CodexBar to answer the question: "how much usage do I have left and when does it reset" as I scan my eyes down the provider/model list. CodexBar handles that: the bar, the percent, and the time answer it.

The rest of the text is useful if I'm doing a deeper dive, but most of the time that extra text is just noise for me. Today the only lever to reduce some of the noise is toggling off "Show pace", but that removes the awesome pace stripe you incorporated :(

Relationship to existing discussions

  • #2107 / #2578 ask for a compact Overview density mode and are deciding the information hierarchy for the merged view. This proposal makes no such decision: every window and bar remains, only prose goes. But it composes with whatever #2578 lands.
  • #2616 adds Overview-only layouts. This applies to provider cards too and is a single boolean rather than a layout family.
  • #3182 asks for per-row visibility. Out of scope here. Could be a possible follow-up for credit and detail sections.

Shape

  • One Bool setting, model-level gate beside the existing paceVisible gate, synced via iCloud preferences, included in the tracked-layout comparison so the menu height cache invalidates on toggle.
  • Four new strings in all 22 complete locales. Tests follow PaceVisibilityTests.
  • No new data, probes, or dependencies. 🥳

I have this implemented and dogfooded; I can open a PR if you are aligned. LMK happy to contribute. (Yes this was a human who wrote it.)

swaynehales avatar Sep 09 '26 21:09 swaynehales

Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed September 9, 2026, 5:31 PM ET / 21:31 UTC.

Summary Keep open for product sign-off: this is a distinct, illustrated display preference that current controls do not provide. Related Overview proposals overlap only partially, and repository onboarding policy does not permit automatic closure.

Reproducibility: not applicable. this requests a new display mode; source and existing tests confirm that Show pace currently couples text and stripe visibility.

Ways to help us reproduce this

  • Add expected vs actual behavior.

Maintainer decision needed

Question Recommendation
Should CodexBar add a prose-only Compact cards preference across provider cards and Overview, independently of Overview layout choices? Sponsor a narrowly scoped compact preference: Accept the default-off shared mode while requiring essential error and data-quality information to remain discoverable.

Why: The request adds a persistent display mode, and source evidence cannot decide which informational notes the product should allow users to hide.

Next step Confirm the opt-in display contract and note-suppression boundary before inviting the contributor’s existing implementation as a focused PR.

Review details

Best possible solution:

Use one default-off shared presentation preference that preserves selected quota rows, graphical pace, errors, and essential data-quality context, with localized reset formatting and consistent preview, Overview, sync, and menu sizing behavior.

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

Not applicable: this requests a new display mode; source and existing tests confirm that Show pace currently couples text and stripe visibility.

Is this the best way to solve the issue?

Yes, conditionally: a shared presentation gate fits the existing architecture and is narrower than a layout redesign, provided it distinguishes optional prose from meaningful provider warnings and balance information.

AGENTS.md: found and applied where relevant.

Remaining risk / open question:

  • The proposed suppression of informational notes needs a precise boundary: provider-owned balance details and limited-data warnings can convey information that the remaining bars do not.

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

Label changes

Label changes:

  • add P3: This is an optional display-density improvement with no blocked workflow or established behavior failure.
  • add impact:ux-friction: The request addresses extra scanning and scrolling when comparing several provider cards.
  • add issue-rating: 🌊 off-meta tidepool: Current issue advisory state selects this label.
  • add clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.
  • add clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.
  • add clawsweeper:needs-product-decision: Current issue advisory state selects this label.

Label justifications:

  • P3: This is an optional display-density improvement with no blocked workflow or established behavior failure.
  • impact:ux-friction: The request addresses extra scanning and scrolling when comparing several provider cards.
Evidence reviewed

What I checked:

  • Existing pace control does not satisfy the request: The current gate removes pacePercent together with forecast fields; focused tests explicitly require both stripe and text to disappear. It preserves provider-owned details using detailIsPaceDerived. (Sources/CodexBar/MenuCardView+ModelHelpers.swift:244, d8fa1d545df1)
  • Current header and shared rendering boundary: The card header renders informational subtitles and plan text without a compact-mode gate. Overview obtains its rows from the shared menuCardModel path. (Sources/CodexBar/MenuCardView.swift:334, d8fa1d545df1)
  • Row visibility has landed but solves a different problem: Current documentation describes selecting entire quota, usage, and credit rows. GitHub confirms https://github.com/steipete/CodexBar/pull/3196 merged on September 9; this does not supply independent prose suppression while retaining every row. (docs/ui.md:160, d8fa1d545df1)
  • Screenshot demonstrates the intended presentation: Inspected the prepared proof-image-1.png from the media manifest. It shows the proposed preference and side-by-side Overview presentations with fewer text lines and retained bars. This supports the design request but does not independently verify the claimed percentage reduction or all provider states.
  • Related design direction: The owner folded earlier Overview density work into https://github.com/steipete/CodexBar/issues/2578 in https://github.com/steipete/CodexBar/issues/2107#issuecomment-5161248429. The supplied compact-layout proposal explicitly leaves detailed provider views unchanged; live metadata confirms https://github.com/steipete/CodexBar/pull/2616 remains open, unmerged, and not cleanly mergeable.
  • Release comparison: The v0.57.0 Menu preferences contain Show pace and existing content controls but no Compact cards setting; the latest-release endpoint confirms v0.57.0 was published September 8. (Sources/CodexBar/PreferencesMenuPane.swift:26, 45cda6084d64)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
How this review workflow works
  • 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.

clawsweeper[bot] avatar Sep 09 '26 21:09 clawsweeper[bot]

The current controls do not provide the requested prose-only compact mode. Show pace also removes the graphical stripe, and Compact Overview suppresses reset information and applies only to Overview. A shared compact-card preference needs an explicit rule for retaining errors and meaningful data-quality notes. Keeping this open for that product decision.

steipete avatar Sep 23 '26 01:09 steipete

Thanks @swaynehales. Provider cards gained the compact overview and simplified rows in 0.73.0; a per-element hide option is not planned. Closing.

steipete avatar Oct 07 '26 16:10 steipete