Skip to content

Trim the README and refresh the quota screenshot - #63

Merged
MisterBrookT merged 1 commit into
mainfrom
docs/readme-refresh
Sep 12, 2026
Merged

MisterBrookT merged 1 commit into
mainfrom
docs/readme-refresh

Conversation

@MisterBrookT

Copy link
Copy Markdown
Owner

README

The front page restated the product framing three times (tagline, "What it is", "Three things people actually use it for") and spent its first screens explaining why a menu bar is useful. It now leads with the concrete problem — rolling quota windows — and the picture that answers it.

Work timer and goals move into a <details> block. They are off by default, so they no longer compete with quota for the top of the page. Both READMEs stay at 95 lines but carry less repetition and a much shorter path to Install.

Screenshot

use-quota.png still showed the old single-bar row, which the redesign replaced. Regenerated from the live views via scripts/screenshots.sh.

Layout bug found while regenerating

Cursor labels its windows API / Auto, not 5h / 7d. The 18pt label column wrapped "Auto" onto two lines and broke the row's alignment — visible in the first regenerated frame. The width moves to QuotaCaption.windowLabelWidth (26pt), and testWindowLabelColumnFitsWordLabels measures every shipped label against it so a future label that does not fit fails the build rather than the screenshot.

The snapshot harness previously mocked a provider with weekPercent: nil, which after the last PR correctly renders no data · check sign-in. Marketing screenshots should show the product working, so the mocks now all carry readings; the placeholder state is covered by tests instead.

Verification

swift build passes, python3 Tests/quota/test_quota.py 35/35, all README links and image paths resolve. Screenshots visually checked in light and dark. swift test still cannot run locally (CommandLineTools ships no XCTest) — CI must confirm.

The README explained the menu bar, restated the product framing three times,
and illustrated quota with a screenshot of the old single-bar row that no
longer exists. Work and goals now sit behind a disclosure so the front page
leads with the one thing most people install this for.

Regenerating the screenshot surfaced a real layout bug: Cursor labels its
windows 'API' and 'Auto' rather than '5h' and '7d', and the 18pt label column
wrapped 'Auto' onto two lines. The column width moves to QuotaCaption with a
test that measures every shipped label against it.

The snapshot harness now mocks providers that all have readings, so the
screenshot shows the product working rather than a no-data placeholder.
@MisterBrookT
MisterBrookT merged commit 8c030c4 into main Sep 12, 2026
2 checks passed
@MisterBrookT
MisterBrookT deleted the docs/readme-refresh branch September 12, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant