Files
Its-Achievable/CHANGELOG.md
Kaysser Kayyali 2f6acc0da1 v0.3.0: strip combat HUD; integrate with combat-hud-hub
- Deleted scripts/hud.js, scripts/event-translation.js, styles/hud.css,
  templates/hud.html.
- Removed mod.api.getHud/openHud/closeHud/buildHudUpdatePayload exports.
- Removed hudPosition setting (moved to combat-hud-hub).
- Added hub integration: at ready, if combat-hud-hub is installed,
  register a 'pinned-achievements' section. The chatBubble listener
  now also pushes entries into that section via hub.api.pushFeedEntry.
- Soft-dep on combat-hud-hub (optional); popover still works without
  the hub.
- Tests: 57/57 passing covering sections A-G (rule engine, catalog,
  awarding, hooks wiring, hub integration, graceful degradation).
2026-06-22 12:46:57 -04:00

1.7 KiB

Changelog

All notable changes to It's Achievable are documented here.

[0.3.0] — 2026-06-20 (strip HUD; integrate with combat-hud-hub)

  • Combat HUD removed. scripts/hud.js, scripts/event-translation.js, styles/hud.css, templates/hud.html deleted. The HUD is now provided by the new combat-hud-hub module.
  • API surface change (breaking for consumers calling mod.api.getHud/openHud/closeHud/buildHudUpdatePayload). These four exports removed; their behavior lives in combat-hud-hub.api.
  • Pinned Achievements section. When combat-hud-hub is installed, its-achievable registers a pinned-achievements section on the hub at ready. The chatBubble listener now pushes awarded achievements into that section's feed via hub.api.pushFeedEntry.
  • Settings cleanup. hudPosition setting removed (now lives on combat-hud-hub).
  • Tests: 57/57 passing in <2s covering sections A-G of tests/PLAN.md.

[0.2.0] — 2026-06-19 (HUD strapped to foundry-hooks-lib envelope stream)

  • HUD subscribes to foundry-hooks-lib's envelope stream (subscribeMany on combatStart, combatEnd, combatRound, combatTurn, createCombatant, deleteCombatant, dnd5e.rollAttackV2, dnd5e.rollDamageV2).
  • HUD reads the active encounter via battle-focus.api.getActiveEncounter() (soft-dep).
  • chatBubble listener draws the achievement popover.

[0.1.1] — 2026-06-19 (track the hax-hooks-lib → foundry-hooks-lib rename)

  • Module id rename only; no behavior change.

[0.1.0] — 2026-06-18 (initial extraction from battle-focus v0.5.0-alpha.12)

  • Achievements engine, custom rules, rewards, achievement wall, and combat HUD extracted from battle-focus into a standalone Foundry module.