-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add free and paid online-extensions.js files for custom quota messages #40
Add free and paid online-extensions.js files for custom quota messages #40
Conversation
I always like to run wording by @wgordon17 . The current wording is: Thanks for CCing me on this change. It can probably go out with next week's update. |
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.
Wow, it's a lot harder to remove the "you" from the Pro plan messaging than I would've thought. I put one suggestion in there without "you", but it sounds kinda weird. I'll let @damemi pick which he likes.
I would also like to see persistentvolumeclaims
and requests.storage
added as notification messages.
|
||
window.OPENSHIFT_CONSTANTS.QUOTA_NOTIFICATION_MESSAGE = { | ||
"limits.memory": "Upgrade to <a href=\""+window.OPENSHIFT_EXTENSION_PROPERTIES.account_url+"/register/plan\">OpenShift Online Pro</a> if you need more resources", | ||
"limits.cpu": "Upgrade to <a href=\""+window.OPENSHIFT_EXTENSION_PROPERTIES.account_url+"/register/plan\">OpenShift Online Pro</a> if you need more resources" |
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.
Some suggested edits:
Get access to additional resources by upgrading to OpenShift Online Pro.
Access additional resources by upgrade to OpenShift Online Pro.
Upgrade to OpenShift Online Pro for access to additional resources.
OpenShift Online Pro provides additional resources.
|
||
window.OPENSHIFT_CONSTANTS.QUOTA_NOTIFICATION_MESSAGE = { | ||
"limits.memory": "You can <a href=\""+window.OPENSHIFT_EXTENSION_PROPERTIES.account_url+"\">upgrade your plan</a> if you need more resources", | ||
"limits.cpu": "You can <a href=\""+window.OPENSHIFT_EXTENSION_PROPERTIES.account_url+"\">upgrade your plan</a> if you need more resources" |
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.
Some suggested edits:
<a>Add additional resources</a> to increase the quota.
<a>Manage your subscription</a> to add additional resources.
<a>Manage your subscription</a> to increase the quota.
0c39bdb
to
0b1fa88
Compare
0b1fa88
to
8c1628a
Compare
@sspeiche does this wording/approach look good to you? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhgupta, damemi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Card: https://trello.com/c/BkleYWax/958-2-pro-provide-custom-messages-for-hitting-quotas
Note that adding these two files will require them to be added to the webconsole configmap under
scriptURLs
in order to take effect, and only on their specific clustersScreenshot of paid cluster:
See this pr for reference: openshift/origin-web-console#2116
(Available quota messages: https://github.com/openshift/origin-web-console/blob/master/app/scripts/services/quota.js#L115)