feat(zsh): sort ghi issues oldest-first like ghsq#320
Merged
Conversation
ghi listed issues in gh's default order with an "Updated" column, while the PR pickers (ghsq/ghrb) sort oldest-first by creation date with --layout=reverse so the cursor lands on the oldest entry at the top. Align ghi with that: sort_by(.createdAt), --layout=reverse, and show the created date so the visible column matches the sort key. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q6JD1GzND7vv1uxWuPSWrx
Contributor
|
| Status | Count |
|---|---|
| 🔍 Total | 170 |
| ✅ Successful | 159 |
| ⏳ Timeouts | 0 |
| 🔀 Redirected | 0 |
| 👻 Excluded | 9 |
| ❓ Unknown | 0 |
| 🚫 Errors | 2 |
Errors per input
Errors in exact_dot_claude/docs/prds/daily-catchup.PRD.md
- [404] https://docs.anthropic.com/claude-code/commands | Failed: Network error: Not Found
Errors in docs/adrs/0009-conventional-commits-release-please.md
- [ERROR] https://www.conventionalcommits.org/ | Failed: Network error: error sending request for url (https://www.conventionalcommits.org/)
Full Github Actions output
Please fix the broken links before merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ghilisted issues ingh's default order (most-recently-updated first) with an Updated column, while the PR pickersghsq/ghrbsort oldest-first by creation date and pass--layout=reverseso the cursor lands on the oldest entry at the top. This alignsghiwith that convention.sort_by(.createdAt)in the--jqpipeline (ascending, oldest first)--layout=reverseon the fzf call, so the oldest issue is at the top under the cursorTest plan
zsh -non the rendered~/.zshrc(viachezmoi cat) — parses cleangh issue list … | jq | column -tpipeline against this repo — issues come out ascending by creation date (🔗 Broken Links Detected in Documentation #232 from 2026-06-08 at the top)chezmoi apply ~/.zshrcand exercisedghiinteractively🤖 Generated with Claude Code
https://claude.ai/code/session_01Q6JD1GzND7vv1uxWuPSWrx