refactor: migrate OrganisationSelect to TypeScript FC#7232
refactor: migrate OrganisationSelect to TypeScript FC#7232
Conversation
Replace AccountProvider with useGetOrganisationsQuery RTK hook. Accept a controlled value prop instead of reading from AccountStore. Move initial org selection logic to GitHubSetupPage. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.
Once credits are available, reopen this pull request to trigger a review.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Docker builds report
|
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
|
Visual Regression16 screenshots compared. See report for details. |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace AccountProvider with useGetOrganisationsQuery RTK hook. Accept a controlled value prop instead of reading from AccountStore. Move initial org selection logic to GitHubSetupPage.
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
How did you test this code?
Rendered an <OrganisationSelect on a page