Closed mohitb35 closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
planet-webapp-multi-tenancy-setup | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Aug 20, 2024 10:30am |
[!IMPORTANT]
Review skipped
Review was skipped due to path filters
Files ignored due to path filters (1)
* `public/static/locales/en/me.json` is excluded by `!**/*.json`You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
The recent changes enhance the payment and account management features within the application. Key updates include the introduction of distinct types for payment destinations, improving type safety and flexibility. The Certificates
and RecurrencyRecord
components have been streamlined to utilize these new types, enriching functionality while simplifying logic. Overall, these modifications aim to create a more robust and intuitive user experience when managing donations and subscriptions.
Files | Change Summary |
---|---|
src/features/common/types/payments.d.ts |
Replaced Destination with SingleDestination and MultipleDestinations . Updated DonationPurpose and modified PaymentHistoryRecord . |
src/features/user/Account/components/AccountRecord.tsx |
Removed unitType prop from Certificates , streamlining data passed to the component. |
src/features/user/Account/components/Certificates.tsx |
Updated purpose to use DonationPurpose . Refined shouldEnableCertificate logic by removing unitType . |
src/features/user/Account/components/RecurrencyRecord.tsx |
Added MixedSubscriptionProjects function for rendering destinations. Optimized RecordHeader using useMemo . Enhanced rendering in DetailsComponent for mixed types. |
sequenceDiagram
participant User
participant AccountRecord
participant Certificates
participant RecurrencyRecord
participant MixedSubscriptionProjects
User->>AccountRecord: Open account
AccountRecord->>Certificates: Render certificates
User->>Certificates: Check certificate eligibility
Certificates->>User: Display enabled/disabled status
User->>RecurrencyRecord: View subscription details
RecurrencyRecord->>MixedSubscriptionProjects: Render destinations
MixedSubscriptionProjects->>User: Display list of destinations
π In the realm of code, so bright and new,
Changes abound, with a hop and a view.
Payments and records, now tidy and neat,
With purposes clear, they dance to the beat.
So letβs celebrate, with joy and delight,
A rabbit's cheer for our code, shining bright! β¨
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?
Changes: Subscriptions
RecurrencyRecord
has been adapted to handle mixed type subscriptions (composite donation subscriptions).History:
unitType
prop has been removed for Certificates component as it was not needed.Translation changes