The card Settings › Privacy opens with ("没让厂商看到的") is redrawn to
the design the owner approved: quiet, the same background and 1px line
as every other card, no shadow, no gradient, and no shield in the head.
- The number of values masked, in full (5,812, not 5.8K), large and
thin, with Different values, Requests (and Held back / Sent as written
when there are any) on hairlines beside it, over the days' bars.
- From the agents, through this computer, to the providers: a hairline
per share of each agent's values, uneven on the way in, even on the
way out in the accent, crossing a ticked line under the shield, with
a value (round) and a placeholder (square) moving along them, on a
dot grid. Drawn in the middle's own pixels on every resize.
- The latest request with lines: what the vendor saw, placeholders
marked; "As written here" swaps in each value from this magpie's
memory (/api/masking/value, asked only then, never written down).
- What was kept and what found it, beside the values masked most as a
ranked 01-08 list with a hairline share; pointing still shows the
value, a click opens its records.
- Each part rises out of a blur in turn on first draw; reduced motion
turns the moving parts off.
New strings "Different values", "As written here" (zh, zh-TW, ja, de);
"On this computer" is the library plugin's key, so not reused. The
seven strings only the old card used are removed from i18n.js.
app.js stays under its budget with no raise (1,338,079 <= 1,338,084):
the dot grid is a CSS mask, the lines' dash array is CSS, and the
redraw's own code was tightened until it fit.
Tests:
- masking-records: waits for the hairlines, checks the card has no
box-shadow, and toggles the latest request to "As written here" and
back (the value shown, a forgotten one greyed, the marks back).
Viewport 1800 tall so the clicks don't scroll the page.
- mask-actions and privacy-model: the taller card pushed their rows out
of the viewport (mask-actions at 640px de, privacy-model's model row
in WebKit), so they wheel to the row first, as reach-based tests do.
Both were red on my change and green on its base 0815c9186 before
the fix.
Run at this head (rebased on origin/main 0c679c640; its only GUI change is i18n.js, so i18n-keys and the budget were run again there, ok):
- GUI, both engines, every file that reaches Privacy: 16 files, 249 pass, 0 fail.
- go test ./internal/gui -run Budget: ok.
- Screenshots of the card in Chromium dark/light and WebKit dark at
1100 and 640px, compared with the design.
Not tried: the real Linux (WebKitGTK) and Windows apps; the whole GUI
suite (only the 16 files that reach Settings › Privacy).