Check the everyday screens at 200% text
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 72/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- react-native, typescript
- Domaine
- accessibility, mobile, testing
Piste de recherche
Start in apps/mobile/preview/shots.mjs and read the existing fontScale: 2 entries; first get the preview harness running as described there. Add shots for the eight listed routes, run pnpm build and pnpm shoot x2, then inspect each image and its audit output. Done when all eight shots pass and any layout fixes have light and Deep sea screenshots at 100% and 200% in both locales.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Why
The app tells people "Hermit's screens are built for up to 200%" (HM-SET-07.textSizeOver), but the preview harness checks only some screens at that size. ROADMAP.md, Now: the everyday loop, with fewer rough edges.
What to do
Today the fontScale: 2 list in apps/mobile/preview/shots.mjs covers the chat, two approval sheets, the wallet, Welcome, Activity, Settings and empty Memories. It misses Reminders, the calendar choice, Messages, Email accounts, the vault, Memories with items, the night shift and the morning briefing.
- Get the preview harness running in
apps/mobile/preview. Today it finds a browser only on an Apple silicon Mac; the help wanted issue "Let the preview harness run on Linux and Windows" fixes that. - Add one entry per missing screen to the
fontScale: 2list, written like the existing ones, with the routesreminders,calendar,messages,mail,vault,memories,nightandbriefing, and file names ending in-x2. - Run
pnpm buildandpnpm shoot x2. Look at every picture, and read the lineshoot.mjsprints for it: contrast, icons, touch targets and slips. - Where text is cut off, overlaps, or pushes a control out of reach, fix the layout in the screen (
apps/mobile/src/app/<route>.tsx) or, when the problem is shared, inapps/mobile/src/components/kit.tsx. Keep each fix as small as it can be.
Done when
- Each of the eight screens has a 200% shot in
shots.mjs. pnpm shoot x2prints no errors and no audit problems for them.- Every screen you changed has screenshots in the pull request at 100% and 200%, in light and Deep sea, es-419 and en.
- The pull request lists the screens that needed no fix.
How to check
cd apps/mobile/preview
pnpm build
pnpm shoot x2
Then, from the repository root, pnpm --filter @hermit/mobile test (it runs the accessibility scan in src/a11y-scan.test.ts) and the gates.
Keep in mind
- Fix layout, not words. If a string must change, change it in both
packages/copy/locales/en.jsonandes-419.json, with no em or en dashes. - Keep touch targets at 48 dp or more, as the kit does, and keep every control's role and label.
- A change in
kit.tsxmoves many screens: shoot the whole set (pnpm shoot) and check nothing else moved. - Made-up data only: the shots use
apps/mobile/preview/src/fake.
- Langage dominant
- TypeScript
- Étoiles
- 11
- Forks
- 0
- Merge moyen
- 10 min
- PR mergées (30 j)
- 6
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de DojoCodingLabs/hermit
-
docs good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 87/100
DojoCodingLabs/hermit#73 ·
Les mainteneurs répondent en général sous 1 jour
-
device-lab
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
DojoCodingLabs/hermit#45 ·
Les mainteneurs répondent en général sous 1 jour
-
device-lab
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
DojoCodingLabs/hermit#44 ·
Les mainteneurs répondent en général sous 1 jour
-
device-lab
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
DojoCodingLabs/hermit#43 ·
Les mainteneurs répondent en général sous 1 jour
-
agent-friendly docs good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
DojoCodingLabs/hermit#39 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de DojoCodingLabs/hermit
Issues similaires
-
bug zoo
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
software-mansion/runntime#151 ·
Les mainteneurs répondent en général sous 4 jours
-
Difficulté 1/5 1-3 heures Accessibilité débutants 86/100
sidebandstudio/clawtrate#728 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement github_actions help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
tranquilo-art/tranquilo-app#254 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Les mainteneurs répondent en général sous 1 jour
-
bug tooling
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
endora-commerce/endora-commerce#1978 ·
Les mainteneurs répondent en général sous 1 jour