Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions agents/prd/sidebar-row-click-overview-row/prd.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ hide 사용자가 Projects 사이드바에서 체크아웃 행을 클릭하면
| D-02 | 체크아웃 행 클릭 = 열기 + 에이전트 펼치기. 이미 열려 있고 펼쳐진 체크아웃의 행을 다시 클릭하면 접는다(열림 유지). chevron은 그대로 접기/펼치기만. 에이전트가 없는 체크아웃은 열기만. PR #167의 "행은 열기만" 결정을 번복한다. | 사용자: "저 체크아웃 row 클릭하면 나오게 해줘!" (qa-log D-02) |
| D-03 | 펼친 프로젝트의 체크아웃 목록 첫 행에 Overview 행(layout-dashboard 글리프, 체크아웃 행의 열)을 둔다. 클릭하면 Project Overview. Overview가 앞이면 선택 fill은 이 행이 받고 프로젝트 이름 행은 받지 않는다. 플레인 폴더에는 없다. | 사용자: "Overview가 하나는 있게 보여지면 좋을 것 같아!!!" (qa-log D-03) |
| D-04 | Overview 행은 체크아웃 행과 같은 높이·포커스 링·키보드 동작(Enter/Space로 열기)을 가지며 배지·시간·chevron 슬롯은 비어 있다. 행 클릭 펼침은 마우스와 Enter/Space가 같고 다른 행을 움직이지 않는다. | 가정 (qa-log D-04) |
| D-05 | 펼침 상태는 그대로 core가 소유한다. 행 클릭은 열기 이벤트 하나에 펼침 의도를 함께 실어 보낸다(한 동작 = 한 이벤트); 웹이 두 이벤트를 연달아 보내지 않는다. core 변경은 그 이벤트의 페이로드 확장뿐. | 가정; AGENTS.md "A user action is one event, not a sequence" (qa-log D-05) |
| D-05 | 펼침 상태는 그대로 core가 소유한다. 행 클릭은 열기 이벤트 하나에 펼침 의도를 함께 실어 보낸다(한 동작 = 한 이벤트); 웹이 두 이벤트를 연달아 보내지 않는다. core 변경은 그 이벤트의 페이로드 확장과 admission 검증뿐. 유효하지 않은 workspace/checkout은 focus와 펼침 모두 바꾸지 않고 진단만 남긴다. 수락 후 Herdr pane.layout 실패·타임아웃은 기존 정책대로 core 값을 유지하고 진단하며 펼침을 되돌리지 않는다. | 가정; AGENTS.md "A user action is one event, not a sequence" (qa-log D-05) |
| D-06 | Pen: Screen / Projects Sidebar 시트에 Overview 행을 넣고(gen-screens), 라이브러리는 바꾸지 않는다. UI_BEHAVIOR.md 401·407·410행과 시트 설명을 새 동작으로 고친다. | 가정 (qa-log D-06) |
| D-07 | 검증: vitest(행 클릭 규칙, 선택 규칙), 웹 e2e 1개(클릭 → 열림+펼침, 재클릭 → 접힘, Overview 행 → Overview, 선택 fill), gen-screens diff. | 가정 (qa-log D-07) |
| D-08 | 실행: please, Claude Implementor --effort high, PR 배포, Observer 자동 머지. T0 머지 후 main에서 시작. | 사용자 (qa-log D-08) |
Expand All @@ -53,7 +53,7 @@ hide 사용자가 Projects 사이드바에서 체크아웃 행을 클릭하면
| B6 | Overview가 앞에 있을 때 Overview 행이 선택 fill을 갖고 프로젝트 이름 행은 갖지 않는다; 체크아웃 Workspace가 앞이면 지금처럼 그 체크아웃 행만 선택 fill을 갖는다. | D-03 |
| B7 | Overview 행은 체크아웃 행과 같은 높이·글꼴·포커스 링이며 배지·시간·chevron이 없다; 프로젝트를 접으면 함께 사라진다. | D-03, D-04 |
| B8 | 행 클릭 펼침과 Overview 행 추가로 다른 행의 높이나 위치가 바뀌지 않는다(펼친 에이전트 행이 아래 행을 미는 것 외). | D-04 |
| B9 | 웹 셸이 보내는 이벤트는 행 클릭당 하나이고, Herdr가 열기를 거부하면 펼침도 일어나지 않는다(반쯤 움직인 화면 없음). | D-05 |
| B9 | 웹 셸이 보내는 이벤트는 행 클릭당 하나이다. core admission이 유효하지 않은 workspace/checkout을 거부하면 focus와 펼침 모두 바뀌지 않고 진단만 남는다. 수락되면 focus와 expanded가 같은 snapshot에 함께 반영된다. 이후 Herdr pane.layout 실패·타임아웃은 기존 정책대로 core 값을 유지하고 진단하며 펼침을 되돌리지 않는다. | D-05 |
| B10 | UI_BEHAVIOR.md와 Screen / Projects Sidebar 시트가 새 동작을 서술하고, gen-screens 산출물에 Overview 행이 있다. | D-06 |

## Technical structure
Expand Down
13 changes: 13 additions & 0 deletions contracts/hided-ws.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,19 @@
"usage_popover_open": { "type": "boolean" }
}
},
"focusCheckoutPayload": {
"description": "focus_checkout: one admitted focus and optional sidebar disclosure transition. Unknown workspace/checkout refuses the disclosure intent before either value changes.",
"type": "object",
"additionalProperties": false,
"required": ["workspace_id", "checkout_id"],
"properties": {
"workspace_id": { "type": "string" },
"checkout_id": { "type": "string" },
"focus_device": { "type": "boolean" },
"display_id": { "type": "string" },
"expanded": { "type": "boolean" }
}
},
"clientEvent": {
"type": "object",
"required": ["schema_version", "kind", "payload"],
Expand Down
200 changes: 197 additions & 3 deletions design/hide-screens.pen
Original file line number Diff line number Diff line change
Expand Up @@ -28395,7 +28395,7 @@
"type": "text",
"id": "screen-projects-sidebar-spec",
"name": "sidebar.tsx, projects.ts: th",
"content": "sidebar.tsx, projects.ts: the Projects tab, the scope picker. All projects heads the list and opens All projects; the row of the scope the center shows carries the selected fill, here herdr-ide on its Overview, and a checkout only while its Workspace is in front. A project’s primary checkout comes first, then the rest by activity. Every line ends in its time or status badge and then a fold slot, so names never move and the times, badges and chevrons stand in one column each; a folded chevron is drawn and an unfolded one waits for the pointer. A row’s menu opens on a right-click, with nothing drawn for it. A status badge counts agents under the mark each agent’s own row draws, worst first (× ! ? ● ✓ ○). A project row opens the Overview and wears its checkouts’ badges added up, open or folded, and no time. A checkout row opens the checkout; while its agent rows are folded its badge ends line one, and its chevron, there only while agents run, opens them on one group fill in place of the badge. Line two is the purpose with the last-commit age on the time column, kept wherever agents run; a checkout with neither is one line with its age there. A parent agent folds its children with the same chevron and speaks for them with its badge. The kind glyph is the pull request’s lifecycle when GitHub knows one, else folder, primary, detached or branch; a missing folder is danger with no age.",
"content": "sidebar.tsx, projects.ts: the Projects tab, the scope picker. All projects heads the list and opens All projects; the row of the scope the center shows carries the selected fill, here the Overview child under herdr-ide, and a checkout only while its Workspace is in front. A project’s primary checkout comes first, then the rest by activity. Every line ends in its time or status badge and then a fold slot, so names never move and the times, badges and chevrons stand in one column each; a folded chevron is drawn and an unfolded one waits for the pointer. A row’s menu opens on a right-click, with nothing drawn for it. A status badge counts agents under the mark each agent’s own row draws, worst first (× ! ? ● ✓ ○). A project row opens the Overview and wears its checkouts’ badges added up, open or folded, and no time. The first row under an expanded Git project is Overview, an instance of the checkout row with a layout-dashboard glyph and empty trailing slots. A checkout row opens the checkout and unfolds its agents; clicking its already selected, unfolded Workspace folds them without leaving it. The chevron changes disclosure alone. While its agent rows are folded its badge ends line one, and its chevron, there only while agents run, opens them on one group fill in place of the badge. Line two is the purpose with the last-commit age on the time column, kept wherever agents run; a checkout with neither is one line with its age there. A parent agent folds its children with the same chevron and speaks for them with its badge. The kind glyph is the pull request’s lifecycle when GitHub knows one, else folder, primary, detached or branch; a missing folder is danger with no age.",
"fill": "$--muted-foreground",
"fontFamily": "$--font-ui",
"fontSize": "$--text-caption",
Expand Down Expand Up @@ -28725,7 +28725,6 @@
"name": "herdr-ide",
"width": 284,
"height": 36,
"fill": "$--secondary",
"descendants": {
"hideui:mIzlX": {
"fill": "$--subtle-foreground",
Expand Down Expand Up @@ -28809,6 +28808,104 @@
}
}
},
{
"id": "psb-overview-l",
"type": "ref",
"ref": "hideui:DLP27",
"name": "Overview",
"width": 284,
"height": 36,
"padding": [
0,
4,
0,
6
],
"fill": "$--secondary",
"descendants": {
"hideui:VtSRn": {
"fill": "$--subtle-foreground",
"icon": "layout-dashboard"
},
"hideui:q91d7": {
"fill": "$--foreground",
"content": "Overview",
"fontWeight": "600"
},
"hideui:checkout-status": {
"fill": "$--secondary",
"enabled": false
},
"hideui:checkout-error-glyph": {
"fill": "$--destructive"
},
"hideui:checkout-error-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-approval-glyph": {
"fill": "$--warning"
},
"hideui:checkout-approval-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-question-glyph": {
"fill": "$--warning"
},
"hideui:checkout-question-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-working-dot": {
"fill": "$--agent-working"
},
"hideui:checkout-working-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-done-glyph": {
"fill": "$--success"
},
"hideui:checkout-done-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-idle-ring": {
"stroke": "$--subtle-foreground"
},
"hideui:checkout-idle-count": {
"fill": "$--subtle-foreground"
},
"hideui:TuosT": {
"fill": "$--muted-foreground",
"enabled": false
},
"hideui:CgZj3": {
"fill": "$--muted-foreground",
"icon": "chevron-right"
},
"hideui:D37Vr": {
"fill": "$--muted-foreground",
"enabled": false
},
"hideui:line2-age": {
"fill": "$--muted-foreground",
"enabled": false
},
"hideui:QetL0": {
"width": 274
},
"hideui:TS5x9": {
"enabled": false
},
"hideui:IXwZI": {
"opacity": 0
},
"hideui:o6XLUj": {
"enabled": false,
"width": 274
},
"hideui:yfur4": {
"width": 20
}
}
},
{
"type": "frame",
"id": "psb-g-main-l",
Expand Down Expand Up @@ -30568,7 +30665,6 @@
"name": "herdr-ide",
"width": 284,
"height": 36,
"fill": "$--secondary",
"descendants": {
"hideui:mIzlX": {
"fill": "$--subtle-foreground",
Expand Down Expand Up @@ -30652,6 +30748,104 @@
}
}
},
{
"id": "psb-overview-d",
"type": "ref",
"ref": "hideui:DLP27",
"name": "Overview",
"width": 284,
"height": 36,
"padding": [
0,
4,
0,
6
],
"fill": "$--secondary",
"descendants": {
"hideui:VtSRn": {
"fill": "$--subtle-foreground",
"icon": "layout-dashboard"
},
"hideui:q91d7": {
"fill": "$--foreground",
"content": "Overview",
"fontWeight": "600"
},
"hideui:checkout-status": {
"fill": "$--secondary",
"enabled": false
},
"hideui:checkout-error-glyph": {
"fill": "$--destructive"
},
"hideui:checkout-error-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-approval-glyph": {
"fill": "$--warning"
},
"hideui:checkout-approval-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-question-glyph": {
"fill": "$--warning"
},
"hideui:checkout-question-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-working-dot": {
"fill": "$--agent-working"
},
"hideui:checkout-working-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-done-glyph": {
"fill": "$--success"
},
"hideui:checkout-done-count": {
"fill": "$--subtle-foreground"
},
"hideui:checkout-idle-ring": {
"stroke": "$--subtle-foreground"
},
"hideui:checkout-idle-count": {
"fill": "$--subtle-foreground"
},
"hideui:TuosT": {
"fill": "$--muted-foreground",
"enabled": false
},
"hideui:CgZj3": {
"fill": "$--muted-foreground",
"icon": "chevron-right"
},
"hideui:D37Vr": {
"fill": "$--muted-foreground",
"enabled": false
},
"hideui:line2-age": {
"fill": "$--muted-foreground",
"enabled": false
},
"hideui:QetL0": {
"width": 274
},
"hideui:TS5x9": {
"enabled": false
},
"hideui:IXwZI": {
"opacity": 0
},
"hideui:o6XLUj": {
"enabled": false,
"width": 274
},
"hideui:yfur4": {
"width": 20
}
}
},
{
"type": "frame",
"id": "psb-g-main-d",
Expand Down
3 changes: 2 additions & 1 deletion docs/DESIGN_WORKFLOW.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ It draws the sidebar row menu, the Explorer context menu, the device picker, and
Its web files are `web/src/entry-menu.tsx` and `web/src/DevicePicker.tsx`.

Projects Sidebar is `Screen / Projects Sidebar`.
It draws the sidebar's Projects tab as the scope picker: the All projects row on top, pinned and activity-ordered projects with the row of the scope on screen selected, checkout rows with their kind glyph, age and agent line, an opened checkout's agent rows, and both inactive folds.
It draws the sidebar's Projects tab as the scope picker: the All projects row on top, pinned and activity-ordered projects with the row of the scope on screen selected, a Git project’s first Overview child as a checkout-row master instance with a layout-dashboard glyph and empty trailing slots, checkout rows with their kind glyph, age and agent line, an opened checkout’s agent rows, and both inactive folds.
The Overview child owns selection on Overview; a checkout row opens and unfolds, then folds on activation while already selected and unfolded.
Its web files are `web/src/sidebar.tsx` and `web/src/projects.ts`.

## How to add a token
Expand Down
Loading
Loading