Skip to content

feat(cloud-agent): improve repository onboarding#4523

Merged
Drixled merged 6 commits into
mainfrom
feat/cloud-agent-repository-onboarding
Jul 14, 2026
Merged

feat(cloud-agent): improve repository onboarding#4523
Drixled merged 6 commits into
mainfrom
feat/cloud-agent-repository-onboarding

Conversation

@Drixled

@Drixled Drixled commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Replaces Cloud Agent's generic missing-integration warning with a direct repository-provider onboarding path.

  • Links personal users straight to GitHub or GitLab setup instead of sending them to the integrations index.
  • Adds Bitbucket for organization sessions while preserving organization-scoped integration routes.
  • Lets returning users re-check all available providers independently, so one failed request does not mask another valid connection.
  • Extracts the panel into a focused component with personal, organization, and checking states in Storybook.
  • Uses a restrained checking shimmer that disables itself under prefers-reduced-motion.

Visual Changes

Before After
Previous Cloud Agent onboarding with an amber warning and generic Open integrations action Updated Cloud Agent onboarding with direct GitHub and GitLab provider choices

Reviewer Notes

  • Review checkSourceControlConnection first: GitHub, GitLab, and organization Bitbucket refresh concurrently via Promise.allSettled, then surface the first actionable provider error only when no connection is available.
  • Personal onboarding intentionally omits Bitbucket because Bitbucket integrations are organization-scoped.
  • Storybook's preview-head styling keeps the loading canvas dark while the new stories initialize.
  • The restored PR's pre-sync CI run passed typecheck, lint, format-check, tests, build, CodeQL, and secret scanning; checks reran after the automatic main sync.

@kilo-code-bot

kilo-code-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • apps/web/src/components/cloud-agent-next/RepositoryProviderOnboardingPanel.module.css
  • apps/web/src/components/cloud-agent-next/RepositoryProviderOnboardingPanel.tsx
Previous Review Summaries (4 snapshots, latest commit 8ce365e)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 8ce365e)

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • apps/storybook/.storybook/preview-head.html

Previous review (commit 903a849)

Status: No Issues Found | Recommendation: Merge

Executive Summary

Reviewed the incremental connection-check typography alignment at current HEAD with high confidence; no correctness, security, performance, accessibility, or memory-lifetime defects were found.

Files Reviewed (1 file)
  • apps/web/src/components/cloud-agent-next/RepositoryProviderOnboardingPanel.tsx

Previous review (commit fe1af64)

Status: No Issues Found | Recommendation: Merge

Executive Summary

Reviewed the connection-check UI simplification added since the previous review with high confidence; no correctness, security, performance, accessibility, or memory-lifetime defects were found.

Files Reviewed (1 file)
  • apps/web/src/components/cloud-agent-next/RepositoryProviderOnboardingPanel.tsx

Previous review (commit e6acd3d)

Status: No Issues Found | Recommendation: Merge

Executive Summary

Reviewed the three changed onboarding and provider-refresh files at current HEAD with high confidence; no correctness, security, performance, or memory-lifetime defects were found.

Files Reviewed (3 files)
  • apps/storybook/stories/cloud-agent/RepositoryProviderOnboardingPanel.stories.tsx
  • apps/web/src/components/cloud-agent-next/NewSessionPanel.tsx
  • apps/web/src/components/cloud-agent-next/RepositoryProviderOnboardingPanel.tsx

Reviewed by gpt-5.6-sol · Input: 66.5K · Output: 7K · Cached: 415.7K

Review guidance: REVIEW.md from base branch main

@Drixled Drixled closed this Jul 14, 2026
@Drixled Drixled deleted the feat/cloud-agent-repository-onboarding branch July 14, 2026 18:27
@Drixled Drixled restored the feat/cloud-agent-repository-onboarding branch July 14, 2026 18:33
@Drixled Drixled reopened this Jul 14, 2026
@Drixled Drixled merged commit 2e2f3f5 into main Jul 14, 2026
14 checks passed
@Drixled Drixled deleted the feat/cloud-agent-repository-onboarding branch July 14, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants