feat(pr): support Codeberg pull requests#67
Conversation
hewigovens
commented
Jun 5, 2026
- add GitHub/Codeberg hosted repo parsing and dynamic PR labels
- document jj-spr GitHub flow and Codeberg bookmark flow
- fix Finder reveal and file-list header layout regressions
- add GitHub/Codeberg hosted repo parsing and dynamic PR labels - document jj-spr GitHub flow and Codeberg bookmark flow - fix Finder reveal and file-list header layout regressions Pull Request: #67
5ef82ff to
fefc8fd
Compare
- add GitHub/Codeberg hosted repo parsing and dynamic PR labels - document jj-spr GitHub flow and Codeberg bookmark flow - fix Finder reveal and file-list header layout regressions Pull Request: #67
fefc8fd to
08a32ec
Compare
- add GitHub/Codeberg hosted repo parsing and dynamic PR labels - document jj-spr GitHub flow and Codeberg bookmark flow - fix Finder reveal and file-list header layout regressions Pull Request: #67
08a32ec to
019cd97
Compare
- add GitHub/Codeberg hosted repo parsing and dynamic PR labels - document bookmark-based GitHub and Codeberg PR flow - fix Finder reveal and file-list header layout regressions Pull Request: #67
019cd97 to
1c811fc
Compare
- add GitHub/Codeberg hosted repo parsing and dynamic PR labels - document bookmark-based GitHub and Codeberg PR flow - add Repo-level coverage for Codeberg PR compose URLs - fix Finder reveal and file-list header layout regressions Pull Request: #67
1c811fc to
9e9acb5
Compare
- add GitHub/Codeberg hosted repo parsing and dynamic PR labels - show public Codeberg PR status through the Forgejo API - document bookmark-based GitHub and Codeberg PR flow - add Repo-level coverage for Codeberg PR compose/status URLs - fix Finder reveal and file-list header layout regressions Pull Request: #67
9e9acb5 to
68621ba
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 68621ba81c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| let url = format!( | ||
| "{}/repos/{}/{}/pulls?state=all&base={}&head={}", | ||
| CODEBERG_API_URL, | ||
| encode_url_component(remote.owner()), | ||
| encode_url_component(remote.repo()), | ||
| encode_url_component(&base), | ||
| encode_url_component(bookmark) | ||
| ); |
There was a problem hiding this comment.
Query Codeberg PRs with supported filters
For Codeberg/Gitea, the list-pulls endpoint does not support base or head query parameters (the base filter is base_branch, and exact base/head lookup is a separate /pulls/{base}/{head} route). In repositories with more than one page of PRs, this call returns only the first page of all PRs, so an existing PR for the selected bookmark can be missed and JayJay will show no PR status or open the compose URL instead of the existing PR.
Useful? React with 👍 / 👎.
|
Superseded by #69 (rebased on main, dropped the bundled UI fix into its own change, and replaced the curl shell-out with the jayjay-network crate). |