Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Jan 26, 2025

PR-Codex overview

This PR focuses on enhancing the handling of teamSlug in various components, particularly in the context of API key management and project interaction. It introduces new functionality for displaying project details and navigation based on the teamSlug value.

Detailed summary

  • Added teamSlug prop to several components, including CreateApiKeyModal, TeamProjectsPage, and TeamHeader.
  • Updated CreateAPIKeyDialogProps to include teamSlug.
  • Enhanced APIKeyDetails to fetch project information using teamSlug.
  • Introduced a "View Project" button that navigates to the project page if teamSlug is present.
  • Adjusted button text based on the presence of teamSlug.

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

@linear
Copy link

linear bot commented Jan 26, 2025

@vercel
Copy link

vercel bot commented Jan 26, 2025

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 Jan 27, 2025 9:55am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Jan 27, 2025 9:55am
thirdweb_playground ⬜️ Skipped (Inspect) Jan 27, 2025 9:55am
wallet-ui ⬜️ Skipped (Inspect) Jan 27, 2025 9:55am

@vercel vercel bot temporarily deployed to Preview – docs-v2 January 26, 2025 10:08 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Jan 26, 2025

⚠️ No Changeset found

Latest commit: d03e687

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 vercel bot temporarily deployed to Preview – wallet-ui January 26, 2025 10:08 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 26, 2025 10:08 Inactive
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Jan 26, 2025
@MananTank MananTank marked this pull request as ready for review January 26, 2025 10:09
@MananTank MananTank requested review from a team as code owners January 26, 2025 10:09
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

@MananTank MananTank marked this pull request as draft January 26, 2025 10:11
@MananTank MananTank marked this pull request as ready for review January 26, 2025 10:11
@github-actions
Copy link
Contributor

github-actions bot commented Jan 26, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 46.85 KB (0%) 938 ms (0%) 4.2 s (+50.63% 🔺) 5.2 s
thirdweb (cjs) 123.65 KB (0%) 2.5 s (0%) 9 s (-2.79% 🔽) 11.5 s
thirdweb (minimal + tree-shaking) 5.59 KB (0%) 112 ms (0%) 436 ms (+9.08% 🔺) 548 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 129 ms (-12.25% 🔽) 139 ms
thirdweb/react (minimal + tree-shaking) 19.08 KB (0%) 382 ms (0%) 690 ms (-17.55% 🔽) 1.1 s

Copy link
Member

@jnsdls jnsdls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm why not just redirect straight to it, feels like the logical step? also CI is failing

Copy link
Member Author

Because we need to wait for user to copy the secret key

Copy link
Member

@joaquim-verges joaquim-verges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixing the next version mismatch in my pr btw

@codecov
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.01%. Comparing base (b6f189c) to head (d03e687).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6055      +/-   ##
==========================================
- Coverage   55.02%   55.01%   -0.01%     
==========================================
  Files        1152     1152              
  Lines       61280    61280              
  Branches     5181     5177       -4     
==========================================
- Hits        33722    33716       -6     
- Misses      26830    26834       +4     
- Partials      728      730       +2     
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from b6f189c
packages 52.71% <ø> (-0.02%) ⬇️

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

see 4 files with indirect coverage changes

@graphite-app
Copy link
Contributor

graphite-app bot commented Jan 27, 2025

Merge activity

…6055)

<!-- start pr-codex -->

## PR-Codex overview
This PR introduces the `teamSlug` prop across multiple components to enhance API key management by associating it with specific teams. This allows for better project handling and user navigation within the dashboard.

### Detailed summary
- Added `teamSlug` prop to `CreateAPIKeyModal` and related components.
- Updated `embed-setup.tsx` to handle `teamSlug` as `undefined`.
- Integrated `teamSlug` in `TeamProjectsPage` and `AccountHeader`.
- Modified `CreateAPIKeyDialog` to include `teamSlug` in props.
- Enhanced `APIKeyDetails` to fetch projects based on `teamSlug`.
- Implemented conditional rendering for "View Project" button based on `teamSlug`.

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

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – wallet-ui January 27, 2025 09:52 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 January 27, 2025 09:52 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground January 27, 2025 09:52 Inactive
@graphite-app graphite-app bot merged commit d03e687 into main Jan 27, 2025
31 checks passed
@graphite-app graphite-app bot deleted the TOOL-3231 branch January 27, 2025 09:56
@vercel vercel bot temporarily deployed to Production – thirdweb_playground January 27, 2025 09:56 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui January 27, 2025 09:56 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 January 27, 2025 09:56 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.

4 participants