-
Notifications
You must be signed in to change notification settings - Fork 900
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
Displays a more informative message on datasource deletion. #12316
Displays a more informative message on datasource deletion. #12316
Conversation
@dclarizio Are you OK with the above message? I personally would leave the message as it is, |
@@ -37,7 +37,9 @@ class ApplicationHelper::Toolbar::MiddlewareDatasourcesCenter < ApplicationHelpe | |||
:url_parms => "main_div", | |||
:enabled => false, | |||
:onwhen => "1+", | |||
:confirm => N_('Do you want to remove these datasources ?')) | |||
:confirm => N_('Do you want to remove these datasources ? Some Applications could be using these '\ |
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.
datasources ?
-> Datasources?
Should Applications
be capitalized?
@@ -37,7 +37,9 @@ class ApplicationHelper::Toolbar::MiddlewareDatasourcesCenter < ApplicationHelpe | |||
:url_parms => "main_div", | |||
:enabled => false, | |||
:onwhen => "1+", | |||
:confirm => N_('Do you want to remove these datasources ?')) | |||
:confirm => N_('Do you want to remove these datasources ? Some Applications could be using these '\ | |||
'datasources and might cause malfunction if are deleted.') |
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.
Same here, capitalize Datasources
Suggesting:
might cause malfunction if are deleted
-> may malfunction if they are deleted
@mzazrivec I added some editing comments to the message, but since this is for a BZ that asks to clarify the middleware datasource delete message, overall I think it's ok. |
fd23a98
to
31b9eb0
Compare
Updated with suggestions. Thanks! |
I suppose this is euwe/yes, right? |
31b9eb0
to
bc54547
Compare
Rebased with master |
Not sure why the build is failing, it doesn't seems to be related to this PR. I tried running the tests on my local and it fails even on master branch. |
bc54547
to
2c6870e
Compare
Another one of those |
Travis is finally green 👍 |
@@ -37,7 +37,9 @@ class ApplicationHelper::Toolbar::MiddlewareDatasourcesCenter < ApplicationHelpe | |||
:url_parms => "main_div", | |||
:enabled => false, | |||
:onwhen => "1+", | |||
:confirm => N_('Do you want to remove these datasources ?')) | |||
:confirm => N_('Do you want to remove these Datasources ? Some Applications could be using these '\ |
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.
minor: Datasources ?
-> Datasources?
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.
everywhere else seems to be like that, so I left it that way.
https://github.com/josejulio/manageiq/blob/2c6870ed583e79680209d5b005790021f84d4696/app/helpers/application_helper/toolbar/middleware_deployments_center.rb#L40
Do you think I should use this PR to fix that? (I don't mind fixing it)
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, please, fix the typo. Then we'll merge this w/o another round of travis.
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.
you can use [skip ci], if you make a commit just to fix the typo
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.
Sure. Is done, thanks
Checked commits josejulio/manageiq@2c6870e~...53ca7cb with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
Displays a more informative message on datasource deletion. (cherry picked from commit 58261bf) https://bugzilla.redhat.com/show_bug.cgi?id=1396237
Euwe backport details:
|
https://bugzilla.redhat.com/show_bug.cgi?id=1390283