add multi-page notepad and memos toolbox tool
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s

This commit is contained in:
Shinuwa 2026-08-25 12:03:11 +02:00
parent fcabbe8029
commit 6125336338
33 changed files with 3787 additions and 138 deletions

View file

@ -14,6 +14,7 @@ import {
normalizeGoalTreeData,
normalizeImageAnnotationData,
normalizeLinksData,
normalizeMemosData,
normalizeNotepadData,
normalizeTableData,
normalizeTaskPlannerData,
@ -26,6 +27,7 @@ import {
const LIBRARY_TOOLBOX_ID = "library";
const MODULE_COMPONENTS = {
memos: lazy(() => import("../features/toolboxes/modules/MemosModule.jsx").then((module) => ({ default: module.MemosModule }))),
notepad: lazy(() => import("../features/toolboxes/modules/NotepadModule.jsx").then((module) => ({ default: module.NotepadModule }))),
checklist: lazy(() => import("../features/toolboxes/modules/ChecklistModule.jsx").then((module) => ({ default: module.ChecklistModule }))),
images: lazy(() => import("../features/toolboxes/modules/ImagesModule.jsx").then((module) => ({ default: module.ImagesModule }))),
@ -153,6 +155,7 @@ export function LibraryPage({ siteContent, actions }) {
normalizeChecklistData,
normalizeCombosData,
normalizeLinksData,
normalizeMemosData,
normalizeCountersData,
normalizeEquipmentPlannerData,
normalizeGoalTreeData,
@ -344,7 +347,7 @@ function LibraryToolExample({ module, sourceData, description, categoryTitle, do
</div>
<div className={`library-example-layout ${Array.isArray(docs?.controls) && docs.controls.length ? "has-legend" : ""}`}>
<ToolControlLegend items={docs?.controls} heading={controlLegendHeading || "Repères"} />
<article className={`module library-tool-example ${scrollable ? "is-scrollable" : ""}`}>
<article className={`module library-tool-example ${scrollable ? "is-scrollable" : ""}`} data-module-type={module.type}>
<header>
<div>
<h2>{definition.label}</h2>