Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: subscription, plan & permissions #841

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

elboletaire
Copy link
Member

@elboletaire elboletaire commented Nov 15, 2024

What's done so far:

  • Created the new "subscription" view (accessible via /admin/subscription)
  • Recovered the menu link to this new page (under Settings -> Subscription)
  • Display a table with the current subscription. It's been done as a table since it looks like it, but I'm not sure if it's useful considering there aren't plans for multiple subscriptions. Responsive tables are also a problem with the display: grid we're using in the dashboard.
  • Removed the temporary "open modal" button from the main menu
  • Such modal can now be opened using the "view plans & pricing" button in the new page
  • A new Subscription Provider/Context has been created, with a permissions method in order to check for permissions of the current plan, but it has not been applied yet anywhere
  • The pricing modal has been minimally changed to allow setting a custom title, and moving its contents into an independent component

Copy link

github-actions bot commented Nov 15, 2024

@github-actions github-actions bot temporarily deployed to pull request November 15, 2024 14:53 Inactive
Copy link

github-actions bot commented Nov 15, 2024

@github-actions github-actions bot temporarily deployed to pull request November 15, 2024 15:12 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 12:37 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 12:37 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 14:34 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 14:34 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 14:59 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 14:59 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 15:06 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 15:06 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 16:44 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 16:44 Inactive
@elboletaire elboletaire changed the title WIP: subscription plan permissions WIP: subscription, plan & permissions Nov 20, 2024
What's done so far:
- Created the new "subscription" view
- Recovered the menu link to this new page
- Show a table with the current subscription. It's been done as a table
  since it looks like it, but I'm not sure if it's useful considering
  there aren't plans for multiple subscriptions
- Removed the "open modal" temporary button from the main menu
- Such modal can now be opened using the "view plans & pricing" button
  in the new page
- A new Subscription Provider/Context has been created, with a
  `permissions` method in order to check for permissions of the current
  plan, but it has not been applied yet anywhere
- The pricing modal has been minimally changed to allow setting a custom
  title, and moving its contents into an independent component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant