Repository navigation
0.1.6: a colour used in many places prints its first ten texts and counts the rest - #11
Merged
Merged
Conversation
…unts the rest One faint colour used for every row of a list made a look print a line for every row. On Hacker News's front page, 235 of 237 findings at desktop were the same grey (#828282 on #f6f6ef, 3.5:1), and the look ran to 532 lines. The printed report now names the first ten texts that share the same colours and counts the rest on one line. Only the printing changes: the count of findings, the exit code, accept and --json leave none out, and ra's own fixture pages print exactly what they printed before. --at can also be given more than once. Before, the last one won without a word. Co-Authored-By: Claude Fable 5.2 <[email protected]>
0thernet
enabled auto-merge (squash)
November 18, 2026 22:35
This was referenced Nov 18, 2026
Merged
0thernet
added a commit
to hraness/stripe-history
that referenced
this pull request
Nov 19, 2026
Moves ra from 0.1.3 to [0.1.6](https://github.com/hraness/ra/releases/tag/v0.1.6), the latest release. Between them: - 0.1.4 ([ra #5](hraness/ra#5)) leaves alone text behind a dialog that makes the rest of the page `inert` or `aria-hidden`, measures a wrapped line that keeps its spaces from its first letter to its last, and no longer waits for the tab icon. - 0.1.5 ([ra #6](hraness/ra#6)) gives a request that starts late as long to finish as the first ones had. - 0.1.6 ([ra #11](hraness/ra#11)) prints the first ten texts of a colour used in many places and counts the rest. The release's other changes are to ra's README. - `package.json` points at the v0.1.6 release asset. `bun.lock` holds its sha512, which matches the asset `gh release verify-asset v0.1.6 hraness-ra-0.1.6.tgz -R hraness/ra` verified. - ra declares the same peer dependency as 0.1.3 (playwright-core ≥ 1.58) and has no dependencies of its own, so nothing else in the lockfile changed. Local checks on this head: - `bun run check` passed (the cost surfaces, the typecheck, lint and 402 tests), and so did `bun run build`. - `bun run ra check` passed: 15 states, 72 looks in 92 s, with 21 notes; Chromium 151.0.7922.34 (Chrome for Testing, playwright-core 1.62.0). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Why
One faint colour used for every row of a list made a look print a line for every row. I ran
ra look https://news.ycombinator.com/from a clean install of 0.1.5: 237 findings at desktop, 235 of them the same grey (#828282on#f6f6ef, 3.5:1 where 4.5:1 is needed), in 532 lines. Each line was true, and together they buried the other findings and broke the README's claim that a look is short.What changes
ra lookandra check) names the first ten texts that share the same colours, ratio and needed ratio, and then prints one line:225 more texts have the same colours. --json lists every one.Inra check, texts are counted together only when they show at the same views.acceptmatching, snapshots and--jsonare as before.--atcan be given more than once (--at phone --at desktop). Before, the last one won without a word.docs/findings.md, the skill and the README say so in a sentence each. The version is 0.1.6.Ten, and not one, because the first ten usually show which kinds of element use the colour (on that page: rank, site, score, byline, user, age, hide, comments).
Checked
bun run check: 47 tests pass (four new ones for the printed text).bun run test:browser: 41 pass (two new:--attwice, and a page of twelve pale rows whose look prints ten and counts two while--jsonkeeps all twelve). Chromium 158 from playwright-core 1.65.0, through the machine's browser lane.ra look broken --at phoneon the fixture site prints the same 123 lines as before the change, so the sentences in the README picture and on hraness.com/ra still match.Left for later
ra diffstill prints onenew findingline for each text when a colour turns faint.🤖 Generated with Claude Code