Skip to content

feat: refine phone connection and device screens - #2025

Merged
yansfil merged 12 commits into
mainfrom
feat/phone-design
Nov 2, 2026
Merged

yansfil merged 12 commits into
mainfrom
feat/phone-design

Conversation

@yansfil

@yansfil yansfil commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Related: #2019, #2018

Summary

폰의 연결 안내가 길고, 기기 선택 메뉴가 화면 내용과 겹쳤습니다.
선택한 B1 안으로 기기 중심의 QR 화면과 아래에서 열리는 기기 선택창을 적용하고, 알림·홈 화면 안내를 간결하게 정리했습니다.
한국어·영어 문구를 기존 언어 설정에 맞추고, 상세 제목은 줄바꿈하며 답장과 빠른 키는 공용 부품으로 맞췄습니다.

QR 연결 화면: 왼쪽 변경 전, 오른쪽 B1 적용 후 (각 390px)

기기 선택: 왼쪽 변경 전, 오른쪽 아래 선택창 (각 390px)

버전 안내: 왼쪽 변경 전, 오른쪽 짧은 안내와 버전 비교 (각 390px)

Review

  • 판단해 주세요: 390px 화면의 여백, 한글 줄바꿈, 기기 선택창의 정보 밀도가 적절한지 확인해 주세요.
  • 조심해서 볼 파일: HostPicker.tsx, ui/sheet.tsx는 선택창을 닫은 뒤 기기 버튼으로 초점을 돌려줍니다.
  • 연결·전송·서비스 워커·프로토콜 동작은 기존 계약을 유지합니다.

Evidence

  • 최종 커밋에서 폰 E2E 전체 20개, 웹 2,481개, 데스크톱 307개 테스트와 빌드·린트·디자인 계약 검사를 통과했습니다.
  • 이전 커밋의 Rust 검사에서 변경 밖 테스트가 실패 후 단일 재실행으로 통과했습니다. 원본 결과는 아래 기록에 보존했습니다.
  • 390px 실제 브라우저에서 밝은·어두운 화면, 긴 기기명, 한국어 글꼴, 오프라인·연결 거절, 상세 대화·터미널을 확인했습니다.
  • 캡처는 실제 폰 번들과 테스트 중계 픽스처를 사용했습니다. 실제 iPhone의 설치·카메라·OS 알림은 이번 검증에 포함하지 않았습니다.

후속: 도구 호출 요약은 별도 이슈로 분리했습니다.
정규화된 도구 호출에는 원본 파일 위치가 없어 기존 대화 페이지 기준에 바로 넣을 수 없습니다.
파일 대화, 그래프 대화, 데이터베이스 대화의 세 경로에서 페이지·소유권·증분 갱신을 함께 설계해야 합니다.
이번 변경에는 도구 요약이나 wire 변경이 없습니다.

Verification record
  • Head: a36833ebb53489507e74735270409825efcc0430
  • Base ancestry: 97bbc867b69f64184ad0391373e4c9b761a231fd (#2019 and #2018 merged).
  • Baseline visual source: 1205d9d4b21f1757f99a902e7664f2ecacde9b2c; saved real build with realistic fixture name.
  • Follow-up review: direct pairing heading/expiry assertions match the chosen B1 screen; stale hosted-layout documentation updated; push-removal assertions wait for the home URL before reading service-worker registrations. No product-code change after the captures. The 15-file final diff retains transport and ownership boundaries.
  • No independent review was requested in this task.
  • All verification commands ran under lockf -k /tmp/mission-27-gate.lock, with pnpm 10 for web commands.
  • Final head: verify-web.sh web e2e mobile.spec.ts mobile-settings.spec.ts phone-relay.spec.ts passed 20/20 without retry; verify-web.sh exit 0 (web 2,481 passed / 3 skipped, desktop 307 passed / 4 skipped); design contract exit 0.
  • E2E used fresh hided and hook binaries built after merging main; the later commits change only tests and documentation. Full native lint/tests were not repeated for this test-only follow-up; the previous local record is below, and the final head runs CI.
  • Previous validation head: 0d2bb7d7c919a0c1b49b04becd6484a18715d2f6; the following Rust/web results belong to that head.
  • bash scripts/verify-cargo.sh lint: exit 0.
  • bash scripts/verify-web.sh: exit 0; web 2,465 passed / 3 skipped, desktop 307 passed / 4 skipped, typecheck/lint/build passed.
  • Mobile relay E2E: 15 passed; node scripts/check-design-contract.mjs: exit 0.
  • bash scripts/verify-cargo.sh test-scoped: core 3,929 passed / 1 failed / 20 ignored. runtime::tests::inbound::a_linked_node_s_sessions_are_read_through_its_link expected no pane registration but saw Unregistered; its one exact-test rerun at that previous validation head passed. Original failure retained.
  • Remaining workspace tests, run once after fail-fast with test-scoped --workspace --exclude herdr-core: exit 0, 3,419 passed / 149 ignored across 62 suites. Core doc-tests also exit 0 (0 tests). Including the successful focused rerun, 7,349 Rust tests passed / 169 ignored; the original failed full-run result remains recorded above.
  • At intermediate head 5c0f835711e768097437237c0f4c8371e1c12bdb, lifecycle::a_holder_runs_its_shell_and_carries_input_and_output_across_connections exited before its expected terminal output. Its one exact-test rerun at that same head passed. Both native test failures are outside this diff; their causes were not changed or claimed resolved.
  • Captures at 0d2bb7d7c remain applicable: phone components, their translations and shared sheet have no changes at the final head. Captures use a loopback relay endpoint override and a real encrypted peer with fixture application data; viewport measured as 390 × 844 CSS pixels.
  • Terminal keeps the existing body token (13px × 1.25 on phone); no terminal parsing or input behavior changes.
  • Local follow-up at 80528c5f9 passed 19/20 mobile E2E cases; the push-removal test read service-worker registrations during navigation. It had waited for an action present on both the old picker and the destination. The final test waits for the destination URL first, without retries, sleeps or product changes.
  • Original CI 41469753615 failed the direct-pairing journey because main added an expectation for the former heading and expiry sentence. The final test asserts the chosen device-name heading exactly and the approved short expiry copy, with all post-pairing assertions preserved.
  • Physical iPhone installation, QR camera permissions, OS push delivery and Windows/Linux native runtime are not established by these local macOS checks.

@yansfil
yansfil merged commit 4b61785 into main Nov 2, 2026
62 checks passed
@yansfil
yansfil deleted the feat/phone-design branch November 2, 2026 17:26
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.

1 participant