Skip to content

consider allow switching easily between the different display modes #1310

@grozan

Description

@grozan

Hi,

both display modes, resources and results, have their use-cases
resources is great to have a view grouped by objects, and results is great to see all the reports in one go to easily display all the fail ones for example.

Another mode that would be great IMHO would be policies or something, that would present a view of the reports grouped by policies. This is there already in the global dashboards at the top, grouping be category and allowing to drill down to the policy-level
These are global dashboards, though, that normal users in our environment for example would not be allowed to access (users can only access the namespacecustomboards showing only the namespaces they are responsible of)

Besides an hypothetical new policies display mode, it would be really great to have a button to easily switch between them

As the display is already a field of dashboard, and there might be use-cases where people might prefer to enforce a particular display mode, I'm thinking a way to make this optionable would be to also allow a list for the display field.

Something like
display: results # only the results display is allowed for that report.
display: ['results','resources','policies'] # allows the 3 display modes. Clicking on a "switch display mode" button somewhere in the page cycles through them

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIPolicy Reporter UI v2enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions