Check in the tests that central files keep their full headers and that every tool has a compactor
tests/file-headers.test.mjs now fails when a source file over 300 lines lacks "Utilisé par :" and @see, when a listed central file lacks "Utilisé par :", or when a file adding methods through Object.assign does not say so. The eleven files below the bar are completed, so no waiting list is needed. tests/toolbox-compactors.test.mjs makes sure every tool type has a storage compactor, the gap found while documenting the toolboxes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d8c94f6834
commit
ae739b08ad
18 changed files with 184 additions and 25 deletions
|
|
@ -1,5 +1,10 @@
|
|||
/**
|
||||
* @file Expose en développement un catalogue vivant et interactif des contrôles NDS.
|
||||
* @file Page `#/design-system`, en développement seulement : catalogue vivant et interactif des contrôles du
|
||||
* Nebula Design System.
|
||||
*
|
||||
* Utilisé par : router/RouteContent.jsx (chargée seulement si `import.meta.env.DEV`).
|
||||
* Attention : un nouveau contrôle NDS s'y ajoute pour être vu et testé ; le build de production ne la contient pas.
|
||||
* @see DESIGN_SYSTEM.md
|
||||
*/
|
||||
|
||||
import { useState } from "react";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
/**
|
||||
* @file Affiche la librairie des outils avec des exemples locaux non persistés.
|
||||
* @file Page Librairie (`#/library`) : un exemple de chaque outil, utilisable sans rien enregistrer, avec sa
|
||||
* documentation et la copie vers une toolbox.
|
||||
*
|
||||
* Utilisé par : router/RouteContent.jsx.
|
||||
* Dépend de : public/data/library.json (exemples et documentation), toolboxModuleRegistry.js,
|
||||
* modules/toolboxModuleComponents.jsx.
|
||||
* Attention : fournit aux outils le même `context` que ToolboxPages.jsx, mais en mémoire ; un élément ajouté à
|
||||
* l'un s'ajoute à l'autre.
|
||||
* @see website/src/features/toolboxes/README.md
|
||||
*/
|
||||
|
||||
import { Suspense, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue