Support issue capture across all accessible repositories #403

Closed
opened 2026-08-09 13:24:54 +00:00 by rockachopa · 0 comments
Member

Problem

The New issue / Create & start flow treats the first 50 results from GET /user/repos?limit=50 as the complete selection and authorization set. Operators with more than 50 accessible repositories cannot select, load metadata for, or create an issue in a repository beyond page one.

Evidence

  • src/gitea_proxy.py requests user/repos?limit=50 without pagination.
  • src/main.py truncates context repositories and uses that same list for milestone, label, and create-route access checks.
  • frontend/dashboard.js builds the capture selector only from initial context.
  • Historical issue/PR and commit-title review found pagination work for My Work, Find Work, and notifications, but none for issue capture repositories.

Acceptance criteria

  • Initial capture remains fast with the first repository page.
  • Users can load later pages without duplicate options or losing draft fields/selection.
  • Repositories beyond page one can load labels/milestones and create or Create & start issues.
  • Server authorization uses a targeted repository access check and rejects inaccessible repositories before mutation.
  • A transient next-page failure preserves current options and draft and supports retry.
  • Existing <=50-repository and offline draft behavior remains intact.
## Problem The New issue / Create & start flow treats the first 50 results from `GET /user/repos?limit=50` as the complete selection and authorization set. Operators with more than 50 accessible repositories cannot select, load metadata for, or create an issue in a repository beyond page one. ## Evidence - `src/gitea_proxy.py` requests `user/repos?limit=50` without pagination. - `src/main.py` truncates context repositories and uses that same list for milestone, label, and create-route access checks. - `frontend/dashboard.js` builds the capture selector only from initial context. - Historical issue/PR and commit-title review found pagination work for My Work, Find Work, and notifications, but none for issue capture repositories. ## Acceptance criteria - Initial capture remains fast with the first repository page. - Users can load later pages without duplicate options or losing draft fields/selection. - Repositories beyond page one can load labels/milestones and create or Create & start issues. - Server authorization uses a targeted repository access check and rejects inaccessible repositories before mutation. - A transient next-page failure preserves current options and draft and supports retry. - Existing <=50-repository and offline draft behavior remains intact.
timmy was assigned by rockachopa 2026-08-09 13:24:54 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#403
No description provided.