Skip to content

Settings: 왼쪽 목록이 있는 넓은 창, 알림 한 페이지 - #1008

Merged
yansfil merged 8 commits into
mainfrom
gen-prd/settings-left-nav
Oct 12, 2026
Merged

yansfil merged 8 commits into
mainfrom
gen-prd/settings-left-nav

Conversation

@yansfil

@yansfil yansfil commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Related: PRD agents/prd/settings-left-nav/prd.md (local); sibling run sidebar-titlebar-refresh shares diagnosticsText in web/src/settings.ts

Summary

  • Today Settings is a 720 px dialog with six tabs in a row, each page carrying a description sentence. Notifications are split between General and Mobile, and GitHub and About sit below General.
  • Settings is now an 880 px dialog, opened with the same ⌘, and the same entry points. A left list groups the pages into App (General, Notifications, Devices, Shortcuts) and This Mac (Agents, Hide AI, Mobile, GitHub), with About pinned at the bottom.
  • Notifications is a new page: this machine's notification rows (desktop only) and the Phone push choice moved there from Mobile. GitHub and About moved out of General into their own pages. The row content and behavior did not change.
  • Each page shows only its title. The page descriptions and the settings.connections/settings.about group titles were removed from all four locales.
  • The list is a Radix vertical Tabs: Up/Down/Home/End move through it and show each page. On a short window the page scrolls on its own and the list does not move.

왼쪽이 지금, 오른쪽이 바뀐 Settings: 가로 탭과 탭 설명이 왼쪽 목록(App / This Mac, 맨 아래 About)으로, 알림은 Notifications 한 페이지로
Electron 데스크톱 e2e(dark)에서 연 Settings > Notifications: 이 기계 알림과 Phone 푸시가 한 페이지

Review

  • 판단해 주세요: in the first image, whether the 200 px list width and the Notifications page with the machine group title (This Mac) above the Phone group read well.
  • 판단해 주세요: the machine group label follows the browser's guess (This Mac / This PC / This computer), the same as the existing machine label; it is not the core's machine name (PRD D-07).
  • 조심해서 볼 파일: web/src/SettingsSheet.tsx - focus order and scroll ownership (the page panel scrolls, the list stays still); a regression shows up as keyboard focus trapped or the list scrolling away.
  • 조심해서 볼 파일: web/src/settings/NotificationsTab.tsx - the push choice moved from Mobile; it sends the same set_push_mode event as before.
  • 조심해서 볼 파일: scripts/pen-screens-settings.mjs - one sheet builder now draws Settings for the Settings, onboarding, Mobile and core-move boards; design/hide-screens.pen is its output.

Evidence

  • 확인한 것: web Playwright e2e, 54 passed across 19 spec files before merging main, and the 12 Settings-related specs (26 tests) again after it. They cover the list groups and order, keyboard movement, the 720x480 window (page scrolls, list does not move, About visible, list overflow 0 px), push via Notifications, and language switching.
  • 확인한 것: desktop Electron e2e: first-run, overview-modal and tab-names passed (5 tests), before and after merging main; first-run opens Settings > Notifications in the real Electron window and captures it (second image).
  • 확인한 것: sasu implement verify (verify-cargo.sh test and lint), verify-web.sh (web 1465 + desktop 177 unit tests, typecheck, builds) and check-design-contract.mjs passed after merging main.
  • 확인한 것: gallery captures (light, dark, Korean at 17 pt, 720x480) and Pen exports of the settings boards were compared by eye against the approved mock.
  • 확인하지 못한 것: no manual check on a packaged hide.app; /Applications/hide.app and the operator's Herdr were left untouched. The desktop local-kit spec was skipped because it needs HIDE_E2E_APP.
  • 확인하지 못한 것: Pen does not render SVG icon marks, so the list icons are empty in hide-screens.pen; the web shell draws them.
  • 확인하지 못한 것: the first verify-cargo.sh test run failed once in node_session_activity::serve_preserves_kit_protocol_alongside_activity with EAGAIN (os error 35) on spawn under parallel load. It passed 3/3 in isolation and in the two full runs after it. This PR changes only doc comments in Rust.
  • 생성물: design/hide-screens.pen (about 25 MB to 27 MB) is regenerated by node scripts/gen-screens.mjs. If sidebar-titlebar-refresh lands first, regenerate it rather than hand-merge it.
Verification record
  • PRD: agents/prd/settings-left-nav/prd.md (sha256 5fbb32ea903bf3ebaf9aec0707c9bace5e3dc5786675b45475870a600c0b4c14)
  • Base 5993a59 → head fea62d3, verified 2026-10-12T12:34:55.689Z: PASS
  • Verification report: agents/runs/settings-left-nav/verification-report.json and agents/runs/settings-left-nav/verification-report.md; source fingerprint 4b9e554f1fd391575fb05d1131db7218d3d25cbeb252d698bcff694a87eba31b
  • Suites:
    • S1: GREEN bash scripts/verify-cargo.sh test (exit 0)
    • S2: GREEN bash scripts/verify-cargo.sh lint (exit 0)
  • Reviews:
  • Evidence: 11 registered (9 screenshot, 2 log); paths are local to the run directory
    • agents/runs/settings-left-nav/capture/before-after.png
    • agents/runs/settings-left-nav/capture/general-light.png
    • agents/runs/settings-left-nav/capture/notif-light.png
    • agents/runs/settings-left-nav/capture/agents-dark.png
    • agents/runs/settings-left-nav/capture/hideai-ko-large.png
    • agents/runs/settings-left-nav/capture/notif-small.png
    • agents/runs/settings-left-nav/capture/desktop/first-run-settings-notifications.png
    • agents/runs/settings-left-nav/design/export2/screen-settings-light.png
    • agents/runs/settings-left-nav/design/export2/screen-settings-dark.png
    • agents/runs/settings-left-nav/notes/e2e-2.log
    • agents/runs/settings-left-nav/notes/desktop-e2e.log
  • Changed paths: 40 (see Files changed)
  • Delivery: mode pr, branch gen-prd/settings-left-nav, base main

App (General, Notifications, Devices, Shortcuts) and This Mac (Agents,
Hide AI, Mobile, GitHub) with About apart at the list's foot, each page under
its title alone. Notifications holds the desktop switch and the phone push;
GitHub and About leave General, which keeps Appearance alone. The sheet is
880 wide and keeps the window inset on a smaller window.
…ings

Screen / Settings is rebuilt from the approved boards by
scripts/pen-screens-settings.mjs; Onboarding's Notifications, Core move's
Devices and Mobile draw the same sheet frame. The library carries the
880 sheet width and the 200 list width.
The title row sits outside the scrolling page, so Tab from the list reaches
the close button and then the page itself. The push dropdown lives with the
Notifications page, the list fits the smallest window, the Hide AI and
interface-language specs measure and read the new pages, comments that named
Settings > General for notifications or the daemon frame name the page that
shows them now, and the Windows and Linux boards say This PC and This
computer.
@yansfil
yansfil merged commit 0a6dd12 into main Oct 12, 2026
21 checks passed
@yansfil
yansfil deleted the gen-prd/settings-left-nav branch October 12, 2026 14:31
yansfil added a commit that referenced this pull request Oct 12, 2026
Related: follows #1008 (Settings left nav) · PRD
`agents/prd/sidebar-titlebar-refresh/prd.md`

## Summary

- 사이드바가 일하는 프로젝트를 앞에 둡니다: 에이전트 없는 프로젝트는 `No agents N`에 접히고, 일하는 에이전트가 있는
프로젝트만 600 굵기입니다.
- 에이전트가 모두 잠든 프로젝트는 `☾ 4d` 칸 하나로 접히고, 펼치면 깨어날 때까지 펼친 채로 있습니다. 판정은 모두 코어가
하고 웹은 그리기만 합니다.
- 프로젝트·폴더 줄에 포인터나 초점이 있으면 `+`(그 프로젝트에서 시작)와 `⋯`(맥락 메뉴)가 배지 자리에 나오고, 섹션
머리는 스크롤해도 위에 붙습니다.
- macOS 제목 표시줄과 Workspace 도구 줄을 한 줄로 합쳤습니다: 신호등 옆 `This Mac`, 가운데
`project / checkout`과 아이콘 넷. Home 줄과 위쪽 검색 아이콘 대신 `Search ⌘K` 줄을 둡니다.
- 톱니 앞 `?` Help 메뉴(단축키, Copy diagnostics, Report an issue, 버전)와
checkout·폴더 메뉴의 `Open in VS Code`를 더했습니다.

![후보 앱: 신호등 옆 This Mac과 가운데 alpha / main이 한 줄, Search 줄, 600 굵기의 일하는
프로젝트, No agents 2 접기, 줄 위 +
⋯](https://github.com/yansfil/pr-assets/blob/main/hide/sidebar-titlebar-refresh/51fad04/02-workspace.png?raw=true)

![폴더 줄 ⋯ 메뉴의 Open in VS
Code](https://github.com/yansfil/pr-assets/blob/main/hide/sidebar-titlebar-refresh/51fad04/05-folder-menu.png?raw=true)

## Review

- **판단해 주세요**: 첫 이미지에서 신호등과 `This Mac`, 가운데 경로가 한 줄에 놓인 높이와 간격이 승인된 r3
보드처럼 읽히는지.
- **판단해 주세요**: 잠든 프로젝트를 펼친 상태는 깨어 있는 에이전트 줄이 보일 때만 끝납니다. 재연결로 줄이 잠깐 비어도
유지하려는 것이고, 깨자마자 다음 갱신 전에 끝난 에이전트는 열쇠를 남깁니다(D-19 해석).
- **조심해서 볼 파일**: `herdr-core/src/runtime/agents.rs` -
`refresh_inactive_groups`가 에이전트 이벤트마다 도는 경로에 프로젝트별 presence 계산을
더함(high-frequency path).
- **조심해서 볼 파일**: `herdr-core/src/node_migration/reown.rs` - core 이동 때
`no_agents/<device>`, `asleep/<project>` 접기 열쇠를 옮기는 규칙(ownership).
- **조심해서 볼 파일**: `desktop/src/main/host.ts`,
`desktop/src/preload/index.ts` - 새 채널(창 테두리, VS Code 확인과 열기)의 보낸 쪽 확인과
로그(failure path).
- **조심해서 볼 파일**: `web/src/index.css` `.window-drag` - 끌기 영역이 단추를 덮으면 누름이
사라집니다. 경로의 checkout 이름은 후보 앱에서 drag로 잡혀 고쳤습니다.
- **비용 검토**: 접기 열쇠 정리는 `asleep/` 열쇠가 있을 때만 프로젝트를 훑고, 저장은 열쇠가 실제로 빠질 때만
save 스레드로 갑니다. 락 안에서 subprocess나 I/O는 없습니다.

## Evidence

- **확인한 것**: 격리된 후보 데스크톱 앱(개발 빌드, 개인 Herdr)에서 제목 표시줄 없음, 32px 줄 가운데 신호등,
Workspace 경로와 아이콘 넷, 신호등 아래 Overview 모달, 사이드바 숨김 시 경로 위치, 폴더 메뉴의 `Open
in VS Code`, 경로 checkout 이름의 메뉴를 창 캡처로 봤습니다.
- **확인한 것**: 전체 화면 진입·이탈 알림(창 상태는 그대로, 이벤트만 보내서)에 신호등 자리가 빠지고 돌아옴.
- **확인한 것**: web e2e 전체 259 통과 후 고친 스펙 재실행 18/18, rebase 뒤 head에서 사이드바 두
스펙 10/10(B9, B10, B24 720×480·글자 17 포함). desktop e2e 63 통과.
- **확인한 것**: 승인된 r3 Pen 보드 대비 design review PASS(밝음·어두움 × 292·240 × 기본·긴
내용), design contract PASS.
- **확인한 것**: rebase 뒤 head에서 cargo test 전체와 lint, web·desktop
typecheck·lint·unit(1470 + 184)·build 통과. 첫 CI에서 policy(테스트의 홈 경로)와
windows check(VS Code 탐색 경로를 실행 중인 OS 규칙으로 만듦)가 실패해 고쳤습니다.
- **확인하지 못한 것**: 실제 포인터로 창 끌기와 두 번 누르기(전면 입력 필요), 실제 전체 화면, VS Code 실제
실행, 앱 안 checkout 줄 메뉴, Windows·Linux 창 테두리.
- **확인하지 못한 것**: SSH나 패키지 앱이 필요한 desktop e2e 13개(`device-home` 포함)는 이
기계에서 건너뜀. Search 단축키 재지정(B12), Home 에이전트의 ⌘K·Sessions 도달(B11), `+`의
폴더·대체 대상 경로(B7)는 e2e가 없습니다.
- **확인하지 못한 것**: `agent-live-check.spec.ts` 4개와
`desktop/e2e/browser-agent.spec.ts:222`는 실패하지만 main `0a6dd126c`에서도 같은
방식으로 실패합니다.
- **생성물**: `design/hide-ui.lib.pen`(Sidebar chrome 시트, Project row 칸)과
`design/hide-screens.pen`은 `scripts/pen-*.mjs`가 만든 diff입니다.

<details><summary>Verification record</summary>

- PRD: `agents/prd/sidebar-titlebar-refresh/prd.md` (sha256
486589e3d6cc6260f51291d62e5bf92543e1abfa5cd18bb23f0f61f2d28fa8bf)
- Base e7b2347 → head 0687627, verified 2026-10-12T17:34:03.083Z: PASS
- Verification report:
`agents/runs/sidebar-titlebar-refresh/verification-report.json` and
`agents/runs/sidebar-titlebar-refresh/verification-report.md`; source
fingerprint
0308e3bdc544c5e1d31798bfaf6b993a6b7a3fffbe3f0901af4df49a07f5a84c
- Suites:
  - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0)
  - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0)
- Reviews:
- Fidelity (full review at 4516fd32a, rebased as 6321d1a; follow-ups
at 78f228544 (rebased as 7b521e0) and at 51fad04 after the rebase):
PASS, no Fix now. Follow-up: `docs/UI_BEHAVIOR.md` 393/681 second-line
wording predates this branch and conflicts with main's native-question
line.
- Code (full review at 4516fd32a, rebased as 6321d1a; Fix now items
fixed in 13ce092, 9ee5f7f, b163d91, 7b521e0; follow-ups at
78f228544 (rebased as 7b521e0) and 51fad04): PASS, no Fix now.
Follow-ups: an end-to-end `asleep/` re-own case through `reown()`, one
stuck-header mark per frame instead of two, and a stale read in
`revealSidebarFocus` when a header sticks mid-scroll.
- Rebase onto e7b2347: `git range-diff` shows all 15 branch commits
patch-identical; the one new commit is the `still_naming` test.
- Code (CI fixes 127bc61 neutral test home, 0687627 VS Code probe
spelled per target system for the Windows lane): PASS, no Fix now, no
Follow-up.
- Evidence: 9 registered (6 screenshot, 1 log, 2 file); paths are local
to the run directory
- agents/runs/sidebar-titlebar-refresh/native/shots/01-rest-overview.png
  - agents/runs/sidebar-titlebar-refresh/native/shots/02-workspace.png
-
agents/runs/sidebar-titlebar-refresh/native/shots/03-overview-modal.png
-
agents/runs/sidebar-titlebar-refresh/native/shots/04-sidebar-hidden.png
  - agents/runs/sidebar-titlebar-refresh/native/shots/05-folder-menu.png
-
agents/runs/sidebar-titlebar-refresh/native/shots/p2-path-menu-light.png
  - agents/runs/sidebar-titlebar-refresh/native/NATIVE-QA.md
-
agents/runs/sidebar-titlebar-refresh/design/review/20261012-120326-0c2919/report.md
-
agents/runs/sidebar-titlebar-refresh/design/review/20261012-152355-db47a1/report.md
- Changed paths: 122 (see Files changed)
- Delivery: mode pr, branch `gen-prd/sidebar-titlebar-refresh`, base
`main`

</details>
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