-
Notifications
You must be signed in to change notification settings - Fork 126
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
Poké: rework display active subscription/plan #4576
Conversation
front/pages/poke/[wId]/index.tsx
Outdated
@@ -329,9 +328,215 @@ const WorkspacePage = ({ | |||
</DropdownMenu.Items> | |||
</DropdownMenu> | |||
</div> | |||
<div className="border-material-200 my-4 flex flex-col rounded-lg border p-4"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😱 Can you move this to a dedicated table like we did for other tables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes @flvndvd 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@flvndvd done, ok for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great !
As discussed IRL I also moved the order of tables and renamed the title for the table with history of subscriptions. |
}) { | ||
const activePlan = subscription.plan; | ||
return ( | ||
<div className="flex flex-col space-y-8 pt-4"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance we could factorize this? Like having an object like we do for data_table
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! Merging as is so I can focus on the new Enterprise form this morning, I'll open a new PR to handle this feedback right after 🙇🏻♀️
* Poké: rework display active subscription/plan * Apply feedback * lint * Improve look
Description
I know this is more code but Poké deserves some love 🙈
This PR is about removing the JSON viewer to replace by a table -> splitting in both the Subscription info with the product limitations from the plan.
Next step is to move the buttons to upgrade/downgrade a workspace and add a new one for Enterprise onboarding;
Risk
/
Deploy Plan
/