Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1337

Improve Select All capability of nuxeo-page-provider-display-behavior

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.x, 3.0.6
    • Component/s: UI
    • Tags:
    • Team:
      UI
    • Sprint:
      UI - 2021-07, UI - 2021-08, UI - 2021-05, UI - 2021-06, UI - 2021-09
    • Story Points:
      5

      Description

      The nuxeo-page-provider-display-behavior already has the ability to toggle select all on and off. However, this is rather inefficient and there is no way to toggle it from the UI. The goals of this task are manyfold:

      1. Improve the performance of the selectAll method, which currently iterates through all items and sets the selected attribute to true. This is inefficient if we have too many documents. We should set the selected property only on loaded items. (see code).
      2. Allow the ability for select all to be enabled or disabled, on elements using this behavior (see poc for nuxeo-web-ui and nuxeo-elements).
      3. Expose a capability property to delegate the ability to toggle select all to a parent element (see poc).
      4. Make select all available in the header of the nuxeo-data-table, which will be responsible for its own selection.
      5. Make nuxeo-data-list, nuxeo-data-grid and nuxeo-justified-grid delegate the select all ability to the parent element.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rdias Ricardo Dias
                Reporter:
                gbarata Gabriel Barata
                Participants:
                Reviewers:
                Gabriel Barata, Miguel Nixo, Samuel Fialho
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 2 days, 3 hours, 5 minutes
                  1w 2d 3h 5m