Boost: let the user choose what may go to Boost

Đang mở
#71 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react-native, typescript
Lĩnh vực
mobile, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).
Ngôn ngữ chính
TypeScript
Star
11
Fork
0
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DojoCodingLabs/hermit

Tất cả issue của DojoCodingLabs/hermit

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.