Feat/watchlist pr datatable#667
Merged
e35ventura merged 8 commits intoentrius:testfrom Apr 26, 2026
Merged
Conversation
Replace simple WatchedItemRow layout with reusable DataTable component for the PR tab. Adds columns for PR number, title, repository, author with avatar, status chip, score, and watchlist star button.
…chlist PRs tab - Search box filters by title, repo, author, PR number - Status filter buttons (All/Open/Merged/Closed) with counts - List/card view mode toggle matching repositories page style - Rows per page dropdown (10/25/50) with pagination - Sortable table columns (PR, title, repo, author, score) - Card view styled to match MinerCard pattern
JetBrains Mono is already the app-wide default via theme.typography.fontFamily, so per-component declarations have no effect.
Contributor
Author
|
@anderdc @e35ventura Ready for review |
e35ventura
approved these changes
Apr 26, 2026
12 tasks
jerryzai
pushed a commit
to jerryzai/gittensor-ui
that referenced
this pull request
Apr 26, 2026
12 tasks
bitloi
added a commit
to bitloi/gittensor-ui
that referenced
this pull request
Apr 27, 2026
The Pull Requests tab previously showed only individually starred PRs. It now also includes PRs whose hotkey belongs to a watched miner and PRs whose repository is watched, in addition to explicit stars. Hotkey is the join key because it is always present on /prs responses while githubId is only on /miners. The list/card view-mode toggle, status pills, search, sort, pagination, and per-row star buttons added in entrius#667 are intentionally untouched. Closes entrius#784
bitloi
added a commit
to bitloi/gittensor-ui
that referenced
this pull request
Apr 27, 2026
The Pull Requests tab previously showed only individually starred PRs. It now also includes PRs authored by a watched miner and PRs whose repository is watched, in addition to explicit stars. Miner matching uses pr.githubId directly against the watchlist's stored githubIds. The /prs endpoint always populates githubId, so no /miners round-trip is needed and matches still resolve when /miners is loading, stale, or no longer lists a previously-registered miner. Each row now carries a 'Why' badge (Starred / Miner / Repo) so users can tell at a glance why a PR is in their watchlist; the badges also appear on the card-view tile. The DataTable receives isLoading from useWatchedPRs so the empty-state copy no longer flickers in while /prs is fetching. The list/card view-mode toggle, status pills, search, sort, pagination, and per-row star buttons added in entrius#667 are intentionally untouched. Closes entrius#784
bitloi
added a commit
to bitloi/gittensor-ui
that referenced
this pull request
Apr 27, 2026
The Pull Requests tab previously showed only individually starred PRs. It now also includes PRs authored by a watched miner and PRs whose repository is watched, in addition to explicit stars. Miner matching uses pr.githubId directly against the watchlist's stored githubIds. The /prs endpoint always populates githubId, so no /miners round-trip is needed and matches still resolve when /miners is loading, stale, or no longer lists a previously-registered miner. Each row now carries a 'Why' badge (Starred / Miner / Repo) so users can tell at a glance why a PR is in their watchlist; the badges also appear on the card-view tile. The DataTable receives isLoading from useWatchedPRs so the empty-state copy no longer flickers in while /prs is fetching. The list/card view-mode toggle, status pills, search, sort, pagination, and per-row star buttons added in entrius#667 are intentionally untouched. Closes entrius#784
bitloi
added a commit
to bitloi/gittensor-ui
that referenced
this pull request
Apr 27, 2026
The Pull Requests tab previously showed only individually starred PRs. It now also includes PRs authored by a watched miner and PRs whose repository is watched, in addition to explicit stars. Miner matching uses pr.githubId directly against the watchlist's stored githubIds. The /prs endpoint always populates githubId, so no /miners round-trip is needed and matches still resolve when /miners is loading, stale, or no longer lists a previously-registered miner. Each row now carries a 'Why' badge (Starred / Miner / Repo) so users can tell at a glance why a PR is in their watchlist; the badges also appear on the card-view tile. The DataTable receives isLoading from useWatchedPRs so the empty-state copy no longer flickers in while /prs is fetching. The list/card view-mode toggle, status pills, search, sort, pagination, and per-row star buttons added in entrius#667 are intentionally untouched. Closes entrius#784
bitloi
added a commit
to bitloi/gittensor-ui
that referenced
this pull request
Apr 27, 2026
The Pull Requests tab previously showed only individually starred PRs. It now also includes PRs authored by a watched miner and PRs whose repository is watched, in addition to explicit stars. Miner matching uses pr.githubId directly against the watchlist's stored githubIds. The /prs endpoint always populates githubId, so no /miners round-trip is needed and matches still resolve when /miners is loading, stale, or no longer lists a previously-registered miner. Each row now carries a 'Why' badge (Starred / Miner / Repo) so users can tell at a glance why a PR is in their watchlist; the badges also appear on the card-view tile. The DataTable receives isLoading from useWatchedPRs so the empty-state copy no longer flickers in while /prs is fetching. The list/card view-mode toggle, status pills, search, sort, pagination, and per-row star buttons added in entrius#667 are intentionally untouched. Closes entrius#784
bitloi
added a commit
to bitloi/gittensor-ui
that referenced
this pull request
Apr 27, 2026
The Pull Requests tab previously showed only individually starred PRs. It now also includes PRs authored by a watched miner and PRs whose repository is watched, in addition to explicit stars. Miner matching uses pr.githubId directly against the watchlist's stored githubIds. The /prs endpoint always populates githubId, so no /miners round-trip is needed and matches still resolve when /miners is loading, stale, or no longer lists a previously-registered miner. Each row now carries a 'Why' badge (Starred / Miner / Repo) so users can tell at a glance why a PR is in their watchlist; the badges also appear on the card-view tile. The DataTable receives isLoading from useWatchedPRs so the empty-state copy no longer flickers in while /prs is fetching. The list/card view-mode toggle, status pills, search, sort, pagination, and per-row star buttons added in entrius#667 are intentionally untouched. Closes entrius#784
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
DataTablecomponent — columns for PR number, title, repository, author (with avatar), status chip, score, and watchlist starbackground.default, themed borders and buttons)LeaderboardSidebarWatchlistButtonusage from oldgithubIdprop to newcategory+itemKeyAPITest plan
Fixes Display watchlist Pull Requests tab in a DataTable #666
Before

After
