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
The plugin currently hardcodes licence name in the dashboard view.
It considers the licence_account integer to display Single, Plus or Infinite.
A future update will add new fields to the user endpoint to get the actual name of the license, avoiding having to calculate the licence matching the number of websites.
Goal is to make is dynamic.
The PR only changes dashboard view (Your licence) with a fallback:
Display the user->licence->name is if exists in the user endpoint
Display the regular licence_account matching licence name if user->licence->name is not set
This is supposed to be a quick change to fix our main issue with new type of licences.
Other work is done in parallel to tackle other features that need to be more dynamic like upgrades, renewals, prices.
Describe the solution you'd like
Get the (new) license name value from the user endpoint.
Display it in the dashboard.
Fallback if not defined.
Incoming PR to be submitted by @wp-media/engineering-service-team
Is your feature request related to a problem? Please describe.
Related to service issue: https://github.com/wp-media/wp-rocket.me/issues/4255
The plugin currently hardcodes licence name in the dashboard view.
It considers the licence_account integer to display Single, Plus or Infinite.
A future update will add new fields to the user endpoint to get the actual name of the license, avoiding having to calculate the licence matching the number of websites.
Goal is to make is dynamic.
The PR only changes dashboard view (Your licence) with a fallback:
This is supposed to be a quick change to fix our main issue with new type of licences.
Other work is done in parallel to tackle other features that need to be more dynamic like upgrades, renewals, prices.
Describe the solution you'd like
Get the (new) license name value from the user endpoint.
Display it in the dashboard.
Fallback if not defined.
Incoming PR to be submitted by @wp-media/engineering-service-team
FYI @piotrbak
ETA: before Black Friday / Nov. 19th
The text was updated successfully, but these errors were encountered: