Explore browser-like navigation for --ui: back history and shareable links
Open
@BlueLabelscotch is already working on this.
Since Sep 2, 2026.
code
- Dominant language
- Go
- Stars
- 22
- Forks
- 10
- Avg merge
- 14h 28m
- Merged PRs (30d)
- 54
Description
Idea
Make --ui feel a bit more like a browser: add "back" history and a way to jump to a saved view via a link (command = path, flags = query params).
Current state
- Drilldown and cross-command linking already exist (
ui_commandsYAML,uiLinkTarget). - No concept of a "link" today; the closest thing is the shell command itself.
Proposal
- Back: turn the implicit one-level back into an explicit
[]uiLinkTargethistory stack — enables multi-level back, forward, and cycle detection. Scope inheritance/reversion falls out for free since each hop already builds a childCtx. - Links: the CLI command itself is basically already a "link." Main gaps: views don't currently track the flags/scope that produced them (needed to regenerate the command), links won't portable across different environments/clusters, and renamed flags/verbs could break saved links over time.
Requirements (keep updating with ideas)
- LisPos: stick the #listpos=x, to remember the cursor position in the last click.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.