Skip to content

fix: draw the rail's slot button as the card's PR mark, set apart from the tools - #1273

Merged
yansfil merged 1 commit into
mainfrom
fix/detail-slot-rail-mark
Oct 16, 2026
Merged

yansfil merged 1 commit into
mainfrom
fix/detail-slot-rail-mark

Conversation

@yansfil

@yansfil yansfil commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • PR 카드가 우측 레인에 뜨면 rail 맨 위에 버튼이 하나 생기는데, PRs 도구와 같은 회색 PR 아이콘이라 도구가 두 개처럼 보였다.
  • 승인된 설계(Task lens C, E, I)는 이 버튼을 PR 상태의 아이콘과 색(머지 가능 초록, 머지됨 보라 등)으로 그리고 아래에 짧은 구분선을 둔다. 코드가 둘 다 빠뜨렸다.
  • 수정: 버튼과 레인 머리줄의 마크를 카드 PR의 상태 마크로 그리고, 버튼 아래에 도구와 가르는 선을 하나 둔다. 세션 기록은 지금처럼 문서 아이콘이다.

rail 확대: 왼쪽 before, 가운데 after(라이트), 오른쪽 after(다크). 맨 위 버튼이 초록 PR 마크로 바뀌고 아래에 선이 생김

Review

  • 판단해 주세요: 맨 위 버튼이 PRs 도구와 충분히 구별되는지(색과 선만으로 구별, 모양은 상태가 열린 PR이면 같은 glyph).
  • 조심해서 볼 파일: web/src/DetailPanel.tsx - DetailIcon이 목록의 PR 상태를 읽는다; 목록에 없는 PR은 상태 없이 기본 glyph를 그린다.

Evidence

  • 확인한 것: work-prs.spec.ts 카드 테스트가 rail 순서 detail, 구분선, memory, prs, 구분선, files, changes와 마크 상태(Add worktree-per-task workflows #31 mergeable, Document Rust and Swift working conventions #37 merged)를 확인.
  • 확인한 것: work-prs, right-lane, link-graph e2e 20개, web lint, web unit 1717개 통과(로컬, pinned Herdr 0.9.3).
  • 확인한 것: e2e 캡처로 라이트/다크 둘 다 Pen 설계(보기 · PR #1217: $--pr-mergeable glyph, 보기 | tools divider)와 맞음을 눈으로 확인.
  • 확인하지 못한 것: 데스크톱 앱 네이티브 화면 캡처는 하지 않았다(같은 웹 셸을 브라우저로 확인).
추가 증거

레인 전체: 왼쪽 before, 가운데 after 라이트, 오른쪽 after 다크. 머리줄의 PR #31 마크도 상태 색으로 바뀜.

before after

@yansfil
yansfil merged commit 4094d1b into main Oct 16, 2026
20 checks passed
@yansfil
yansfil deleted the fix/detail-slot-rail-mark branch October 16, 2026 14:08
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