feat(ui): connect to GitLab from onboarding and the host picker #146

Merged
deadstyle merged 7 commits from feature/141-gitlab-connect into develop 2026-10-12 08:47:31 -05:00
Owner

Refs #141 (parent #137)

Summary

GitLab is selectable in onboarding and connects from the picker, --host and Settings. The Address step pre-fills https://gitlab.com and probes that the server really is GitLab; the Sign in step links GitLab's personal access token page and lists the one scope needed (api, with read_api called out as not enough). On GitLab, "PR" reads "MR". design.md (Onboarding, v1 scope) and the README are updated.

Decisions

  • connect routes gitlab to the GitLab adapter (URL defaults to gitlab.com); the probe order is Gitea, GitHub, GitLab.
  • The token link has no ?name=…&scopes=api prefill: the 83-character URL clipped at 80 columns. Recorded on #141.
  • Box [3]'s name on GitLab is split out to #145 (needs PM).

Test plan

  • go test -race ./...: 1742 pass, 9 skipped, 0 failed. Build, vuln, install-test, vet-windows pass.
  • Lint and fmt-check with CI's golangci-lint v2.14.0: 0 issues.
  • Onboarding GitLab path tests written red-first (13 red on assertion before the change), the one green-before test mutation-proven; "MR" term tests proven red when reverted to "PR".

🤖 Generated with Claude Code

Refs #141 (parent #137) ## Summary GitLab is selectable in onboarding and connects from the picker, `--host` and Settings. The Address step pre-fills `https://gitlab.com` and probes that the server really is GitLab; the Sign in step links GitLab's personal access token page and lists the one scope needed (`api`, with `read_api` called out as not enough). On GitLab, "PR" reads "MR". design.md (Onboarding, v1 scope) and the README are updated. ## Decisions - `connect` routes `gitlab` to the GitLab adapter (URL defaults to gitlab.com); the probe order is Gitea, GitHub, GitLab. - The token link has no `?name=…&scopes=api` prefill: the 83-character URL clipped at 80 columns. Recorded on #141. - Box `[3]`'s name on GitLab is split out to #145 (needs PM). ## Test plan - `go test -race ./...`: 1742 pass, 9 skipped, 0 failed. Build, vuln, install-test, vet-windows pass. - Lint and fmt-check with CI's golangci-lint v2.14.0: 0 issues. - Onboarding GitLab path tests written red-first (13 red on assertion before the change), the one green-before test mutation-proven; "MR" term tests proven red when reverted to "PR". 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Refs #141

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #141

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Refs #141

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Refs #141

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #141

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #141

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test(ui): MR host term in onboarding Renovate step and CR box title
All checks were successful
ci / check (pull_request) Successful in 1m8s
16f76a9d0d
Refs #141

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deadstyle merged commit 42e552379b into develop 2026-10-12 08:47:31 -05:00
deadstyle deleted branch feature/141-gitlab-connect 2026-10-12 08:47:31 -05:00
Sign in to join this conversation.
No description provided.