Skip to content

V0.7#9

Merged
hayleyw7 merged 31 commits into
mainfrom
v0.7
Jun 8, 2026
Merged

V0.7#9
hayleyw7 merged 31 commits into
mainfrom
v0.7

Conversation

@hayleyw7

@hayleyw7 hayleyw7 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Changelog

  • Split monolithic src/game.ts into src/game/* modules (combat, persistence, presentation, setup, theme, battle log, teach popups, animations, etc.) game.ts is now a thin entry that calls app.init()
  • Broke presentation ↔ persistence import cycle via save-io.ts and setup callbacks
  • Split CSS into modular files under css/ with styles.css as an import hub
  • Added scripts/split-css.mjs and CSS build/coverage tests
  • Moved HTML into html/partials/ with scripts/build-html.mjs assembling index.html
  • Added HTML assembly and DOM ID parity tests
  • Unified light/dark theme tokens and improved palette cohesion across HUD, log, and footer
  • Fixed theme flicker on popups; theme-boot.js applies saved theme before first paint
  • Fixed action button text colors (Attack/Heal/Dance/Run) with CSS cascade fix and regression tests
  • Recolored combat hint outlines; hints can be dismissed/closed
  • Removed unused goblin SVG assets
  • Lighthouse score pushed to 100%
  • Renamed default hero name from “Dingus” to “Hero”
  • Bumped save key to critterwave-v0.7 with automatic migration from critterwave-v6
  • Added storage-keys.ts as single source of truth for save key + legacy keys
  • Reorganized Vitest suite into tests/lib/, tests/game/, tests/css/, tests/html/, tests/security/
  • Added unit tests for battle log, teach popups, colors, persistence, save migration, theme-boot, CSS/HTML build
  • Split Playwright e2e into focused specs (app, combat, setup, persistence, presentation, coverage, game-over, security/*)
  • Deploy workflow now runs unit + e2e tests before build:site
  • CI test workflow runs on push/PR to main/master
  • Updated README for new layout, save key v0.7, test/CI workflow, and pre-push checklist
  • Removed dead refactor tooling and obsolete e2e backup files

@hayleyw7 hayleyw7 self-assigned this Jun 8, 2026
@hayleyw7 hayleyw7 added the enhancement New feature or request label Jun 8, 2026
@hayleyw7 hayleyw7 merged commit d56b011 into main Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant