refactoring documentation
This commit is contained in:
parent
04a581efe1
commit
97b0f302d0
14 changed files with 6 additions and 1579 deletions
|
|
@ -8,15 +8,18 @@ Labels: `[feature]` `[infra]` `[security]` `[ux]` `[debt]`
|
|||
|
||||
Things that are actively in progress or should be picked up immediately. Mostly operational risk and the remaining phase 7 hardening work.
|
||||
|
||||
- **Hetzner domain migration check** `[infra]`
|
||||
Verify whether the lilastudy.com domain needs to be migrated following a Hetzner DNS change. Check Hetzner dashboard for any pending migration notice.
|
||||
|
||||
---
|
||||
|
||||
## next
|
||||
|
||||
Clearly planned work, not yet started. No hard ordering — sequence based on what unblocks real users first.
|
||||
|
||||
- admin dashboard to see users and their status!
|
||||
|
||||
- refactor frontend: play => learn alone, multiplayer => learn together, also multiplayer => public and private games
|
||||
|
||||
- if logged out, navbar should not show play and multiplayer
|
||||
|
||||
- **Batch distractor queries to eliminate N+1** `[debt]`
|
||||
createGameSession calls getDistractors once per term in parallel — 3 queries for 3 rounds, 10 for 10. Each query does ORDER BY RANDOM() which can't use an index and gets slower as the translations table grows. Fix: add a getDistractorsForTerms(termIds[], ...) function to @lila/db that batches all distractor fetches into a single query and returns results grouped by term. The service distributes the results per question. Prerequisite: none. Blocked by: nothing, but coordinate with any ongoing @lila/db changes.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue