Skip to content

web-account

My account (stage 48), for the web: the signed-in customer’s own area, one page of sections. The base sections come with it: Orders, Agreements, Family, Payment method (only for someone who pays a subscription), Your details, and Sign-in and devices. The packs’ sections are passed in sections, each the pack’s own block, and take their place by order (a pack’s come first). It decides nothing: what each section shows is the host’s answer to the section’s own call, and whether Payment method shows is what the host lists of the subscriptions the customer pays. A later step adds “Needs your attention” at the top (me.attention) and lets the host say which pack sections this customer has (me.portal), with cos add writing sections for the client.

Skin web
Pack the base layer
Add it cos add web-account
Files account.tsx, LICENSE
Depends on web-account-details, web-account-devices, web-account-family, web-account-orders, web-account-payment, web-my-agreements, ui-button
Packages @composable-os/client

Through its hooks; the host decides what each caller may do.

Source: blocks/web-account.