Account · Billing and team: plans, quotas, cards, bills, prompts, members, invitations
SubscriptionCard shows a plan with its state, price and what comes next, a way to change it, and Cancel after a second press or Keep plan once canceled. UsageQuota gives each limit a meter and a line of how much, or how far past. PaymentMethodForm tells a card's network from its number, checks it with Luhn, and saves once the number checks out, the month is ahead, the code is whole and a name is given; it rests while the owner checks. BillingHistory lists bills with their state and a download; UpgradePrompt stands as one line or as a paywall. TeamMemberTable changes a member's role through RoleSelector and removes after a second press, the owner staying; InvitationList invites by a reading address with a role and resends or revokes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b3ce50ecab
commit
6f3d8036da
10 files changed
+1863
-8
No files matched your search
@@ -1,6 +1,7 @@
|
||||
use gpui::{AnyElement, App, Window, div, prelude::*};
|
||||
|
||||
mod access;
|
||||
mod billing;
|
||||
mod sign_in;
|
||||
|
||||
use super::Page;
|
||||
@@ -51,5 +52,8 @@ fn render(window: &mut Window, cx: &mut App) -> AnyElement {
|
||||
.child(access::switchers(window, cx))
|
||||
.child(access::profile(window, cx))
|
||||
.child(access::security_page(window, cx))
|
||||
.child(billing::plan(window, cx))
|
||||
.child(billing::history(window, cx))
|
||||
.child(billing::members(window, cx))
|
||||
.into_any_element()
|
||||
}
|
||||
Reference in new issue
Block a user