Rework the daily team screens, share its team block and give the race its admin tab
The daily team page now opens on a welcome screen with the three steps, and the recruitment keeps the same look: golden steps, the choice in a golden panel with the hidden stars, a team summary of colored mini cards and its strengths, and a reroll badge. One "Your team" block is shared by the Guild, the recruitment and the ready team. The header shows the extra golden stars and the balms; the tips button is gone. On the Guild, team quests carry a "En groupe" sign until the team is ready and the streak badge stays readable. The race gets its own admin tab: its own opening, the day's circuit and results, rewards by place and the watchers' skill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
327337075b
commit
52b35880f2
23 changed files with 570 additions and 253 deletions
|
|
@ -140,7 +140,8 @@ Carte du jour (migrations 7, 18 et 26, règles pures dans `services/cards/daily.
|
|||
dans `services/cards/team-service.js`, réglages dans `services/cards/team-settings.js`, principes dans `docs/equipe-du-jour.md`) :
|
||||
|
||||
- `players.gold_stars` : étoiles dorées en réserve (0 à 3), dépensées en entier au début d'un recrutement.
|
||||
- `team_settings(id = 1, settings_json, updated_at, updated_by)` : `{ enabled, starStardust, raceRewards, recruitment }`.
|
||||
- `team_settings(id = 1, settings_json, updated_at, updated_by)` : `{ enabled, starStardust, raceEnabled, raceRewards, watcherSkill: { strong, medium, weak }, recruitment }` (les clés absentes
|
||||
reprennent leur valeur par défaut à la lecture).
|
||||
Vide au départ : valeurs par défaut et Équipe du jour fermée. Des réglages enregistrés invalides laissent la place aux
|
||||
valeurs par défaut en gardant l'ouverture. `PUT /api/cards/admin/team/settings` (`{ settings }`, objet complet) :
|
||||
`TEAM_SETTINGS_INVALID`, `TEAM_SETTINGS_UNCHANGED` ; le journal garde `team_settings_updated`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue