Boost: let the user choose what may go to Boost

Aperta
#71 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react-native, typescript
Ambito
mobile, security

Direzione di ricerca

Read the design in #55 and the phone-side issue #69 first; the user exclusion unit and the existing rule depend on them. Then inspect apps/mobile/src/app/boost.tsx, settings (ENT-Setting), and docs/prd/hermit-ui-states-and-edge-cases.md. Done means settings extend the rule without allowing vault, wallet, or tainted turns to leave the phone, with tests, localized screenshots, and the listed checks passing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

copy help wanted privacy ui

Why

US-BOOST-03: "I want to keep some topics phone-only, so that sensitive requests never leave the phone even to my laptop." The phone side of a Boost turn ships with the hard limits (vault, wallet, tainted) and the user's consent to use Boost at all. This issue adds the user's own exclusions, in the unit the design chose, on HM-BOOST-01.

What to do

  1. Settings. Keep the user's choices in the encrypted database (settings, ENT-Setting), in the unit the design picked.
  2. The rule. Extend the function from the phone-side issue, so an excluded turn stays on the phone. The hard limits come first: a setting can add exclusions, never remove vault, wallet or tainted.
  3. The screen. A section on HM-BOOST-01 (apps/mobile/src/app/boost.tsx) that lists what never goes, in code's words, and the user's switches.
  4. States, in docs/prd/hermit-ui-states-and-edge-cases.md.

Tests first: the rule across combinations of settings, and a test that no setting lets a vault, wallet or tainted turn go.

Done when

  • The user can exclude what the design allows, and an excluded turn runs on the phone.
  • A test inverts every setting and still sees vault, wallet and tainted turns stay on the phone.
  • Screenshots in light and Deep sea, in es-419 and en.

How to check

pnpm --filter @hermit/runtime test
pnpm --filter @hermit/mobile test
pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test

Depends on

  • Blocked by the design in #55.
  • #69

Keep in mind

  • Nothing goes to Boost without the user's choice (VISION.md, principle 2).
  • Text other people wrote never changes a setting. Only the screen does.
  • Strings in packages/copy: es-419 in tú, and en, with no em or en dashes.
  • Open a pull request only once everything under Depends on is accepted or merged, and a maintainer has said so here (AGENTS.md: code for a feature without an accepted issue may be closed).
Lingua principale
TypeScript
Stelle
11
Fork
0
Merge medio
10m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DojoCodingLabs/hermit

Tutte le issue di DojoCodingLabs/hermit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.