webrecorder / browsertrix

Browsertrix is the hosted, high-fidelity, browser-based crawling service from Webrecorder designed to make web archiving easier and more accessible for all!
https://browsertrix.com
GNU Affero General Public License v3.0
143 stars 29 forks source link

[Feature]: Display subscription info in org settings #1875

Open SuaYoo opened 2 weeks ago

SuaYoo commented 2 weeks ago

Mockups

Backend changes

Frontend changes

ikreymer commented 4 days ago

Current impl in progress: /api/orgs/{oid}/billing returns {"subUrl": <Subscription URL>, "subStatus": <Subscription Status>}

SuaYoo commented 4 days ago

@ikreymer @emma-sg could the backend API also return a subscription type of self-service or managed? That way we don't need to deal with details of all the subscription tiers right now, but we can handle showing different UI for the two. Per Discord convo, billing will return a null subscription object, from which the tier will be inferred for now.