You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Part of this issue: https://github.com/wp-media/wp-rocket.me/issues/4326 we need to depend on the API from our website backend to show the upgrade section with generic blocks so we have the full control from the backend.
So we have upgrades property in user API endpoint, so we will use this and prepare the list of upgrades details considering the stack property => if true, we will show them in the UI as select dropdown menu, exactly like what we have in our website new pricing page:
Here we need to agree on the data being passed to the UI view, I propose to have something like (the below example is for single license):
I mentioned the technical details in the issue itself and to make it easier I already started the PR to show the approach we will take also added the effort.
I was thinking of directly start working on it and continue on the mentioned PR and see how it goes.
Let me know if you think that detailed grooming is needed in this case.
Is your feature request related to a problem? Please describe.
Part of this issue: https://github.com/wp-media/wp-rocket.me/issues/4326 we need to depend on the API from our website backend to show the upgrade section with generic blocks so we have the full control from the backend.
Describe the solution you'd like
As discussed with service team, we have a semi-final API contract here:
https://github.com/wp-media/wp-rocket.me/blob/9acee8e8d432d960a0fca8465319f6cd85a00198/openapi.yaml#L496-L524
So we have upgrades property in user API endpoint, so we will use this and prepare the list of upgrades details considering the
stack
property => if true, we will show them in the UI as select dropdown menu, exactly like what we have in our website new pricing page:Here we need to agree on the data being passed to the UI view, I propose to have something like (the below example is for single license):
We shouldn't have any static (hard-coded) values here.
Additional context
Slack discussion: https://wp-media.slack.com/archives/C0837DFAFEX/p1733383902203979
The text was updated successfully, but these errors were encountered: