feat(portal-plugin-billing): show quota summary and plan feature details#1092
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
- Add QuotaSummary component showing storage/upload/download usage with progress bars - Render QuotaSummary in SubscriptionStatusCard - Add collapsible 'View details' section in PlanList with FeaturesList - Add @lumeweb/portal-plugin-quota as billing dependency - Sync portal-plugin-quota source exports with built dist
3835e32 to
b4eeb14
Compare
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀 Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pull Request Description
This PR enhances the billing plugin's UI by adding two new features to the subscription experience:
1. Quota Usage Summary
A new
QuotaSummarycomponent has been added to the subscription status card, displaying real-time usage for Storage, Upload, and Download quotas. Each quota is shown with a progress bar that is color-coded based on usage level:The component handles unlimited quotas (showing only used amounts), loading states with skeletons, and error states gracefully. To enable this, the
useQuotahook and its types were exported from theportal-plugin-quotapackage, which was also added as a dependency to the billing plugin.2. Plan Feature Details in Plan Change View
Each plan in the plan change/selection list now includes a collapsible "View details" section. When expanded, it displays the full list of features included in that plan using the existing
FeaturesListcomponent, giving users better visibility into what each plan offers before making a selection.