Repository navigation
just ux-measure: count what each screen holds, and photograph it (#629) - #636
Merged
Merged
Conversation
The UX audit (#627) needs every screen counted the same way, before and after each fix. `just ux-measure <folder>` counts the nine measures of the research note's section 3 on every screen, at the audit's sizes and in every Language, photographs English and French, and writes one table. It never touches the dev instance: it copies the dev library into a throwaway instance of the debug binary, starts a second one empty for the empty screens and the pages a secret link opens, and removes both, Ctrl-C included. Phones and the iPad are measured as touch screens. The dev tools share what the new one needed: a tool's browser window (toolContext), signing in at an /auth door (signInAt), the browser-card titles, and the two audit phones in sizes.mjs. Closes #629 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLiRuBoxYfQJUEtSDrB
7 tasks done
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.
Summary
just ux-measure <folder> [--everyday]counts the nine measures ofdocs/research/ux-reading-crowding-and-finding.mdsection 3 on every screen, photographs it, and writes one table. Closes #629.Not built as the ticket worded it: an option naming the instance to measure. The tool always starts its own two instances, so no run can reach the dev library by mistake.
Evidence
Run times (full run on the reviewed code):
An earlier
--everydayrun on its own, before phones became touch screens, took 34 m 2 s.Spot check: interface and content words, counted by hand on the short recipe at 402 px in English, against the tool:
The 2 apart are the step's number "1": the interface draws it, but it equals a number in the answer, so the note's exact-match rule counts it as content.
Dev untouched: "the dev database is unchanged" after the full run, read row by row. Nothing was left running and no folder was left behind. A Ctrl-C test by saved PID left nothing either.
Tests:
just checkandjust testin full mode. The tools' tests runmeasureInPagein Chrome against pages they draw:Found on the way, filed:
Merge Danger
Door: two-way
A dev tool and shared helpers for the other dev tools. Nothing Kamosu ships changes.
Blast Radius: dev-tools
just screens,just proto-newandjust dev-sessionnow open their browser throughtoolContextand sign in throughsignInAt, the same steps moved.just screensstill writes its nine sizes. Likejust test,just ux-measurebuildsui/build, which leaves a running vite answering errors until the nextjust dev-start.🤖 Generated with Claude Code
https://claude.ai/code/session_013rPDLiRuBoxYfQJUEtSDrB