daggerheart/module
Iohan Trézze 5f9407319f Enable sorting for Loadout domain cards
Add drag-and-drop sorting functionality to Loadout and Vault sections
by reusing the exact pattern already implemented for Loot items:

- Add `data-item-id` and `draggable="true"` attributes to domain card
  template (domain-card-item.hbs) following inventory-item-V2.hbs pattern

- Sort domain cards by Foundry's `sort` property in the domainCards
  getter (character.mjs) following base-actor.mjs pattern for inventory

This enables users to reorder domain cards by dragging, with order
persistence across page reloads, just like Loot already supports.

Fixes: Sorting works for loot, but not the Loadout

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-15 23:58:14 -03:00
..
applications Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
canvas [Housekeeping] V14.364 Update (#1991) 2026-06-10 23:29:15 +02:00
config Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
data Enable sorting for Loadout domain cards 2026-06-15 23:58:14 -03:00
dice Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
documents Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
enrichers Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
helpers Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
macros [V14] [Feature] Spotlight Without Combat (#1755) 2026-03-27 22:01:50 -04:00
systemRegistration Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
_module.mjs Added system keybind for spotlighting a combatant (#1749) 2026-03-26 16:12:05 +01:00