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

Add blank slate to EntityList component

    XMLWordPrintable

Details

    Description

      In order to avoid displaying empty, practically non-existing lists of Dashboards and Reports we need to display specific content in an empty EntityList.

      If empty, EntityList should render a list containing one item incl the text as stated in the pic, and a button right after the list:

      <section class="EntityList">
          <div class="EntityList__header">
              <h1 class="EntityList__heading">Dashboards</h1>
          </div>
          <ul class="EntityList__list"><li class="EntityList__item">
              <li>You have no Dashboards configured yet. </li>
          </ul>
          <button class="Button Button--green"> Create a Dashboard…</button>
      </section>
      

      franz.heidl will write the necessary styles and classes.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              michael.schoettes Michael Schoettes
              franz.heidl Franz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce