death-save / combat-utility-belt

Combat Utility Belt module for Foundry Virtual Tabletop
https://deathsave.dev
GNU General Public License v3.0
53 stars 58 forks source link

List order options of effects #724

Open Lyinggod opened 1 year ago

Lyinggod commented 1 year ago

Describe the solution you'd like The ability to change the position of a condition within Condition Lab using a numeric value in addition to using up and down buttons. Currently new conditions are added to the bottom of the list. If the desire is to move the condition to higher position in the list, then the "up" button must be pressed, perhaps a lot. If the desired position of a new condition is in the second position from the top of the list, then the ability to enter the value "2" for a position would automatically relocate it to the "2" position, pushing the current number 2 option to position 3 (etc). This eliminates the necessity to press the "up" button twenty or thirty times (or more) for each new condition added. This field could be hidden when not in use.

Providing the user with the option of sorting the Condition Lab effects either by Condition Lab order or alphabetically can make finding effects easier if the order is highly customized. Additionally, the icons shown under the token "Assign Status Effects" option could have a toggled option to order the appearance either by Condition Lab numeric position or alphabetically.

Additional context This should be made available for both V9 and V10.