-
Notifications
You must be signed in to change notification settings - Fork 356
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
Remove TOP_TABLES_BY_WASTED_SPACE_COUNT from UiConstants #1757
Conversation
This pull request is not mergeable. Please rebase and repush. |
3ebdbe0
to
a51f486
Compare
This pull request is not mergeable. Please rebase and repush. |
a51f486
to
0bc7a40
Compare
@@ -125,7 +125,7 @@ def textual_vmdb_tables_most_wasted_space | |||
:title => _("Tables with Most Wasted Space"), |
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.
@europ move the constant definition on the beginning of this method, instead of leaving a random number in the code
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.
@romanblanco , I see your point. But this constant is really in just one place and we removed more constants like that. Maybe we could replace more of the "5" that serve similar purpose with a single constant in a follow up PR?
This pull request is not mergeable. Please rebase and repush. |
0bc7a40
to
2506bf7
Compare
Checked commits europ/manageiq-ui-classic@46f3df6~...2506bf7 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Issue: #1661
We have removed
TOP_TABLES_BY_WASTED_SPACE_COUNT
constant fromUiConstants
. One occurrence of constantTOP_TABLES_BY_WASTED_SPACE_COUNT
was replaced with its value inmanageiq-ui-classic/app/helpers/ops_helper/textual_summary.rb
.