Skip to content

Reach parents and children from the task list#68

Merged
textfuel merged 4 commits intotextfuel:mainfrom
seflue:feat/issue-hierarchy-navigation
May 5, 2026
Merged

Reach parents and children from the task list#68
textfuel merged 4 commits intotextfuel:mainfrom
seflue:feat/issue-hierarchy-navigation

Conversation

@seflue
Copy link
Copy Markdown
Contributor

@seflue seflue commented May 3, 2026

Closes #47

Space opens an issue's children, Backspace opens its parent; each step pushes onto a stack and Esc pops back. The Sub and Lnk info-panel tabs offer the same walks for the previewed issue. Both walks share an ad-hoc tab next to the existing ones, like the JQL tab.

  • Cloud children come from the parent-link query from Show parent-link children in Sub tab on Cloud #66 (same data the Sub tab shows); DC still reads Issue.Subtasks.
  • Each step snapshots the left panel (issues, cursor, focused panel, info tab and cursor) so Esc returns to where the user was.
  • Space on a leaf issue opens its detail. Backspace on an issue without a parent is a no-op.
  • Parent and Cloud children fetches drop stale responses by epoch, matching the existing previewEpoch pattern.

#66 was only the enabler for this PR. I got sidetracked, while working on this and realized, that I would have to solve the parent-link problem first.

From any task in the issue list, users now walk into its subtasks or
jump to its parent and follow the chain as far as the data goes. The
same works from the Sub and Lnk info-panel tabs, so the whole hierarchy
is reachable without leaving the keyboard. Stepping back restores the
cursor and view from before the walk.

The walk lives in an ad-hoc issue tab next to the existing ones,
analogous to the JQL tab: it appears on demand, holds the current step's
results, and disappears when the user pops out.

The previewed issue, info panel, and clipboard actions stay in sync
with whatever is currently in focus along the path.
@seflue seflue requested a review from textfuel as a code owner May 3, 2026 13:20
Copy link
Copy Markdown
Owner

@textfuel textfuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

Nice feature and the tests look solid. Left a few comments to double-check before merge

Comment thread pkg/tui/app.go
Comment thread pkg/tui/hierarchy.go Outdated
Comment thread pkg/tui/hierarchy.go
Comment thread pkg/tui/app.go
@seflue seflue requested a review from textfuel May 5, 2026 01:35
Copy link
Copy Markdown
Owner

@textfuel textfuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes! Merging

@textfuel textfuel merged commit 11ba667 into textfuel:main May 5, 2026
2 checks passed
@seflue seflue deleted the feat/issue-hierarchy-navigation branch May 5, 2026 07:45
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.

Hierarchical drill-down/up navigation for issue lists

2 participants