Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25900 Complete the Records macro
  3. XWIKI-25901

Set the filters and the sort of the Records macro with dedicated pickers

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • Major
    • None
    • 18.10.0
    • Records
    • None
    • Unknown

    Description

      Need

      The Filter & sort tab of the Records macro's Edit Macro dialog uses suggest inputs. They are hard to read and to edit once several filters or sort criteria are set. They also cannot express what readers can do in the Live Data itself, such as choosing a filter operator or combining several constraints on the same field.

      Scope

      Implement the pickers designed in XWIKI-25520 (proposal):

      • filters: pick a field, an operator and one or more values, with a value input matching the field type;
      • sort: add, remove and reorder sort criteria, including with the keyboard;
      • feedback for fields that no longer exist, or cannot be filtered or sorted.

      Risks

      • The macro's filter parameter cannot store an operator today. Adding one must keep the macro calls written with the current syntax working.
      • The pickers must stay usable in a narrow dialog and on small screens.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: