several fixes, incl. location of templates/apps/epic/tarot_deck.html to apps/gameboard/tarot_deck.html; added this convention to CLAUDE.md; Game Kit applet items now plentiful enough to bother w. text wrapping in _gameboard.scss; unlocked_decks differentiates from equipped_deck in apps.lyric.models; new migrations accordingly; apps.gameboard.views accounts for only unlocked_decks in deck_variants now; apps.epic.views redirected to new tarot_deck.html location
This commit is contained in:
@@ -73,6 +73,14 @@ src/
|
||||
functional_tests/
|
||||
```
|
||||
|
||||
### Template directory convention
|
||||
Templates live under `templates/apps/<frontend-app>/`, not under the backend app that owns the view logic. Specifically:
|
||||
- `lyric/` views → `templates/apps/dashboard/`
|
||||
- `epic/` views → `templates/apps/gameboard/`
|
||||
- `drama/` views → `templates/apps/billboard/`
|
||||
|
||||
Backend apps (`lyric`, `epic`, `drama`) have **no** `templates/` subdirectory.
|
||||
|
||||
## Dev Commands
|
||||
```bash
|
||||
# Dev server (ASGI — required for WebSockets; no npm/webpack build step)
|
||||
|
||||
Reference in New Issue
Block a user