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

Add blank slate to EntityList component

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0, 2.0.0-alpha2
    • Component/s: frontend
    • Labels:

      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

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

                Dates

                Created:
                Updated:
                Resolved: