BetterBags

BetterBags

1M Downloads

[Feature]: Allow non-alphabetic Category sorting

prathmell opened this issue ยท 4 comments

commented

Describe the feature

I would love to be able to move categories around to where I want them. I'd put Quest items and heal potions at the top, hearthstones and reputation insignia in the middle and crafting items at the bottom. Or wherever my whim wants

Describe the implementation

I'd like to see this implemented as sorting option in the config menu for categories. And if manual sort was chosen, you'd drag categories around in either the config menu or (like items) in the bag by dragging the category name to the place you want it

commented

Priority sorting is planned in the works -- this will be the tracking ticket for it.

Drag and drop within the bag will not be a part of this, at least not for a long time to come. It will be menu based.

commented

Priority sorting is planned in the works -- this will be the tracking ticket for it.

Does this include the category grouping that was present in AdiBags, preferably allowing multiple groups with the same name? There I had an X9 category in quests/tradeskill/consumables each, which were different and also not at the same position in the category order due to the group order. Not having that anymore is something really keeping me from changing addons.

image

commented

Could you implement it as a plugin, so that an addon could provide a callback to reorder the list?

Right now I'm adding ~98 to the front of my custom category to get it to land at the end. I'd love to also move the Junk to the end for ease of inspection before selling.

commented

I think a hook at sectionProto:SertTitle could do it. Perhaps RegisterCategorySetTitle(text) that returns modified text for SetTitle? That would change the displayed text but not the sort order.