fix: address bot review findings

- Add codeberg.org to deriveLinkedIssueProvider built-in Gitea check
- Fix Gitea PR review prompt: !N → #N (GitLab vs Gitea syntax)
- Update gitlab.mdx: remove 'read-only' claim (write support ships)
- Gate walkthrough Gitea PR source (server can't fulfill yet)
- Thread per-project API base URL override into walkthrough GitLab diff
- Stop following cross-origin redirects in GitLab/Gitea clients (auth leak prevention)
This commit is contained in:
2026-08-18 20:35:46 +00:00
parent 707991665a
commit 4ce02ee569
7 changed files with 27 additions and 9 deletions
@@ -265,10 +265,8 @@ export const WalkthroughView = ({ directory }: WalkthroughViewProps) => {
const number = gitLabMr.mr?.number;
return number ? { kind: 'pr', number } : null;
}
if (gitProvider === 'gitea') {
const number = giteaPr.pr?.number;
return number ? { kind: 'pr', number } : null;
}
// Gitea PR diff is not yet supported server-side; omit the source to
// avoid offering a review that would fail with "no GitHub remote".
return branchPrNumber ? { kind: 'pr', number: branchPrNumber } : null;
}, [branchPrNumber, giteaPr.pr, gitLabMr.mr, gitProvider, source]);