daggerheart/templates/sheets/global/partials
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
..
resource-section [Feature] Become Unstoppable (#1321) 2025-11-23 15:23:52 +01:00
action-item.hbs [Fix] Localization Misses (#381) 2025-07-20 04:15:26 +02:00
domain-card-item.hbs Enable sorting for Loadout domain cards 2026-06-15 23:58:14 -03:00
feature-section-item.hbs [Fix] Inventory Item Transfer (#1316) 2025-11-23 15:04:42 +01:00
gold.hbs Increase reuse of gold and inventory styling (#1804) 2026-04-15 18:42:30 +02:00
inventory-fieldset-items-V2.hbs Remove edit and remove icons from adversary and party features (#1919) 2026-05-23 11:53:44 +02:00
inventory-item-compact.hbs Fix usable checks on adversary features and locked compendium actors (#1934) 2026-05-26 15:41:26 +02:00
inventory-item-V2.hbs Remove edit and remove icons from adversary and party features (#1919) 2026-05-23 11:53:44 +02:00
inventory-item.hbs Fixed so that players rolling reactions will update the message (#1455) 2025-12-22 14:34:43 +01:00
item-resource.hbs [PR] [Feature] Refocus consumable quantity and simple resource fields on change (#1401) 2025-12-20 23:08:24 +01:00
item-tags.hbs Fix adversary feature type not rendering (#1731) 2026-03-15 00:20:49 +01:00
resource-bar.hbs [PR] [Feature] Party Sheet (#1230) 2025-11-11 16:02:45 +01:00