Repository navigation
feat(my-prs): filter by organization and highlight active threads - #257
Merged
Merged
Conversation
Add an Organization select to the My PRs header so the page shows one GitHub organization at a time, and make PRs with a working linked thread easy to spot in every section. Organization filter: - Default to the first organization alphabetically, and offer All organizations - Remember an explicit choice, including All organizations, for the browser session, and fall back to the first organization without overwriting the saved choice when that organization is gone - Scope the overview counts, sections, status filter, select-all, and bulk actions to the chosen organization; Show all PRs resets only the status - Clear the selection when the organization changes, so no action reaches a hidden PR - Key saved scroll positions by organization and status Active threads: - Show an Active thread chip with a spinner when a linked thread is working - Keep the chip blue in Your turn, Other, held, and dismissed rows; it used to turn gray outside Your turn - Add a blue accent and tint to the row, and describe the state through aria-description and the chip title Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Adds an Organization select to the My PRs header so the page shows one GitHub organization at a time, and highlights PRs whose linked thread is working.
Files changed
plugins/my-prs/app.tsx: organization select, organization-scoped rows, per-scope scroll memory, and the active-thread chip and row accentplugins/my-prs/app.test.tsx: tests for both features, and an explicit All organizations choice in the two existing tests that mix organizationsOrganization filter
Active threads
aria-descriptionand a title that describe the active stateTesting
npm run typecheck: passnpm run build: pass