daggerheart/module/data
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
..
action Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
activeEffect Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
actor Enable sorting for Loadout domain cards 2026-06-15 23:58:14 -03:00
chat-message [Feature] Full Rerolls (#1928) 2026-05-29 12:19:08 +02:00
fields Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
item Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
regionBehavior [Feature] Action Areas (#1815) 2026-04-21 22:27:52 +02:00
scene Prevent class sheet and character errors when features/domains no longer exist (#1833) 2026-04-24 20:49:42 +02:00
settings [Feature] Configurable starting gold amounts in Homebrew settings (#1969) 2026-06-07 15:37:42 +02:00
_module.mjs [Feature] Action Areas (#1815) 2026-04-21 22:27:52 +02:00
combat.mjs Fixed a lot of cases where we expected a combatant to have an attached actor (#1520) 2026-01-10 00:21:44 +01:00
combatant.mjs [Feature] 789 - spotlight order (#1222) 2025-10-25 18:59:25 +02:00
companionLevelup.mjs Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
compendiumBrowserSettings.mjs [Fix] CompendiumBrowser Pack Toggling (#1909) 2026-05-21 01:33:07 +02:00
countdowns.mjs Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
groupRollData.mjs [Feature] Redesign group roll dialog (#1824) 2026-04-26 10:43:10 +02:00
levelData.mjs [Fix] 1633 - ActiveEffect Autocomplete (#1636) 2026-02-06 11:32:33 +01:00
levelTier.mjs Add and fix Tier names in level up (#1142) 2025-09-05 09:47:12 -04:00
levelup.mjs Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
registeredTriggers.mjs Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
rollTable.mjs [Feature] RollTable Improvements (#1552) 2026-01-24 20:26:37 +01:00
spotlightTracker.mjs [V14] [Feature] Spotlight Without Combat (#1755) 2026-03-27 22:01:50 -04:00
tagTeamData.mjs [Fix] Translation Fixes (#1789) 2026-04-11 22:55:26 +02:00