feat: add paginated full views for user PRs and commits#13
Merged
jordangarrison merged 5 commits intomainfrom Mar 7, 2026
Merged
feat: add paginated full views for user PRs and commits#13jordangarrison merged 5 commits intomainfrom
jordangarrison merged 5 commits intomainfrom
Conversation
Add /:username/pulls route with a new LiveView that displays all user pull requests with client-side pagination (10 per page). Reads from the UserInsightsServer cache and subscribes to live updates.
Merged
jordangarrison
pushed a commit
that referenced
this pull request
Mar 7, 2026
🚀 Merging this PR will create a new release --- ## [0.3.0](v0.2.0...v0.3.0) (2026-03-07) ### Features * add paginated full views for user PRs and commits ([#13](#13)) ([2377eca](2377eca)) ### Bug Fixes * **ci:** move docker publish into release-please workflow ([#15](#15)) ([5634121](5634121)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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.
Summary
/:username/pullsand/:username/commitsroutes with paginated full-view LiveViews (10 items per page)UserInsightsServercache from 5 to 50 items with optionalper_pageparameter flowing through Ash domain, actions, and GitHub clientChanges
Backend
search_user_prs/2andsearch_user_commits/2accept optionalper_pagevia opts map (default 50)per_pageargument toUserPRandUserCommitlist actionsper_pagefrom query arguments, pass through to client (followsListWorkflowRunspattern)Frontend
Enum.take(5)for preview cards/:username/pullswith?page=Nquery params/:username/commitswith same pagination patternhandle_paramsfor back/forward navigationTest Plan
mix precommitpasses (compile, format, credo, tests)/username/pullsand/username/commits