#1973 (and KashmirAwana's comment on it): with the account lingting
hidden on Usage, the project lingting-react-ui on Usage's Sessions tab
showed as "••••••••-react-ui". The mask walks the whole Usage view and
hides any text equal to an account name. Only "a name inside a longer
word" was spared, and a hyphen counted as a word break.
- Sessions and Context on Usage are read from the agents' own logs. api()
already doesn't look through sessions answers for accounts, so there
is no account there to hide. In #sessionsPane and #contextPane only an
email address is hidden now. A project, session or prompt that holds
an account's name keeps it, even a folder named exactly like the
account.
- Elsewhere (Overview, Requests, Routing, the tray panel), a name inside
a word joined by a hyphen or a dot (lingting-react-ui, lingting.dev)
isn't the account either. The account standing alone still is, and so
is an address.
account-mask-sessions.test.cjs takes the reporter's steps (Usage, Hide
accounts, then Sessions) with the account lingting and the projects
lingting-react-ui and lingting. It runs in en, zh, zh-TW, ja and de,
Chromium and WebKit, at 1100 and 420 wide.
Run: on HEAD's app.js the new test fails (Chromium en/ja 420). With the
Sessions/Context rule off, or the hyphen/dot rule off, it fails too.
With the fix it passes 20/20, and so do account-mask 4/4, mask-emails
2/2, privacy-hides-accounts 4/4, account-alias 20/20 and usage-fold 6/6.
Not tried: the reporter's own data in the desktop app.