-
Notifications
You must be signed in to change notification settings - Fork 63
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
Added Helper Text To the Token Field #498
Added Helper Text To the Token Field #498
Conversation
e3ad31b
to
594d70e
Compare
@@ -203,6 +203,7 @@ def self.params_for_create | |||
:id => "authentications.bearer.auth_key", | |||
:name => "authentications.bearer.auth_key", | |||
:label => "Token", | |||
:helperText => _('Note that the Default, Metrics, and Alert Endpoints, if enabled, must be revalidated every time the token is changed or updated'), |
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 good to me - another option:
:helperText => _('Note that the Default, Metrics, and Alert Endpoints, if enabled, must be revalidated every time the token is changed or updated'), | |
:helperText => _('NOTE: The Default, Metrics, and Alert Endpoints, if enabled, must be revalidated every time the token is changed or updated'), |
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.
@dehawkins512 or @rwellon can you give suggestions for wording here, or if it's ok give it a 👍 ?
594d70e
to
b23d0d2
Compare
Spec failures look unrelated, failing on master for the last two days |
@kbrock it seems like ManageIQ/manageiq@f7f3bdb caused the |
@Fryguy
|
b23d0d2
to
05ae0a5
Compare
What is the difference between changed/updated? I think we could go with one or the other but not both |
Good question - We can probably choose one or the other. @rwellon Opinion here? FWIW, I know @DavidResende0 was trying to handle both "new" and "edit" screens, so the wording needs to work for both. |
So how about "when adding or changing the token" |
think this test failure has been fixed if you rebase this PR. |
@DavidResende0 can you update the text per #498 (comment) |
05ae0a5
to
5d26725
Compare
New text -> |
Checked commit DavidResende0@5d26725 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint |
Backported to
|
…ield Added Helper Text To the Token Field (cherry picked from commit 6f5fb86)
Adds some text to the Token Field notifying the user that the Default, Metrics, and Alerts endpoints must be revalidated anytime the Token is updated if that endpoint is enabled.
Before:
After:
The long term goal is to add a clearer visual cue that illustrates this fact to the user.