Skip to content

Show sub-issue progress on issue cards and list sub-issues in the panel - #443

Merged
yansfil merged 3 commits into
mainfrom
feat/sub-issue-progress
Oct 5, 2026
Merged

yansfil merged 3 commits into
mainfrom
feat/sub-issue-progress

Conversation

@yansfil

@yansfil yansfil commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Closes #354

Summary

큰 이슈를 하위 이슈로 나눠 진행할 때, 그 진행을 hide 보드에서도 GitHub와 같은 관계로 보여줍니다.
하위 이슈가 있는 이슈 카드에 GitHub의 subIssuesSummary를 그대로 하위 3/5로 보여주고, 이슈 패널에 하위 이슈 목록(상태, 그것을 닫는 PR 칩)을 보여줍니다.
PR 템플릿은 이슈 번호를 Closes #N 줄에, Related: 줄에는 PRD 경로와 선행/의존 PR만 적도록 바꿨습니다.

In progress 카드의 하위 1/2 줄과 패널의 하위 이슈 목록 (#4는 PR #11이 닫음)

가운데 카드의 Sub-issues 1/2 줄과 오른쪽 패널의 하위 이슈 목록을 보면 됩니다. 한국어 UI에서는 하위 1/2로 읽힙니다.

Review

  • 판단해 주세요: 카드의 진행률 줄을 제목 아래(잠금 줄 자리)에 한 줄로 두었습니다. 하위 이슈가 있는 카드만 한 줄 높아집니다.
  • 조심해서 볼 파일: herdr-core/src/github.rs - 기존 blockedBy GraphQL 요청 한 번에 필드만 더했고, 새 요청이나 polling은 없습니다. 읽기 실패 시 이전 값을 유지합니다(runtime/projects.rs).
  • 조심해서 볼 파일: herdr-core/src/tasks.rs, web/src/snapshot.ts - snapshot wire에 sub_issues를 더했습니다. 값이 없으면 null이라 이전 읽기 쪽은 그대로 읽습니다.
  • 비용 검토: 이슈당 하위 이슈 목록은 GitHub의 이슈당 한도인 100개까지만 읽습니다. 락 안의 일은 늘지 않고, 직렬화는 기존 경로 그대로입니다.
  • 질문: 한 하위 이슈를 닫는 PR이 여럿이면(닫힌 채 버려진 PR 등) 닫히지 않은 첫 PR의 칩 하나만 보여줍니다. 이 기본값으로 충분한가요?

Evidence

  • 확인한 것: verify-cargo.sh test-scoped -p herdr-core --lib의 github/tasks/runtime issues·pull_requests 94개 통과, clippy --workspace --all-targets -D warnings와 fmt 통과.
  • 확인한 것: 웹 typecheck, lint, 단위 테스트 989개 통과.
  • 확인한 것: 격리된 fixture(가짜 gh)에서 Overview e2e 1건 통과. 카드 Sub-issues 1/2, 하위 이슈 상태, PR Join wrapped terminal paths and open clicked directories in the explorer or Finder #11 칩, 닫힌 하위 이슈의 칩 없음, 하위 이슈가 없는 카드에 줄 없음을 단언합니다.
  • 확인하지 못한 것: 실제 GitHub 저장소에 대한 라이브 확인. 요청 모양은 이 저장소 #354에 직접 보낸 GraphQL(subIssuesSummary, subIssues)이 응답하는 것으로만 확인했습니다(하위 이슈 0개). 운영자 앱은 건드리지 않았습니다.
  • 확인하지 못한 것: 전체 CI 레인(나머지 e2e shard, desktop). 이 PR의 CI에서 확인합니다.

@yansfil
yansfil merged commit de8398a into main Oct 5, 2026
28 checks passed
@yansfil
yansfil deleted the feat/sub-issue-progress branch October 5, 2026 03:27
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