Commit Graph

144 Commits

Author SHA1 Message Date
Neale Pickett dfecd100b8 Syntax Highlighting is not (currently) optional 2024-04-09 11:52:47 -06:00
Neale Pickett 830eb2851a Color syntax highlighting
Fixes #202
2024-04-09 11:12:32 -06:00
Neale Pickett 0696e7c61c handle prefers-reduced-motion 2024-04-08 17:22:35 -06:00
Neale Pickett cc74318e15 Workspaces: graceful failover
If the workspace fails to load for any reason, or if the language handler fails to load, we now fall back to displaying no editor, just like a normal code block.
2024-04-08 17:08:24 -06:00
Neale Pickett afae394618 Instant update index, close tab on correct answer
Fixes #201
2024-04-08 14:38:08 -06:00
Neale Pickett c9bd05c4ef Fix dark mode 2024-04-02 13:15:45 -06:00
Neale Pickett a7c2ee0022 Better structured theme config 2024-04-01 17:06:29 -06:00
Neale Pickett 2f7fba2dff Default font fallback 2024-04-01 16:57:02 -06:00
Neale Pickett 285c101bc6 I don't like Go Mono 2024-04-01 16:56:33 -06:00
Neale Pickett 3e629c6859 Re-adds workspaces (python IDE) 2024-04-01 16:46:45 -06:00
Neale Pickett 702118a437 Add optional support for entitled puzzles 2024-01-08 18:14:28 -07:00
Neale Pickett 6a6860b5da Allow arbitrary metadata on puzzles 2024-01-03 14:28:50 -07:00
Neale Pickett 63881f05fa New scoreboard view 2023-11-16 23:44:32 -07:00
Neale Pickett c4bf25f8fa s/id/class/ 2023-11-16 22:37:05 -07:00
Neale Pickett 610eb27430 Scoreboard changes:
* Consistent category colors
* Only show server URL when enabled
* HTML to display when there are no scores
2023-11-16 22:18:16 -07:00
Neale Pickett e4a8883f27 Scoreboard: preserve category order 2023-11-16 20:07:49 -07:00
Neale Pickett 79cef80486 scoreboard: category stays consistent color 2023-11-16 19:57:01 -07:00
Neale Pickett 62043919f5 Reduce scoreboard replay FPS 2023-11-16 19:56:30 -07:00
Neale Pickett 6045000564 fix: helper.js was updating form.answer 2023-11-15 09:58:41 -07:00
Neale Pickett bae0fb25c6 Rm "answer" class from form: helpers.js confused. 2023-11-14 14:37:04 -07:00
Neale Pickett 44dfbd43b5 window.checkAnswer function 2023-10-03 11:24:26 -07:00
Neale Pickett 79799bf1c2 State: add "Enabeled", remove "Messages"
Fixes #164
2023-09-29 15:37:18 -06:00
Neale Pickett 0abb44c48c Actually implement login, LOL 2023-09-28 18:16:18 -06:00
Neale Pickett 6ff379e0f4 try to prevent future bad decisions 2023-09-28 12:59:51 -06:00
Neale Pickett eb786ba184 More scoreboard configurables 2023-09-28 12:42:25 -06:00
Neale Pickett 3d8c47d316 Integrate Ken's "monarch of the category" 2023-09-27 18:17:11 -06:00
Neale Pickett 9071631353 more cleanup 2023-09-27 17:58:29 -06:00
Neale Pickett 43aec24d63 more cleanup 2023-09-27 17:57:30 -06:00
Neale Pickett b863955fdc Fully integrated 2023-09-27 17:56:40 -06:00
Neale Pickett b293a9f0e9 Add merged scoreboard.css 2023-09-27 17:15:51 -06:00
Neale Pickett 34e51848be Merge branch 'libmoth' into github/fork/knewbetter/scoreboard-js-dependency-loading 2023-09-27 17:15:37 -06:00
Neale Pickett 3282ad22b0 Scores, not Score 2023-09-27 16:10:31 -06:00
Neale Pickett 5350cf73a0 leadership sprint bugfixes
* Messages now in config.json
* puzzle.html: display errors
2023-09-19 16:48:24 -06:00
Neale Pickett 768600e48e Logout in devel mode generates a new TeamID 2023-09-15 16:13:09 -06:00
Neale Pickett bb4859e7a9 URL in scoreboard (configurable) 2023-09-15 16:09:08 -06:00
Neale Pickett d18de0fe8b working scoreboard 2023-09-15 15:17:07 -06:00
Neale Pickett c72d13af32 Some twiddling to prepare for a scoreboard update 2023-09-14 19:08:44 -06:00
Neale Pickett c0761933a9 KSA report finished, config.json 2023-09-14 17:42:02 -06:00
Neale Pickett d87be0bfcb Color twiddling 2023-09-13 19:24:05 -06:00
Neale Pickett 13c17873d8 CSS twiddling 2023-09-13 19:10:25 -06:00
Neale Pickett 9ea39363b8 Mostly using new library, except scoreboard 2023-09-13 18:52:52 -06:00
Neale Pickett 0831c4e3d5 Just some twiddling 2023-09-12 19:30:53 -06:00
Neale Pickett 175b7aaa1b CoS hover cursor fix 2023-09-12 17:32:34 -06:00
Neale Pickett a82851fee3 Lots more (circle of success!) 2023-09-12 17:30:36 -06:00
Neale Pickett b135069851 Clean up animation code, begin work on login 2023-09-11 17:29:14 -06:00
Neale Pickett 18c5f044cc stub submit event 2023-09-08 18:11:36 -06:00
Neale Pickett 551afe04a5 Puzzle start using new lib +bg animation 2023-09-08 18:05:51 -06:00
Neale Pickett a896788cc5 Also list KSAs by Category 2023-09-08 11:31:41 -06:00
Neale Pickett 8ff91e79ec Refer to server docs for Puzzle fields 2023-09-07 17:29:21 -06:00
Neale Pickett 47671b9a12 jsdoc fixes (maybe?) 2023-09-07 16:32:06 -06:00