diff --git a/README.md b/README.md index e035539..511234a 100644 --- a/README.md +++ b/README.md @@ -28,19 +28,6 @@ This is excessive, and I will try to stick to 3: - debug - info -### Installing deps - -To install a new dep: -1. Comment out the 2nd line from .cargo/config.toml. So it looks like: -`# replace-with = "vendored-sources"` -2. `cargo add foo` -3. `cargo vendor` -4. Uncomment .cargo/config.toml. - -You might think this is a lot of friction for adding deps. This is a good thing. Vendoring deps makes it so that the docker image can build more readily, and makes our codebase more resistant to supply chain attacks. -The friction makes me think twice before adding a new dep. - - ## Tech Stack Tech Stack: - Frontend: @@ -79,7 +66,6 @@ To release: gh run watch && ./deploy.sh ``` - ## Secret management Script to generate a new signing key: diff --git a/TODO.md b/TODO.md index 481eb52..6c28003 100644 --- a/TODO.md +++ b/TODO.md @@ -1,19 +1,12 @@ -## Defects -- [ ] etag the public/index.css or disable caching altogether. -- [ ] Prevent tracing subscriber from overwriting the env_logger - -- [ ] Arrows overlap text in role logs. -- [ ] No logs for draft phase -- [ ] No logs for end of previous turn. Very easy to miss Actions of last player -- [ ] Bewitch action wipes out the whole screen and forces a page reload. - ## Work -- [ ] Implement Continuous deployment. -- [ ] Game host with elevated permissions - [ ] Auth via Supabase +- [ ] Game host with elevated permissions +- [ ] Prevent tracing subscriber from overwriting the env_logger - [ ] Multi room support - [ ] Optimize binary size (After removing all panics) -- Notifications +- [ ] Max height for hand panel, with horizontal scroll +- [ ] Randomize audio notification +- [ ] Notifications - Seer: card is taken. - Seer: card is given. - Magician @@ -24,25 +17,24 @@ - Theater - Wizard -- Fixup janky UI - - [ ] The required rank 4 actions should have an indicator. - - [ ] Warlord Menu: - - Destroy cost should be displayed prominently - - should disable & grey districts that cost too much. - - - [ ] Build Menu: - - Reminder that you have a warrant; emoji + text - - Cost to build should be displayed - - Use tabs instead of radio buttons - - - [ ] Marshal menu should disable & grey districts that cost too much. -- [ ] Max height for hand panel, with horizontal scroll -- [ ] Randomize audio notification +## UI Defects +- [ ] Arrows overlap text in role logs. +- [ ] No logs for draft phase +- [ ] No logs for end of previous turn. Very easy to miss Actions of last player +- [ ] Bewitch action wipes out the whole screen and forces a page reload. +- [ ] The required rank 4 actions should have an indicator. +- [ ] Rank 8 Menus (Warlord, Diplomat, Marshal): + - Costs should be displayed prominently + - Should disable & grey districts that cost too much. +- [ ] Build Menu: + - Reminder that you have a warrant; emoji + text + - Cost to build should be displayed + - Use tabs instead of radio buttons ## Ideas -- [ ] Bots +- [ ] Bots to play against - [ ] Randomizer mode: any role can be any rank -- [ ] Persist game config to sqlite db +- [ ] Persist game config - [ ] Keyboard based warrant assignment - [ ] Detect when building is impossible. - [ ] Pesist the dragged position of districts in a city. diff --git a/deploy.sh b/deploy.sh index 30553c3..c5f9c9a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -11,8 +11,6 @@ supabase db push # upload stylesheet to supabase cdn node upload-css.js -# yes y | supabase storage --experimental rm ss:///styles/index.css || true -# supabase storage --experimental cp styles/index.min.css ss:///styles/index.css # deploy to citadels.fly.dev fly secrets set GIT_SHA=$(git show -s --format=%H)