Sortable Item / Attribute Groups #110

Open
opened 2026-06-18 05:13:21 +00:00 by Oliver · 0 comments
Owner

Currently the order that the attribute/item groups shows up on the sheet is in a seemingly random order (because it's based on insertion order of the items), this would be nice to be able to have them consistent across all of the sheets regardless of insertion order.

The most primitive version of this is an alphabetical sort on the group names, though a manual sort could be useful to include the issue is figuring out how to store the sort order of the groups, since what groups exist are defined by the items on the actor. This could potentially use an ArrayField(StringField) on the PlayerData class to store the names of each group in the desired order, and then new groups could be inserted at the end/start

Currently the order that the attribute/item groups shows up on the sheet is in a seemingly random order (because it's based on insertion order of the items), this would be nice to be able to have them consistent across all of the sheets regardless of insertion order. The most primitive version of this is an alphabetical sort on the group names, though a manual sort could be useful to include the issue is figuring out how to store the sort order of the groups, since what groups exist are defined by the items on the actor. This could potentially use an `ArrayField(StringField)` on the PlayerData class to store the names of each group in the desired order, and then new groups could be inserted at the end/start
Oliver added this to the @next milestone 2026-06-18 05:13:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Foundry/taf#110
No description provided.