daggerheart/module/data/actor
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
..
_module.mjs [Feature] NPC Actors (#1949) 2026-05-30 21:11:43 -04:00
_types.d.ts Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
adversary.mjs Fix tier adjustment on actions that use standard attack damage (#1942) 2026-05-30 12:47:06 +02:00
base.mjs Enable no unused vars and add more types (#2005) 2026-06-14 22:10:49 +02:00
character.mjs Enable sorting for Loadout domain cards 2026-06-15 23:58:14 -03:00
companion.mjs [Fix] companion hope levelup feature and default stress (#1839) 2026-04-26 11:20:06 +02:00
creature.mjs [Fix] companion hope levelup feature and default stress (#1839) 2026-04-26 11:20:06 +02:00
environment.mjs Show notification when invalid item types are added to actors (#1807) 2026-04-16 08:23:25 +02:00
npc.mjs [Feature] NPC Actors (#1949) 2026-05-30 21:11:43 -04:00
party.mjs Prevent class sheet and character errors when features/domains no longer exist (#1833) 2026-04-24 20:49:42 +02:00
tierAdjustment.mjs Fix several issues with inline damage (#1973) 2026-06-05 11:33:20 +02:00