Skip to content

Docs: make fingerprint copy hold in every bot mode (#116) - #163

Open
mamoun123121314 wants to merge 1 commit into
DojoCodingLabs:mainfrom
mamoun123121314:docs/bot-mode-fingerprint-copy-116
Open

mamoun123121314 wants to merge 1 commit into
DojoCodingLabs:mainfrom
mamoun123121314:docs/bot-mode-fingerprint-copy-116

Conversation

@mamoun123121314

Copy link
Copy Markdown
Contributor

Fixes #116.

Reworded the listed lines in README.md, VISION.md and the four en/es-419 locale files so they hold in Ask, Auto and Don't ask: payments and logins always wait for the fingerprint, while sends ask first unless the bot is in Don't ask. The lines the issue says already hold (payment/wallet copy, HM-APPR-01.shownFoot, HM-MAIL-04.sendHint) were left unchanged.

Local checks: all four locale files parse as JSON with identical key sets, no em/en dashes in added lines, git diff --check clean, and node scripts/check-privacy.mjs passes. No pnpm/Node install is available here, so typecheck/lint/test were not run locally. The release note for the first APK with bot modes should state what Don't ask changes; that APK is not part of this docs-only change.

@dbejarano820 dbejarano820 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for picking this up. The English rewording is accurate: payments and logins keep the fingerprint in every mode (the hard limits in packages/cage/src/policy.ts), and only Don't ask lets a bot's sends skip the sheet (decideForBot in packages/cage/src/modes.ts), so the promise itself is right. I ran the gates on the branch: pnpm check:privacy, pnpm typecheck, pnpm lint, pnpm test and the PR guard all pass. It merges cleanly with main and keeps the {biometric} placeholder from #135.

A few things to fix before we can merge:

  1. The Spanish uses the English mode names. In the app the modes are "Preguntar", "Auto" and "Sin preguntar" (HM-BOT-03.modeAsk, HM-BOT-03.modeDontAsk, HM-BOT-04.chip.dontAsk). Please use those in every es-419 line: packages/copy/locales/es-419.json:220, 385, 696, 1039 and apps/site/locales/es-419.json:66, 88, 171, 192.
  2. packages/copy/locales/es-419.json:220 breaks on iPhone. "sin ella" and "la piden" assume "huella", but since #135 {biometric} can be "Face ID", which takes "el". A version without the pronoun works for every phone:
    • en: Payments and logins always need your {biometric}. Sends do too, unless you put a bot in Don't ask.
    • es-419: Los pagos y los inicios de sesión siempre piden tu {biometric}. Los envíos también, salvo que pongas un bot en Sin preguntar.
  3. HM-SET-01.perm.fingerprintUse (line 666 in both locales) now leaves out sends. In Ask (the default) and Auto, every send still asks, so the line describes less than the app does. This holds in every mode:
    • en: To approve payments, logins and sends, and for the app lock.
    • es-419: Para aprobar pagos, inicios de sesión y envíos, y para el bloqueo de la app.
  4. Please fill in the pull request template (.github/pull_request_template.md): a Closes #116 line, the non-negotiables and checklist boxes, the AI agents section with the "I read and ran everything" box, and screenshots. These strings show on screens (onboarding permissions, About, Privacy, What Hermit can use, the connector screen), so AGENTS.md asks for each in light and Deep sea, es-419 and en. The preview harness in apps/mobile/preview can take them (CONTRIBUTING.md, "Screenshots for a UI change"). If you can't run it, say so and we'll help.

Optional nits:

  • Line 385 in both locales: the colon after "airplane mode" ties two unrelated ideas. A period reads better: "It works in airplane mode. Payments and logins wait for your {biometric}, and sends ask first unless you put a bot in Don't ask." Same for the colon in HM-SITE-02.short3.
  • Some Spanish lines say "el inicio de sesión"; the rest of the app says "los inicios de sesión" (for example HM-BOT-04.dontAskSheet.money).
  • Leaving the release note box from the issue out of this PR is fine.

Thanks again. Once the Spanish uses the app's own mode names, this is close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants