Boost: show Boost state in the chat header and on HM-CHAT-02
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
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react-native, typescript
Hướng nghiên cứu
Read packages/runtime/src/chat-state.ts and its tests first, then trace headerStatus in apps/mobile/src/app/index.tsx and the HM-CHAT-02 view in apps/mobile/src/app/where.tsx. Add coverage for the runtime states and view logic, following the issue’s guidance to check both locales, themes, and TalkBack behavior. Done means the header and HM-CHAT-02 show the listed Boost states, with screenshots and the checks listed in the issue passing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Why
US-BOOST-02: "The header chip reads 'On your computer' during Boost turns." HM-CHAT-02, "Where Hermit runs", lists "Boost state" (PRD section 2.7). Today the header at rest and HM-CHAT-02 can only say "On this phone" (HM-CHAT-02.onPhone). People should see where their words went (VISION.md, principle 2), and docs/research/design-benchmark.md suggests the same: one small marker that changes when work leaves the phone.
What to do
- The header. While a turn runs on Boost, the header says so: "On your computer" in English, the PRD's words, and es-419 text in tú. Today the text comes from
headerStatusinapps/mobile/src/app/index.tsxandmascotLabelinapps/mobile/src/mascot.ts. Drive it from the runtime's chat state (packages/runtime/src/chat-state.ts), never from Boost's text. During a turn the header also shows what Hermit is doing; decide how both fit, and show it in the screenshots. - HM-CHAT-02 (
apps/mobile/src/app/where.tsx): not paired; paired and answering, with the computer's model; paired and not answering; the last Boost turn's speed next to the phone's. - The mascot, if it appears: the existing
10-boostrig pose (apps/mobile/src/mascot-rig.ts;docs/brand/mascot/png/10-boost.png), mapped inRIG_POSE. Never a new drawing. - States, in docs/prd/hermit-ui-states-and-edge-cases.md, in the HM-CHAT-02 row.
- TalkBack. The label follows the state, and a change is announced once (US-SET-07).
Tests first, for the chat state and the view logic (packages/runtime/test/, apps/mobile/src/*.test.ts).
Done when
- A turn on Boost shows in the header that it runs on the computer, from its start to its end, and the header says "On this phone" otherwise.
- HM-CHAT-02 shows each Boost state above.
- Screenshots in light and Deep sea, in es-419 and en, with made-up data.
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 #56.
- #69. The view and the copy can start against a fake runtime signal once the design is accepted.
Keep in mind
- Copy in
packages/copy, in both locales, with the same keys and placeholders and no em or en dashes. - The label comes from code, never from the model or Boost (AGENTS.md rule 7).
- The mascot is locked (AGENTS.md rule 12).
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DojoCodingLabs/hermit
-
docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
DojoCodingLabs/hermit#73 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-lab
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
DojoCodingLabs/hermit#45 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-lab
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
DojoCodingLabs/hermit#44 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-lab
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DojoCodingLabs/hermit#43 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-friendly docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
DojoCodingLabs/hermit#39 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DojoCodingLabs/hermit
Issue tương tự
-
bug zoo
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
software-mansion/runntime#151 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
sidebandstudio/clawtrate#728 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement github_actions help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
tranquilo-art/tranquilo-app#254 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
endora-commerce/endora-commerce#1978 ·
Maintainer thường phản hồi trong vòng 1 ngày