-
Notifications
You must be signed in to change notification settings - Fork 619
Plug in Team settings page UI to API #4888
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 ↗︎
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @MananTank and the rest of your teammates on |
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4888 +/- ##
=======================================
Coverage 47.61% 47.61%
=======================================
Files 1057 1057
Lines 57224 57224
Branches 3924 3924
=======================================
Hits 27247 27247
Misses 29288 29288
Partials 689 689
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
fa207ad to
82f54ef
Compare
82f54ef to
83e7e6f
Compare
83e7e6f to
285ba5d
Compare
285ba5d to
536baf8
Compare
apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/TeamGeneralSettingsPageUI.tsx
Outdated
Show resolved
Hide resolved
536baf8 to
a90df36
Compare
apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/TeamGeneralSettingsPageUI.tsx
Show resolved
Hide resolved
Merge activity
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR primarily focuses on enhancing the `Team` functionality by adding billing features, updating team settings, and refining the UI components to support new properties such as `billingEmail` and `image`. It also improves the update mechanisms for team attributes.
### Detailed summary
- Added `billingEmail` and `image` fields to the `Team` model.
- Updated the `TeamGeneralSettingsPage` to accept `authToken` instead of `client`.
- Implemented `updateTeam` function to handle team updates.
- Modified UI components to support new fields and update methods.
- Enhanced `FileInput` to handle fallback URLs.
- Refactored `TeamNameFormControl` and `TeamSlugFormControl` to utilize `updateTeamField` for updates.
- Integrated `resolveScheme` for avatar URL handling in `TeamAvatarFormControl`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
a90df36 to
b148fa0
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on enhancing the
Teamobject structure and its related components, primarily by adding new properties and improving the update functionality for team settings.Detailed summary
billingEmailtoTeamobject.deletedAtandbannedAtoptional.updateTeamfunction for updating team details.TeamGeneralSettingsPageto useauthTokeninstead ofclient.TeamGeneralSettingsPageUIfor updating team fields and images.updateTeamFieldprop toTeamNameFormControlandTeamSlugFormControl.FileInputcomponent.TeamAvatarFormControlto use the resolved image URL.