Skip to content

Release v1.8.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 14:24
0ac6bd2

Box Office now has a user interface. @cratis/showrunner.boxoffice.react tells the signed-in user what their tenant may do, keeps navigation and pages of modules the tenant lacks out of sight, and gives the product's maintainers seats, usage and plan pages.

Added

  • @cratis/showrunner.boxoffice.react: BoxOfficeProvider, useEntitlements, useModuleFilter, RequiresModule, TrialBanner, SuspensionBanner, NoLicense, PortalButton, SeatsPage, UsagePage and PlanPage, with replaceable texts and a stylesheet built on the Cratis Components tokens. (#51)
  • CurrentEntitlements query returning what the signed-in user's tenant may do in one answer: read-only reason, trial, seats and each module's access.
  • CurrentUsage query, authorized by BoxOffice.ManageCompute, returning where the tenant stands with each meter in its allowance period.
  • LinkToPortal query and the CustomerPortalUrl, CustomerPortalSigningKey and CustomerPortalLinkLifetime options: a product can send tenants to the operator's customer portal with a signed, short-lived link. The host fails to start when only one of the address and the key is set.
  • Documentation for the React components and the customer portal, and the new queries and options on the existing Box Office pages. (#53)