Check the everyday screens at 200% text
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react-native, typescript
- 领域
- accessibility, mobile, testing
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 11
- 派生
- 0
- 平均合并
- 10 分钟
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DojoCodingLabs/hermit 的其他 Issue
-
docs good first issue
难度 2/5 1-3 小时 新手友好度 87/100
DojoCodingLabs/hermit#73 ·
维护者通常 1 天内回复
-
device-lab
难度 2/5 1-3 小时 新手友好度 70/100
DojoCodingLabs/hermit#45 ·
维护者通常 1 天内回复
-
device-lab
难度 2/5 1-3 小时 新手友好度 62/100
DojoCodingLabs/hermit#44 ·
维护者通常 1 天内回复
-
device-lab
难度 2/5 1-3 小时 新手友好度 72/100
DojoCodingLabs/hermit#43 ·
维护者通常 1 天内回复
-
agent-friendly docs good first issue
难度 2/5 1-3 小时 新手友好度 88/100
DojoCodingLabs/hermit#39 ·
维护者通常 1 天内回复
查看 DojoCodingLabs/hermit 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
superlinked/sie#1033 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
remix-run/react-router#15838 ·
维护者通常 1 天内回复
-
area/ci bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
melgarafael/DeskcommCRM#5290 ·
维护者通常 1 天内回复