Skip to content

Update plan tier hierarchy for sponsorship policies #6853

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

jnsdls
Copy link
Member

@jnsdls jnsdls commented Apr 25, 2025

TL;DR

Updated plan tier hierarchy by swapping starter and starter_legacy positions, and lowered the required plan for sponsorship policies from accelerate to starter.

What changed?

  • Modified the plan tier hierarchy in planToTierRecordForGating by changing:
    • starter_legacy from tier 1 to tier 2
    • starter from tier 2 to tier 1
  • Reduced the required plan for the sponsorship policies feature from accelerate to starter in the GatedSwitch component

How to test?

  1. Verify that users on the starter plan can now access sponsorship policies
  2. Confirm that the plan hierarchy works correctly in all gated features
  3. Test that users on starter_legacy plans maintain their expected access levels

Why make this change?

This change makes sponsorship policies available to more users by lowering the tier requirement. The plan hierarchy adjustment ensures that the starter plan is positioned correctly in the tier structure, making it more accessible than the legacy version while maintaining the proper feature gating across the platform.

Copy link

vercel bot commented Apr 25, 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 Apr 25, 2025 8:50am
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Apr 25, 2025 8:50am
login ⬜️ Skipped (Inspect) Apr 25, 2025 8:50am
thirdweb_playground ⬜️ Skipped (Inspect) Apr 25, 2025 8:50am
wallet-ui ⬜️ Skipped (Inspect) Apr 25, 2025 8:50am

Copy link

changeset-bot bot commented Apr 25, 2025

⚠️ No Changeset found

Latest commit: 69c5935

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 April 25, 2025 08:43 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 April 25, 2025 08:43 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 25, 2025 08:43 Inactive
@vercel vercel bot temporarily deployed to Preview – login April 25, 2025 08:43 Inactive
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Apr 25, 2025
@jnsdls jnsdls marked this pull request as ready for review April 25, 2025 08:43
@jnsdls jnsdls requested review from a team as code owners April 25, 2025 08:43
Copy link
Member Author

jnsdls commented Apr 25, 2025


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.

@jnsdls jnsdls merged commit f0dce0a into main Apr 25, 2025
20 of 22 checks passed
@jnsdls jnsdls deleted the Update_plan_tier_hierarchy_for_sponsorship_policies branch April 25, 2025 08:48
Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 51.16 KB (0%) 1.1 s (0%) 198 ms (+170.77% 🔺) 1.3 s
thirdweb (cjs) 143.77 KB (0%) 2.9 s (0%) 351 ms (+98% 🔺) 3.3 s
thirdweb (minimal + tree-shaking) 5.66 KB (0%) 114 ms (0%) 70 ms (+1558.77% 🔺) 184 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 19 ms (+1328.65% 🔺) 29 ms
thirdweb/react (minimal + tree-shaking) 19.33 KB (0%) 387 ms (0%) 99 ms (+553.38% 🔺) 485 ms

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.

1 participant