Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-5240

Give EntityList control over action

    XMLWordPrintable

Details

    Description

      Context:

      Currently, the EntityList gets an action JSX-prop that is rendered as is in the EntityList header. It is used to provide an action button or dropdown in the top right corner of the EntityList (e.g. to create a new Report or Dashboard).

      With the addition of Bulk Operations, this action button (or Dropdown) should be styled differently depending on whether items are selected or not. As the action is outside of the control of the EntityList, we currently have to rely on hacks and tricks to make this work.

       

      AT:

      • Give the EntityList control over the action part in the header and provide an API for EntityList consumers to create actions (both buttons as well as dropdowns with potential submenus)

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Omran Abazeed Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce