DFreds / dfreds-convenient-effects

A FoundryVTT module that adds easy to use toggleable active effects for any system.
MIT License
47 stars 39 forks source link

Specify display order of conditions in token UI #225

Closed emwhalen closed 1 year ago

emwhalen commented 1 year ago

Currently, conditions are ordered in the token overlay menu according to the chronological order in which they were toggled as available for that menu. I prefer my conditions to be ordered alphabetically, and correcting the order accordingly can be tedious if, for example, I add "Airborne" as a new custom condition and need to then toggle off all conditions and then toggle them back on in the correct order just to have "Airborne" be first in the list rather than last.

A desirable outcome might be a system by which I can arbitrarily specify the display order of conditions in the token overlay menu.

Many thanks for your time and consideration and for your hard work on this excellent module.

DFreds commented 1 year ago

Hm, sounds cool but I'm not sure how you would want that to behave. I think I could easily make it sort by alphabetical order or something, but how would you go about specifying the order yourself?

emwhalen commented 1 year ago

I don't really have a specific vision of implementation. CUB has a method of ordering conditions arbitrarily, but it might be excessive as a model for DCE. Alphabetical is all I personally hope for anyway.

Thanks again.

DFreds commented 1 year ago

Gotcha. I think alphabetical sorting could be done with a setting or something... but actively allowing you to choose the order would be difficult. You could maybe add a priority field into each active effect config sheet, but it seems like overkill and still not very usable.

I'll think about it, but let me know if you have other ideas.

emwhalen commented 1 year ago

Ok, I'll do that. In any case, feel free to consider this a low priority. It's just polish if anything.

DFreds commented 1 year ago

This will be in the next release