118 Commits

Author SHA1 Message Date
515323feaa Fix restoring zoom on page reload 2025-06-16 22:41:31 -07:00
f534a22c2e Extract scenario-build function into separate module 2025-06-16 22:41:31 -07:00
35c569ffef WIP: Fill in some of the 'load scenario' tests 2025-06-16 22:41:31 -07:00
2dfd5cdac3 WIP: modify dev server to use as test server, also 2025-06-16 22:41:31 -07:00
c424c1fef2 Fix load scenario transition fade out 2025-06-16 22:41:31 -07:00
a406fa55d5 Fix toggle content vis 2025-06-16 22:41:31 -07:00
6d57d7489b Remove some commented-out code 2025-06-16 22:41:31 -07:00
7b5fd7590b WIP: Fix pan-zoom for webkit 2025-06-16 22:41:31 -07:00
3de614c8ee Don't use custom built-in elements because they are not supported in webkit 2025-06-16 22:41:31 -07:00
c46c361217 Fix/refactor tests 2025-06-16 22:41:31 -07:00
dac61e6121 WIP: use scenario template to build scenarios client-side 2025-06-16 22:41:31 -07:00
f53358216c Fix storing scenario in local storage 2025-06-16 22:41:31 -07:00
2458e1a308 Make scenarios list in modal dynamic 2025-06-16 22:41:31 -07:00
7f5829a534 WIP: put all svg refs in scenario file at build time 2025-06-16 22:41:31 -07:00
cea0cecc5f WIP: dynamically add references to scenario svg 2025-06-16 22:41:31 -07:00
4075fd97f9 Try to simplify trooper counter 2025-06-16 22:41:31 -07:00
4a546ea443 WIP: select counter test 2025-06-16 22:41:31 -07:00
488ebb384b Import mapsheets.svg 2025-06-16 22:41:31 -07:00
4729aa7273 WIP: use esbuild to bust cache for mapsheets.svg 2025-06-16 22:41:31 -07:00
de1b9e2689 WIP: mock selenium response 2025-06-16 22:41:31 -07:00
9f4ff16638 WIP: intercept request in test 2025-06-16 22:41:31 -07:00
5f7c980ad5 Minor refactor 2025-06-16 22:41:31 -07:00
e29bd0fb0f Don't export unnecessary functions 2025-06-16 22:41:31 -07:00
96739897ec Use observable for showing hex distance count 2025-06-16 22:41:31 -07:00
5453b87db7 Use observable for end move and prone flag 2025-06-16 22:41:31 -07:00
9d4952eaad Remove select callbacks and use observable instead 2025-06-16 22:41:31 -07:00
cebf4ca548 Add dice 2025-06-16 22:41:31 -07:00
0a84d99ce6 Fix custom affiliation names 2025-06-16 22:41:31 -07:00
98834ec607 Fix show/hide record sheet toggle 2025-06-16 22:41:31 -07:00
c0a6440b48 WIP: record sheet layout 2025-06-16 22:41:30 -07:00
142d472e06 Add weapon icons to record sheet 2025-06-16 22:41:30 -07:00
e4c1aaaf4f Simplify loading scenarios 2025-06-16 22:41:30 -07:00
baa1d34578 Change attacker color from green to blue; change trace color 2025-06-16 22:41:30 -07:00
7e4fe779de Make scenario files; consolidate mapsheets into one file 2025-06-16 22:41:30 -07:00
5b34fd672b Finish furniture, recenter maps 2025-06-16 22:41:30 -07:00
a4e9d6e39c Add furniture 2025-06-16 22:41:30 -07:00
32147aaa4a Building layouts complete 2025-06-16 22:41:30 -07:00
379ff877f9 WIP: Buildings 2025-06-16 22:41:30 -07:00
873a5939ef Apply styles and map script to manually loaded files 2025-06-16 22:41:30 -07:00
9769b26ddb Add ability to load a map file manually 2025-06-16 22:41:30 -07:00
c1f516be2a Don't blow up if weapon element missing from trooper counters 2025-06-16 22:41:30 -07:00
fd99c0d839 Rename variables for clarity 2025-06-16 22:41:30 -07:00
73cbf3e6dd WIP: add fullscreen and download save abilities 2025-06-16 22:41:30 -07:00
78882ad311 Fix preexisting prone counter not removing if unit end movement without moving 2025-06-16 22:41:30 -07:00
868ea94010 Generate weapon data dynamically from counters 2025-06-16 22:41:30 -07:00
19b1a0aadd Fix bad path set for object data prop 2025-06-16 22:41:30 -07:00
13c0a98f1b Change double quotes to single 2025-06-16 22:41:30 -07:00
17e28ba214 Organize public directory contents into assets folders 2025-06-16 22:41:29 -07:00
49d77d249d Organize index.js a bit better 2025-06-16 22:41:29 -07:00
e3d642c994 Use an observer to create new object element when data attribute is changed 2025-06-16 22:41:29 -07:00