Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Oct 2, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on enhancing the Team object structure and its related components, primarily by adding new properties and improving the update functionality for team settings.

Detailed summary

  • Added billingEmail to Team object.
  • Made deletedAt and bannedAt optional.
  • Introduced updateTeam function for updating team details.
  • Updated TeamGeneralSettingsPage to use authToken instead of client.
  • Enhanced TeamGeneralSettingsPageUI for updating team fields and images.
  • Added updateTeamField prop to TeamNameFormControl and TeamSlugFormControl.
  • Implemented file URL handling in FileInput component.
  • Updated TeamAvatarFormControl to use the resolved image URL.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@changeset-bot
Copy link

changeset-bot bot commented Oct 2, 2024

⚠️ No Changeset found

Latest commit: b148fa0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Oct 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 5:45pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Oct 4, 2024 5:45pm
thirdweb_playground ⬜️ Skipped (Inspect) Oct 4, 2024 5:45pm
wallet-ui ⬜️ Skipped (Inspect) Oct 4, 2024 5:45pm

@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 16:50 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 16:50 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 16:50 Inactive
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Oct 2, 2024
@MananTank MananTank changed the title Plug in Team settings page UI to API WIP - Plug in Team settings page UI to API Oct 2, 2024
Copy link
Member Author

MananTank commented Oct 2, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on Graphite Graphite

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 2, 2024

Your org has enabled the Graphite merge queue for merging into main

Add 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
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.61%. Comparing base (5c8766b) to head (b148fa0).
Report is 1 commits behind head on main.

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           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 5c8766b
packages 43.37% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.96 KB (0%) 840 ms (0%) 2.4 s (+8.62% 🔺) 3.3 s
thirdweb (cjs) 101.68 KB (0%) 2.1 s (0%) 6.5 s (+25.74% 🔺) 8.5 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 192 ms (-35.74% 🔽) 288 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 106 ms (+14.74% 🔺) 116 ms
thirdweb/react (minimal + tree-shaking) 17.23 KB (0%) 345 ms (0%) 713 ms (+20.08% 🔺) 1.1 s

@MananTank MananTank changed the base branch from 10-02-api_server_url_env_cleanup to graphite-base/4888 October 2, 2024 17:39
@MananTank MananTank force-pushed the 10-02-plug_in_team_settings_page_ui_to_api branch from fa207ad to 82f54ef Compare October 2, 2024 17:43
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 17:43 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 17:43 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 17:43 Inactive
@MananTank MananTank changed the base branch from graphite-base/4888 to main October 2, 2024 17:43
@MananTank MananTank force-pushed the 10-02-plug_in_team_settings_page_ui_to_api branch from 82f54ef to 83e7e6f Compare October 2, 2024 17:43
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 17:43 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 17:43 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 17:43 Inactive
@MananTank MananTank force-pushed the 10-02-plug_in_team_settings_page_ui_to_api branch from 83e7e6f to 285ba5d Compare October 3, 2024 13:07
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 3, 2024 13:07 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 3, 2024 13:07 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 3, 2024 13:07 Inactive
@MananTank MananTank force-pushed the 10-02-plug_in_team_settings_page_ui_to_api branch from 285ba5d to 536baf8 Compare October 3, 2024 13:40
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 3, 2024 13:40 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 3, 2024 13:40 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 3, 2024 13:40 Inactive
@MananTank MananTank force-pushed the 10-02-plug_in_team_settings_page_ui_to_api branch from 536baf8 to a90df36 Compare October 4, 2024 15:45
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 4, 2024 15:45 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 4, 2024 15:45 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 4, 2024 15:45 Inactive
@MananTank MananTank changed the title WIP - Plug in Team settings page UI to API Plug in Team settings page UI to API Oct 4, 2024
@MananTank MananTank marked this pull request as ready for review October 4, 2024 16:38
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 4, 2024

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 -->
@MananTank MananTank force-pushed the 10-02-plug_in_team_settings_page_ui_to_api branch from a90df36 to b148fa0 Compare October 4, 2024 17:36
@graphite-app graphite-app bot merged commit b148fa0 into main Oct 4, 2024
27 checks passed
@graphite-app graphite-app bot deleted the 10-02-plug_in_team_settings_page_ui_to_api branch October 4, 2024 17:46
@vercel vercel bot temporarily deployed to Production – thirdweb_playground October 4, 2024 17:46 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui October 4, 2024 17:46 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 October 4, 2024 17:46 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants