49 Commits

Author SHA1 Message Date
David Winings 116a60e404 Incremental + Batched frontend state updates (#888)
* Update JS package versions.

* Forgot to remove a debugging log statement.

* Figured out the peerDependency npm issues... react-scripts thought it needed an old version of typescript, which we don't even need.

* Re-work state broadcasting mechanism to prevent excessive data transmission.

* Tidy up delta parsing, handle failure to serialize state diffs.

* Apply diffs in batches and use immer to apply them in a simple way.

* Update frontend build.

* Update stale docstrings.

* Rebuild frontend.

* Delete a file that wasn't being used.
2025-09-19 20:26:19 -04:00
David Winings de70790cc4 Update JS package versions (#882)
* Update JS package versions.

* Forgot to remove a debugging log statement.

* Figured out the peerDependency npm issues... react-scripts thought it needed an old version of typescript, which we don't even need.
2025-09-19 20:01:23 -04:00
David Winings 2b070c2ff0 Dynamic frontend ports (#887)
* Dynamic frontend ports.

* Whoops forgot the stage strike page.
2025-09-19 19:56:02 -04:00
David Winings 21fd9660a3 Fixed issue with loading player's previous main(s) introduced by previous character-select.
Also reverted a log fmt change that was accidentally committed. Close flask socket prior to terminating thread, rather than after.
2025-09-13 16:51:59 -07:00
David Winings 1d00739b3d Allow the game image to set its own width (still fixed height) to prevent squashage. 2025-09-05 16:45:38 -07:00
David Winings f001a22a99 Add a header and fix phase/match score display. 2025-09-05 16:32:15 -07:00
David Winings f8a8852818 web scoreboard: fix issues with non-english and non-rivals 2 environments. 2025-07-30 16:36:27 -07:00
David Winings 607e759415 Remove a logging statement. 2025-07-21 18:28:46 -07:00
David Winings 7dbad495f2 Finish up some typing and tidy up some of the dropdown setting bugs. 2025-07-21 18:28:38 -07:00
David Winings a1b376c1d9 Clarify ux around multiple players in team, add label on qt side linking to remote scoreboard 2025-07-10 15:46:00 -07:00
David Winings d1a1bd7a06 Scoreboard app: you can now collapse teams, and team accent color has been added 2025-07-09 19:11:40 -07:00
David Winings 4daa736b20 Updated the UI to include phase/match/best_of updating. Also added a route to serve the new UI page from the app webserver. 2025-07-07 15:06:37 -07:00
David Winings 3ac4d87242 Create a scoreboard page on the stage strike app.
Concept here is that I run streams for small house events where getting
to the stream PC to update set info is... tedious at best. So, I created
a way to update the current stream info with my phone.

I tried to mimic the style of the existing code as much as possible, I
hope this can get upstreamed without too many issues!

External to the new app page:

- Added react-router-dom to make any request not for /scoreboard fall back to the stage strike app.
- Added a route to get the current scoreboard state.
- Ran the build process, since it seems like that is how this repo handles npm build artifacts.

Features of the new page:
- Display current set
- Edit vital stats of any player from either team.
- Adjust set score
- Load sets a la `TSHSelectSetWindow.py` (includes filtering, and "hide concluded sets" option)
- Reasonably responsive to work well with either a mobile device or bigger screen.
- Set up with i18n tags, although I only filled out the en entries.
2025-07-07 13:17:39 -07:00
TwilCynder fb3cadaac1 very minor changes to the web app 2023-07-08 05:02:23 +02:00
Eion Dailey e7af9e6d35 Fixes for Stage Striking 2023-03-10 10:43:04 -05:00
João Ribeiro Bezerra a86da6f1bb Final fixes 2023-03-06 21:08:50 +00:00
João Ribeiro Bezerra ae85f87a7d Fix 2023-03-06 19:26:52 +00:00
João Ribeiro Bezerra 5199f60012 Fix translation loading 2023-03-06 19:09:06 +00:00
João Ribeiro Bezerra 2fbe0dcbe0 Translate stage name to display language 2023-03-06 17:57:35 +00:00
João Ribeiro Bezerra f76580dce8 Fixes 2023-03-05 18:16:48 +00:00
João Ribeiro Bezerra 82beba9c5d Design changes 2023-03-04 08:20:51 +00:00
João Ribeiro Bezerra e6a88dff4f Design changes 2023-03-04 08:20:37 +00:00
João Ribeiro Bezerra dfb3fe79ea Change translations 2023-03-03 17:23:06 +00:00
João Ribeiro Bezerra 486cf3e582 Add gentlemans to stage strike 2023-03-03 11:21:21 +00:00
João Ribeiro Bezerra 27baee8cee Normalize stage strike output, fix startgg stage strike integration 2022-10-29 16:55:51 +01:00
João Ribeiro Bezerra 3f595354f0 Stage strike app code cleanup 2022-10-29 12:36:48 +01:00
João Ribeiro Bezerra 9eaa2e911f Port stage strike logic to the backend 2022-09-20 15:37:21 +01:00
João Ribeiro Bezerra 16d78000a3 Fix resetting program score from stage strike 2022-05-13 13:26:41 -03:00
João Ribeiro Bezerra d8de4dfec8 Fix 2022-05-09 19:17:15 -03:00
João Ribeiro Bezerra b1114f6bf7 Remove logging 2022-05-09 19:12:29 -03:00
João Ribeiro Bezerra 4c105e63bd Fix 2022-05-09 19:04:13 -03:00
João Ribeiro Bezerra 522ca55181 Fix 2022-05-09 18:55:27 -03:00
João Ribeiro Bezerra 6b1f94f25e Fix 2022-05-09 18:45:44 -03:00
João Ribeiro Bezerra 54cf41c094 Fix 2022-05-09 18:42:25 -03:00
João Ribeiro Bezerra 50c1c77add Update stage_strike layout, fix bug 2022-05-09 18:32:57 -03:00
João Ribeiro Bezerra 4b3ca9ac2a Make stage strike work with multiple devices at the same time, show player who striked each stage 2022-05-02 18:51:46 -03:00
João Ribeiro Bezerra ffca6954ec Improve stage strike app translations 2022-04-11 10:33:11 -03:00
João Ribeiro Bezerra ca4fe4e9b0 Add translations to stage strike app 2022-04-09 17:45:40 -03:00
João Ribeiro Bezerra 14b2c16fcb Reorder stage strike results reporting to avoid user error 2022-04-09 10:45:18 -03:00
ZombieHDGaming 2d232e9385 Removed Unneeded Stage Strike Files and Added back drop-down support
- 4 additional files were sitting under Stage Strike, this clears them out.
- Re-introduced phase selections via drop-down from text file.
- Added match selection via drop-down from text file as well.
2022-03-14 20:38:00 -04:00
João Ribeiro Bezerra a40ef335d2 Append Pool identifier to phase name when phase has multiple pools 2022-03-14 09:21:31 -03:00
ZombieHDGaming e1b45a6661 Updated graphics for Stage Strike and made app PWA compatible.
- Updated React graphics to new TSH logo for web page.
- Changed Stage Strike web page to display it as 'Stage Strike' over React default text.
- Made changes to Manifest.json to allow the Stage Strike app be used on mobile devices as a homescreen app!
	- This means the Stage Strike app needs to simply be opened once in browser, then added to a mobile device homescreen for access! (See image attached to PR)
2022-03-13 15:35:22 -04:00
ZombieHDGaming f5c80699a5 Changed GitIgnore to re-add build folder for Stage Strike App 2022-03-13 11:31:27 -04:00
ZombieHDGaming 78d4e2a681 Used NPM Tools to rebuild Stage Strike App 2022-03-13 11:23:43 -04:00
João Ribeiro Bezerra f4a7dc394a Improvements for stage_strike: No ruleset message, support for bans by max games 2022-03-12 09:37:37 -03:00
João Ribeiro Bezerra e8fd6990d6 Update stage_strike_app build 2022-03-08 09:33:22 -03:00
João Ribeiro Bezerra bfd2fbf626 Improvements to stage strike app: Show player names, decide who starts 2022-03-08 08:55:04 -03:00
João Ribeiro Bezerra 621545686b More fixes to stage_strike_app for different screen sizes 2022-02-11 12:15:09 -03:00
João Ribeiro Bezerra 2f498b6569 Bugfixes 2022-02-10 19:44:42 -03:00