Split flash, navbar and listnav related bits off ApplicationHelper #3873
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This should be a straightforward move of a bunch of methods to 3 new ApplicationHelper concerns:
ApplicationHelper::Flash
-flash_to_session
,render_flash_msg?
,javascript_flash
ApplicationHelper::Listnav
-miq_accordion_panel
,single_relationship_link
,multiple_relationship_link
,valid_html_id
,li_link
,build_link_text
,link_to_with_icon
,render_listnav_filename
ApplicationHelper::Navbar
-item_nav_class
,section_nav_class_iframe
,section_nav_class
And removes a dead
ApplicationHelper
method -link_image_if
, last used before #1376.(The idea is to make the application helper rating a bit better, and maybe to clean up any issues CC finds in the new files. => wip)