Dan Albert
030675812e
Cite the websocket tutorial I used for reference.
...
This was tricky to work out and most of the tutorials were bad. This one
was good, so keep a link around in case we need the reference again.
2022-03-01 21:25:32 -08:00
Dan Albert
8e8bbe84f3
Add websocket handling for selected flights.
2022-03-01 21:08:08 -08:00
Dan Albert
6d29bfdf65
Fix game state on refresh.
...
There was accidentally a second layer of callback here. I'm not sure why
it worked. I think the lambda being returned was being used as the
cleanup function?
2022-03-01 20:46:32 -08:00
Dan Albert
625f36c780
More cleanup.
2022-03-01 01:14:21 -08:00
Dan Albert
6ff9208d46
Reorganize React project structure.
...
Whatever I was doing was getting out of control :)
2022-03-01 01:14:21 -08:00
Dan Albert
406a64ae3f
Draw flight plan paths in the react UI.
...
https://github.com/dcs-liberation/dcs_liberation/issues/2039
2022-03-01 01:14:21 -08:00
Dan Albert
bd8aa0296b
Add map debugging launch configuration for vscode.
2022-02-28 22:37:06 -08:00
Dan Albert
21ba1bea36
Remove debug logging from react map.
2022-02-28 22:32:19 -08:00
Dan Albert
e51662526b
Add an electron app for the React front-end.
2022-02-28 22:24:46 -08:00
Dan Albert
155f9d4052
Make react-scripts devdependency to shut up audit.
...
The vulnerabilities are false positives and React doesn't think those
are worth fixing to make `npm audit` be quiet. We can at least make them
go away for `npm audit --production`, which is the official advice:
https://github.com/facebook/create-react-app/issues/11174 .
2022-02-28 00:44:13 -08:00
Dan Albert
59e98b31df
Add a basic React implementation of the map.
...
See client/README.md for instructions.
2022-02-28 00:31:56 -08:00