fix: standardize blocking timeouts for buttons
authorxangelo <me@xangelo.ca>
Thu, 24 Aug 2023 16:35:11 +0000 (12:35 -0400)
committerxangelo <me@xangelo.ca>
Thu, 24 Aug 2023 16:35:11 +0000 (12:35 -0400)
commit01d06ca12bc2e891e14f1470853e3f90a67e176a
treeac1af5f762c06248cb6a768b241e803fd633f4bf
parent97b3c28f3a2485949c8e1d20effb3d12c38ea062
fix: standardize blocking timeouts for buttons

All buttons that block have been extracted into a single Button
component and the values for blocking have been extracted into a
"constants" file.

This file also includes constants for things like how long an alert
notification is displayed for.
public/assets/bundle.js
src/client/htmx.ts
src/server/api.ts
src/server/views/components/button.ts [new file with mode: 0644]
src/server/views/fight.ts
src/server/views/travel.ts
src/shared/constants.ts [new file with mode: 0644]