Open skateman opened 5 years ago
We'll have a meeting about this with @terezanovotna and @hstastna soon, just wanted to write it down somewhere, basically a brain dump.
This issue has been automatically marked as stale because it has not been updated for at least 6 months.
If you can still reproduce this issue on the current release or on master
, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions!
@miq-bot rm_label stale
This issue has been automatically marked as stale because it has not been updated for at least 3 months.
If you can still reproduce this issue on the current release or on master
, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation.
Need some UX on this... cc @Ashley-Johnson28
The policy simulation screen is accessible after selecting at least one VM/Template:
After selecting some policy profiles to simulate, the simulation result shows up in the bottom-right quadrants of the quadicons:
Due to the nature of GTLs and
report_data
, this alteration of quadicons has been implemented in the decorators repo which is fundamentally wrong. I see the following options as solutions:QuadiconHelper
but it would require crazy metaprogramming in the decorators repo, not even mentioning the required dark magic for the model and the report.report_data
. This is not a real solution, just moving bad patterns from A to B. Also thereport_data
is being used in way too many places, so we might risk of introducing regressions across MiQ.You can access the detailed policy simulation result of each entity by clicking on their quadicons. The results are displayed in the tree:
The problem with this tree is that it has too many extra styling which is really hard to maintain in the codebase. We're sending styled HTML in the nodes' text with
html_safe
, which is far from being good and it's probably not even supported by our new react trees. Here I see the following options:TreeBuilder
would send some kind of JSON as the nodes' text that the tree component would understand and render it using the mini-components. It would clean the backend, but it adds extra complexity on the frontend.