daggerheart/templates
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
..
actionTypes 1794 - Include Item Damage (#1827) 2026-04-23 00:22:08 +02:00
characterCreation Fixed trait counting in CharacterCreation. Fixed description layout and labels in CharacterCreation. Fixed drag/drop images from Compendium Browser 2026-04-12 13:58:43 +02:00
components refactor font-family styles to avoid unecessary diplicities (#983) 2025-08-17 14:37:39 +02:00
dialogs Fixed the centering of the Select-Roll circles in TagTeamDialog. Fixed so that damage formulas that are just a modifier don't get a prefix '+' rendered (#1955) 2026-05-31 19:54:42 +02:00
hud Fixed the styling for the TokenHUD movement palette (#1983) 2026-06-08 05:29:03 -04:00
levelup [Fix] selecting multiclass and multiple sheet issues (#1884) 2026-05-15 09:23:55 +02:00
scene [Feature] Scene Environments (#1499) 2026-01-12 00:26:27 +01:00
settings [Feature] Configurable starting gold amounts in Homebrew settings (#1969) 2026-06-07 15:37:42 +02:00
sheets Enable sorting for Loadout domain cards 2026-06-15 23:58:14 -03:00
sheets-settings [Feature] NPC Actors (#1949) 2026-05-30 21:11:43 -04:00
sidebar Added fall and collision damage buttons in the GM Menu (#1756) 2026-03-29 23:54:45 +02:00
ui Fixed ItemCompendium errors from rendering of filter fields without defined fields 2026-06-14 12:34:55 +02:00