294 Commits

Author SHA1 Message Date
b5d73d9ad0 Add build start time to server 2025-06-16 22:41:31 -07:00
de4ee97dce Rename some tests 2025-06-16 22:41:31 -07:00
49e09fbc21 Add a test helper to build the svg document 2025-06-16 22:41:31 -07:00
4380d10dde Add some test todos 2025-06-16 22:41:31 -07:00
6960fcc79b Add integration test-helpers and refactor integration tests 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
d4974c74de Fix duplicate ids in mapsheets.svg 2025-06-16 22:41:31 -07:00
6651b83d65 Don't build scenarios server-side 2025-06-16 22:41:31 -07:00
1a097b1cc2 WIP: implement build status plugin 2025-06-16 22:41:31 -07:00
7aeeea879b Rename plugin 2025-06-16 22:41:31 -07:00
28982050fd Refactor external svg handler 2025-06-16 22:41:31 -07:00
71db01f9a2 Handle resolving JSDOM promises better 2025-06-16 22:41:31 -07:00
acb0b75516 Simplify jsdom import in server file 2025-06-16 22:41:31 -07:00
0e12e3079b Remove mapsheets.svg inline styles 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
044526149f Fix highlighting selected counter 2025-06-16 22:41:31 -07:00
bdb9286e78 Build scenario files 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
df809ab174 Update scenario test fixture 2025-06-16 22:41:31 -07:00
4075fd97f9 Try to simplify trooper counter 2025-06-16 22:41:31 -07:00
c89a152713 Refactor esbuild server file 2025-06-16 22:41:31 -07:00
1a4fc73442 Move takeScreenshot() function into a test helper file 2025-06-16 22:41:31 -07:00
effb3c9e21 Add some select tests 2025-06-16 22:41:31 -07:00
4a546ea443 WIP: select counter test 2025-06-16 22:41:31 -07:00
2ad700474c Clean up server.cjs 2025-06-16 22:41:31 -07:00
488ebb384b Import mapsheets.svg 2025-06-16 22:41:31 -07:00
16fb0dab2e Tried importing svgs in an esbuild plugin 2025-06-16 22:41:31 -07:00
0adde063d9 WIP: add mimetypes to response headers 2025-06-16 22:41:31 -07:00
869d945106 Use a proxy to set cache-control header on responses 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
99029c6c93 Delete some unused styles 2025-06-16 22:41:31 -07:00
224aa06db5 Make record sheet weapon icons bigger 2025-06-16 22:41:31 -07:00
a528a96736 Record sheet layout 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
33c43c3914 Change furniture and tree/bush colors 2025-06-16 22:41:30 -07:00