Give Sokko TCG's interface files headers that explain their role, callers and pitfalls
Document the page, API client, offline cache, card renderer, quest pages and admin dashboard: how stale responses are ignored, where the CSRF token lives, which requests are idempotent and what the admin checks really protect. Fix the Broken Mirror headers that still described two levels instead of three, and the cards README that still described the stale-response bug as open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
73bd5ae21c
commit
34b412d968
21 changed files with 175 additions and 42 deletions
|
|
@ -1,5 +1,12 @@
|
|||
/**
|
||||
* @file Crée des campagnes (un code à annoncer, des cartes et paquets offerts) et suit leurs utilisations.
|
||||
* @file Section « Codes cadeaux » de l'administration : création de campagnes (un code à annoncer, des cartes et
|
||||
* des paquets offerts), duplication, prolongation, révocation et suivi des utilisations.
|
||||
*
|
||||
* Utilisé par : AdminPanel.jsx (section `codes`).
|
||||
* Dépend de : cardsApi.js (`createCampaign`, `extendCampaign`, `revokeCampaign`, `loadCampaignDetail`),
|
||||
* catalogLookup.js.
|
||||
* Attention : le serveur valide la récompense (services/cards/rewards.js) ; les contrôles d'ici servent seulement
|
||||
* à guider la saisie.
|
||||
*/
|
||||
|
||||
import { Tooltip } from "../../../components/Tooltip.jsx";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue