Share toolbox components and fix image and calendar updates
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s

This commit is contained in:
Shinuwa 2026-09-10 14:19:55 +02:00
parent 865a4ffd97
commit 34524d2961
13 changed files with 117 additions and 93 deletions

View file

@ -311,31 +311,9 @@ test("toolbox module registry and modules expose expected behavior", async () =>
assert.match(moduleRegistry, /export \{ AddToolControls \}/);
assert.match(moduleRegistry, /export \{ ToolboxModules \}/);
assert.match(moduleComponents, /MODULE_COMPONENTS/);
assert.match(moduleComponents, /lazy\(\(\) => import\("\.\/CombosModule\.jsx"\)/);
assert.match(moduleComponents, /lazy\(\(\) => import\("\.\/CalendarModule\.jsx"\)/);
assert.match(moduleComponents, /lazy\(\(\) => import\("\.\/GoalTreeModule\.jsx"\)/);
assert.match(moduleComponents, /lazy\(\(\) => import\("\.\/EquipmentPlannerModule\.jsx"\)/);
assert.match(toolboxModules, /Suspense fallback=\{<ModuleLoadingFallback label=\{label\} \/>\}/);
assert.match(moduleComponents, /LAZY_MODULE_TYPES/);
assert.match(moduleComponents, /notepad:/);
assert.match(moduleComponents, /checklist:/);
assert.match(moduleComponents, /images:/);
assert.match(moduleComponents, /links:/);
assert.match(moduleComponents, /counters:/);
assert.match(moduleComponents, /combos:/);
assert.match(moduleComponents, /CombosModule/);
assert.match(moduleComponents, /calculator:/);
assert.match(moduleComponents, /table:/);
assert.match(moduleComponents, /table: \{ \.\.\.TOOLBOX_MODULE_DEFINITIONS\.table, Component: TableModule \}/);
assert.match(moduleComponents, /timer:/);
assert.match(moduleComponents, /calendar:/);
assert.match(moduleComponents, /taskPlanner:/);
assert.match(moduleComponents, /goalTree:/);
assert.match(moduleComponents, /equipmentPlanner:/);
assert.match(moduleMetadataRegistry, /Planificateur d'équipements/);
assert.match(moduleComponents, /imageAnnotation:/);
assert.match(moduleMetadataRegistry, /Annotation d'images/);
assert.match(moduleComponents, /notepad: \{ \.\.\.TOOLBOX_MODULE_DEFINITIONS\.notepad, Component: NotepadModule \}/);
assert.match(toolboxModules, /module-edit-button/);
assert.match(toolboxModules, /itemReorder\.startDrag/);
assert.match(moduleRegistryBundle, /onPointerDown/);