Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-32489

Add Actions component to component groups

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • No
    • PlatEx UI Sprint 25, PlatEx UI Sprint 26

      Let's create a new component later allowing (not only) the DataViewToolbar (but also for example ContentHeaders) to display actions in mobile/desktop view appropriately. We should support displaying one primary action and collapsing the rest of the actions into a menu next to the primary action.  

      Actions configuration is passed using the actions property consuming an array of Action elements handling displaying the action buttons or menu depending on the viewport size - example:

      Let's also display these actions for each row in an example

      Add this component to component groups and use it in the DataView example

      We can use https://github.com/ansible/ansible-ui/tree/main/framework/PageActions as a base

              fhlavac Filip Hlavac (Inactive)
              fhlavac Filip Hlavac (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: