streameth-platform icon indicating copy to clipboard operation
streameth-platform copied to clipboard

[TASK] Stripe frontend tasks

Open Mario-SO opened this issue 5 months ago • 0 comments

Description

The UI needed to handle all pricing and user interactions once subscribed and also when not subscribed.

Related User Story

Related User Story #968

Objectives

  • [ ] Create a Pricing page in the sidebar.
  • [ ] Create a Get more hours (or however we want to call it) button in the navbar if user is not subscribed or it ran out of hours
  • [ ] Create the pricing cards with the different features for each subscription tier
  • [ ] Create the dialog when a non-subscribed user, or a user with no more hours, clicks on any feature.
  • [ ] Add an Hours Consumed/x badge to let users know how many hours they have left.

Acceptance Criteria

  • [ ] consumedHours field from the new Org model in the UI must be read in realtime.

Additional Information

For this kind of implementation maybe a global context, that knows wether the user (Organization) is subscribed, that wraps all the app is the way to go (needs discussion)

CleanShot 2024-09-25 at 14 02 39

I can provide the code of this pricing section. CleanShot 2024-09-25 at 14 05 22

CleanShot 2024-09-25 at 14 08 11

Mario-SO avatar Sep 25 '24 12:09 Mario-SO