Skip to content

feat(search): add saved PR views - #2

Closed
pmusaraj wants to merge 1 commit into
alysnnix:mainfrom
pmusaraj:feat/saved-pr-views
Closed

pmusaraj wants to merge 1 commit into
alysnnix:mainfrom
pmusaraj:feat/saved-pr-views

Conversation

@pmusaraj

Copy link
Copy Markdown

What this changes

Adds named, editable pull request search views inside the GitHub sidebar. A saved query can find PRs beyond the viewer's personal relationships and watched owners, using GitHub's Boolean search syntax and rolling date filters. Results preserve GitHub ordering and reuse the existing details, checks, label, review, and workspace actions.

Views are stored per host, start empty, and support preview, rename, edit, delete, refresh, and cursor pagination. Relative dates resolve in UTC at fetch time; ordinary board filters do not alter saved search results.

Checks

  • Automated tests cover query scoping and date expansion, settings validation and selected-view fallback, search mapping and errors, pagination deduplication, and cache invalidation during in-flight requests.
  • npm test: 75 tests passed across 13 files.
  • npm run typecheck: passed.
  • npm run lint: passed (two pre-existing complexity warnings in scripts/lib/scan.mjs).
  • A runtime-only acceptance query was verified against direct GitHub GraphQL results and the running development plugin's RPC. No personal queries or result IDs are committed.
  • The development plugin loaded successfully without restarting the daemon.

UI

  • Headless Chrome component checks passed create, preview, save, rename, and delete at 1200px and 390px in light and dark themes using mocked Paseo services. Screenshots were visually inspected. This is separate from the live daemon RPC check.
  • Native iOS/Android Hermes verification remains a manual check.

Paseo version

Uses existing Paseo 0.8 plugin APIs. Saved searches use GitHub's ISSUE_ADVANCED GraphQL search type; API errors are surfaced rather than silently falling back to legacy search semantics.

- Add editable GitHub searches with relative dates and pagination
- Reuse PR actions and validate query and cache behavior
@pmusaraj
pmusaraj marked this pull request as ready for review September 16, 2026 20:47
@pmusaraj

Copy link
Copy Markdown
Author

For the maintainers: I have just started using the plugin and found this feature useful. Hopefully you accept PRs.

@pmusaraj pmusaraj changed the title feat(search): add saved pull request views feat(search): add saved PR views Sep 19, 2026
@pmusaraj pmusaraj closed this Sep 19, 2026
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