Object field: Custom sorting - Waiviogit/waivio GitHub Wiki

Main modal windows details Add update object modal window. Main template

Custom sorting - field to sort other buttons (List, Page, Button, News filter, Blog, Form), purpose to show buttons in a certain way.

ITEM all active updates (List, Page, Button, News filter, Blog, Form) will display. User can drag it. Item has:
  • button name
  • button type

image

View mode in left sidebar:

  • after application, the buttons are arranged in the specified order
  • if the object has added a custom sorting, we will open the {first button}, if it list or page or blog or newFilter, when user opens the object.

Page displays (example):

image

Custom sorting for List object type

Custom sorting (List sorting) for a list has a different purpose - to order objects placed in the list. Items - all object placed in the list.

List sorting is a feature that defines the order in which items (objects) appear in a list. It has two modes:

  • Custom Mode: User manually arranges the order of items. Each item has a checkbox:
    • Active: item is visible.
    • Inactive: item is hidden.
    • All items are active by default. If a list already has custom sorting, it will be pre-selected when the page opens.
    • When a list has List sorting applied, it appears as "Custom" in sorting options.
    • When adding another custom sorting, the modal displays the last (or winning) active custom sorting.
  • Auto Mode: Items are sorted automatically based on rules chosen by the user.
    • Sorting applies to all current and future items in the list.
    • When Auto mode is selected, a Sort by dropdown appears with these options:
      • Recency: oldest → newest (new items at the bottom)
      • Reverse recency: newest → oldest (new items at the top)
      • Rank: higher weight → lower weight
      • A..Z: alphabetical ascending
      • Z..A: alphabetical descending
    • After adding this sorting, the list will not have a sorting "Custom".
    • If the object has this sorting, then this sorting will be selected when the page is opened.
    • If user has one custom sorting, and he wants to add one more, in modal window update he will see last active custom sorting

image image

Additional information

  • [list / items] there is a custom sorting in the list and it looks like new items are not shown after that. If new items appear in addition to the items included in custom sorting, they should be shown at the end of the list. #4883
  • [list / sorting] Large lists are difficult to sort manually. To begin with, it is suggested to add sorting options to the Custom sorting dialog to simplify manual sorting. #7850
  • [list / sorting] Add sorting mode and sort by functionality. #7862 #7860 #7861
⚠️ **GitHub.com Fallback** ⚠️