ayon-frontend icon indicating copy to clipboard operation
ayon-frontend copied to clipboard

Settings: Ordered multiselection enumerator

Open iLLiCiTiT opened this issue 1 year ago • 0 comments

Story

Change order of items in multiselection enumerator.

Problems

It is not possible to define order of items in multiselection enumrator.

Proposal

It should be optional, not all multiselection enums should allow this feature, so we have to somehow define via settings field that order does matted (backend implementation should be first?).

The question is how to visually allow it.

UX proposal

Let's say enum would allow Value 1, Value 2, Value 3 and Value 4.

┌────────────────────┐
│    Value 1         │  ( ↑ ) ( ↓ ) ( 🗑 )
└────────────────────┘
┌────────────────────┐
│    Value 2         │  ( ↑ ) ( ↓ ) ( 🗑 )
└────────────────────┘
┌────────────────────┐
│ *- select value -* │
└────────────────────┘
  • Each item would have single selection combobox.

  • Once a value is selected in any item, it would not be available in any other combobox.

  • Removed item will add the value to all comboboxes.

  • Changed value will add previous value to all comboboxes and remove new value.

  • Selecting value in select value item would add new item with the value at the end, and select value item would move to the bottom.

  • If all items are selected select value item would not show.

  • It would be nice to have drag & drop...

  • In this example select value item would allow only Value 3 and Value 4.

  • Item where Value 1 is set, would allow only Value 1, Value 3 and Value 4.

iLLiCiTiT avatar Aug 28 '24 12:08 iLLiCiTiT