Repository navigation
feat: add issues mode toggled with i - #18
Merged
Merged
Conversation
The dashboard starts on pull requests as before; `i` switches the whole view (nav tree, inbox, all-items list, per-repo lists, counts) to open issues and back. Issue lists are fetched lazily on first switch and cached under keys that include visibility and the issue filter. - New `[issues] filter` config: GitHub search qualifiers appended to every issue search, inbox included. Empty means all open issues. - Issue inbox lists issues assigned to the viewer. - Refresh only refetches the current mode; the other mode refetches when next shown. - PR-only keys (l, d, f) are no-ops in issues mode. - Content tables now keep the cursor row in view when scrolling; both the PR and issue tables previously rendered from row 0 regardless of the cursor.
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
iswitches the whole dashboard between pull requests (default on start) and open issues: nav tree with per-repo issue counts, All Issues, and an issue Inbox (issues assigned to you).visibilityand the filter, so neither change serves stale data.github.visibilityapplies to issues too.r/ auto) only refetches the current mode; the other mode refetches when next shown./also matches labels.l/d/fare no-ops in issues mode.Repogains a requiredopen_issue_count, so repo cache entries from older versions fail to parse and are refetched once instead of showing 0 issues.Test plan
cargo fmt --all -- --check,cargo clippy --all-targets --all-features(no warnings),cargo test --all-targets(154 passed)tests/issues_tests.rs: query building with visibility/filter, issue parsing, config + cache suffix, mode toggling/lazy fetch/refresh, list views, search by label, PR-only keys, scroll regression for both tables