Add goal tree toolbox module
All checks were successful
Deploy Sokko G / deploy (push) Successful in 15s

This commit is contained in:
Shinuwa 2026-08-22 18:15:39 +02:00
parent e4cbe3e087
commit 59fdcb0927
63 changed files with 4062 additions and 252 deletions

View file

@ -6,6 +6,7 @@ export const TOOLBOX_MODULE_DEFINITIONS = {
mode: "Texte riche",
icon: "notepad",
editable: true,
addable: false,
libraryCategory: "notesTracking"
},
checklist: {
@ -59,6 +60,7 @@ export const TOOLBOX_MODULE_DEFINITIONS = {
mode: "Arborescence",
icon: "calculator",
editable: true,
addable: false,
libraryCategory: "calculationData"
},
table: {
@ -67,6 +69,16 @@ export const TOOLBOX_MODULE_DEFINITIONS = {
mode: "Grille + formules",
icon: "table",
editable: true,
addable: false,
scrollable: true,
libraryCategory: "calculationData"
},
goalTree: {
label: "Arbre d'objectifs",
defaultTitle: "Arbre d'objectifs",
mode: "Objectifs + quantités",
icon: "diagram",
editable: true,
scrollable: true,
libraryCategory: "calculationData"
},
@ -76,6 +88,7 @@ export const TOOLBOX_MODULE_DEFINITIONS = {
mode: "Chrono + comptes à rebours",
icon: "clock",
editable: true,
addable: false,
libraryCategory: "timeRoutines"
},
calendar: {
@ -123,7 +136,7 @@ export const TOOLBOX_MODULES = Object.fromEntries(Object.entries(TOOLBOX_MODULE_
export const LIBRARY_CATEGORY_DEFINITIONS = [
{ key: "notesTracking", types: ["notepad", "checklist", "counters"] },
{ key: "references", types: ["images", "imageAnnotation", "links"] },
{ key: "calculationData", types: ["calculator", "table"] },
{ key: "calculationData", types: ["calculator", "table", "goalTree"] },
{ key: "timeRoutines", types: ["timer", "calendar", "taskPlanner"] },
{ key: "buildsCommands", types: ["combos", "equipmentPlanner"] }
];