Closed elie222 closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
inbox-zero | ✅ Ready (Inspect) | Visit Preview | May 28, 2024 6:31pm |
The recent updates introduce two new premium tiers, BASIC_MONTHLY
and BASIC_ANNUALLY
, into the application. These changes span across various files, including form components, validation schemas, pricing configurations, and environment variables. Additionally, adjustments were made to user access logic, premium feature access, and database migrations to support these new tiers.
File(s) | Change Summary |
---|---|
.../AdminUpgradeUserForm.tsx , .../validation.tsx |
Added options for BASIC_ANNUALLY and BASIC_MONTHLY premium tiers. |
.../Pricing.tsx , .../config.ts |
Updated discount display, URL generation logic, and added pricing for new tiers. |
.../usage/usage.tsx , .../actions/premium.ts , .../turbo.json |
Renamed NEXT_PUBLIC_UNSUBSCRIBE_CREDITS to NEXT_PUBLIC_FREE_UNSUBSCRIBE_CREDITS . |
.../route.ts , .../PremiumAlert.tsx , .../premium/index.ts , .../premium/server.ts |
Updated user access logic and premium feature access based on new premium tiers. |
.../env.mjs |
Added environment variables for new premium tiers and renamed unsubscribe credits variable. |
.../schema.prisma , .../migration.sql |
Added new premium tiers to the PremiumTier enum and bulkUnsubscribeAccess to the Premium model. |
In the code, new tiers arise,
BASIC_MONTHLY, BASIC_ANNUALLY, a pleasant surprise.
Discounts dance, URLs align,
Premium features, now refined.
Unsubscribe credits, renamed with care,
A digital garden, with changes to share.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
BASIC_MONTHLY
andBASIC_ANNUALLY
premium tiers.bulkUnsubscribeAccess
feature to user premium settings.Enhancements
Bug Fixes
Refactor