Repository navigation
feat: group the phone's settings, fill the demo terminal and draw a mission's steps on one rail - #2429
Merged
Conversation
HyunjunJeon
pushed a commit
to HyunjunJeon/hide
that referenced
this pull request
Nov 12, 2026
…missions and pull requests (with-hide#2432) ## Summary Two phone app changes, phone web only, no new data from hided and no native code: - **Adding a computer** gets one tidy page: the first screen's three steps under a back arrow, the big `QR 스캔` button, and `QR 링크 붙여넣기 ›` folded into one small row that opens the field and 연결 side by side, so the keyboard never hides 연결. A browser that already keeps 16 computers says so before anything is scanned. - **The browser's camera** now looks like the app's own scanner: full screen and dark, the frame where the app draws it with the rest dimmed, only the inside of the frame read, and where the QR is at the bottom. A camera that cannot open says why and offers the paste instead of a black box. - **An agent's detail** shows chips under its title for the open missions and pull requests it belongs to (a mission's title with the step, or `n/m` for its Conductor; a pull request's state mark and number). A chip opens that page. Before (left) and after, Korean, 390 pt wide (375 where marked): the add page, a bad link, and the field with the keyboard up at 375  The camera before and after, and a refused camera before and after:  The detail before and after, many long chips at 375 (sample data stretched for the capture only), and a chip opened:  ## Review - **Decide**: a full browser (16 computers) shows the limit line but keeps `QR 스캔` and 연결 working, because a kept computer whose connection was refused reconnects through this page; a new computer is still refused after the scan, as before. - **Decide**: a chip closes the detail and opens the mission or pull request page; its back arrow returns to that tab's list, not to the agent. - **Decide**: chips come only from exact links (the Conductor's or a step worker's row, a pull request's named agents); an agent that only shares a checkout with a mission gets none. - **Risky files**: `web/src/mobile/loader.tsx` - the add page's back sets the address to `/?list=1` (or `/` with no computer), so it never opens a computer by itself. - **Risky files**: `web/src/i18n/resources/mobileRelay.ts` - `mobile.relay.scanHint` is removed (nothing shows it now); with-hide#2429 edits the same line, so whichever merges second resolves one trivial conflict. - **Cost**: two size tokens (`--size-mobile-scan-frame`, `--size-mobile-scan-margin`) for the frame the app's scanner draws (240 at most, 48 from each edge). ## Tests - **Layer**: unit (jsdom page render; the demo test runs the phone's real store) and the phone relay e2e. - **Catches**: the paste field shown before it is asked for, a missing limit line, a lost way back; a mission chip for a finished mission or missing for a step's worker, and a chip that does not open its mission (planted: links read only finished missions; the test failed). - **Catches**: the browser camera reading a QR placed where the frame is, connecting, and stopping its track; the pasted link connecting from the folded row. - **Repeat**: `StartScreens.test.tsx`, `demoScreens.test.tsx` and `phone-relay.spec.ts` (20 tests) locally, green. - **Waits**: none added. ## Evidence - **Verified**: web typecheck, lint, design contract, all `src/mobile` unit tests (231), `e2e/phone-relay.spec.ts` (20), captures in light and dark at 390 and 375. - **Not verified**: a real phone's camera in Safari (the e2e and captures use a fake camera), and the iOS app (its `QR 스캔` still opens the native scanner; this page appears there from 설정 > 다른 기기 연결 and the demo's 내 컴퓨터 연결하기).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Four small phone app changes, phone web only, no new data from hided:
Group), and a group's note sits under its card, wrapping between Korean words.동시에, a step not begun says what it waits for, finished steps fold at the head.설정 > Mobilein Korean, Japanese and Chinese; it now names the desktop's tab in each language.Before (left) and after (right), Korean, 390 pt wide (the terminal at 375):
Review
depends_onon the phone, while the desktop reads the core'swaiting_on, which the phone frame does not carry; same answer today, but two places hold the rule until hided sendswaiting_on.03-notification(Settings behind the banner) and04-missions(the mission page, now 2/6 steps).web/src/mobile/HostList.tsx- the same list draws in the header's device sheet, which now also shows hairlines between computers.web/src/mobile/MissionDetail.tsx- the 지금 and 내가 볼 곳 sections are gone; their steps are on the rail.Tests
waiting for #7, #6, Step c).missions.test.tsx,missionGate.test.tsx,demoScreens.test.tsxx 5 locally, all green.Evidence
check-design-contract.mjs(tokens, contrast, logos, part count); CIverifygreen on a2f9a85, typecheck and the six web e2e shards included; c669e92 adds only the notes' word wrapping (phone unit tests 238 passed).phone-settings(a paired Mac) and the largest text size for Settings and the mission page.More evidence
다른 기기 연결inside one card.mobile/store/metadatanames no step count, so the 2/6 change needs no text change; the review notes' tabs, rows andshots.jsonselectors are unchanged.