-
Notifications
You must be signed in to change notification settings - Fork 619
[TOOL-3476] Dashboard: Add Transfer Project in Project settings page #6316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6316 +/- ##
=======================================
Coverage 56.83% 56.83%
=======================================
Files 1168 1168
Lines 64793 64793
Branches 5258 5258
=======================================
Hits 36824 36824
Misses 27242 27242
Partials 727 727
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
…6316) <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the project management features by introducing team member retrieval, project transfer capabilities, and UI improvements in the `ProjectGeneralSettingsPage`. It also updates the handling of team roles and member information. ### Detailed summary - Updated `AccountTeamsUI` to handle empty image string for avatars. - Added `getMemberById` function to fetch team member details. - Replaced `getMembers` with `getMemberById` in `Page` component. - Enhanced `DangerSettingCard` to include `isDisabled` prop. - Refactored `ProjectGeneralSettingsPage` to manage team roles and project transfers. - Introduced `TransferProject` component for transferring projects between teams. - Updated storybook stories to include owner and member account scenarios. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
536f284 to
208b052
Compare
|

PR-Codex overview
This PR introduces a new function
getMemberByIdfor fetching team member details, modifies theAccountTeamsUIto handle image sources, and updates the project settings page to include project transfer functionality, improving team management and UI interactions.Detailed summary
getMemberByIdfunction to fetch member details by team and member ID.AccountTeamsUIto use an empty string for image source fallback.Pagecomponents to usegetMemberByIdinstead ofgetMembers.DangerSettingCardto include an optionalisDisabledprop.TransferProjectcomponent for transferring projects between teams.ProjectGeneralSettingsPageto handle project transfer logic and state.ProjectGeneralSettingsPageto include account roles.