Allow to print (export to PDF) the right size recommendations of a VM #5252
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.
Right size recommendations can be accessed from a VM's summary screen under the
Configuration
dropdown in the toolbar.I created a new toolbar on this page with the print button and a new route that displays the printing dialog. However, it is a little weird to have the button completely on the left side of the toolbar. I don't feel it as consistent, but as far as I see, it is always aligned to the left, but on other pages there are multiple buttons pushing it more to the right.
The printing follows the same logic as on summary screens, a new window with the printing dialog opened. If you close the printing dialog, the window will close with it so you can get back to the previous page.
@miq-bot add_label enhancement
https://bugzilla.redhat.com/show_bug.cgi?id=1430159