feat: migrate goal data to hierarchy block format
Replace goals-hierarchy.jsonc (type: goals) with hierarchy marker (type: hierarchy). Add level, subtitle, labels, availableLabels fields to goal .md blocks. Update feinziele grobzielId references from g2/g3/g4 to goals-grobziel-1/2/3. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
bf2cd538c9
commit
6325ee9985
@ -1,43 +1,7 @@
|
||||
// Goal hierarchy (long-term and mid-term goals)
|
||||
// Goal hierarchy marker — defines nesting levels for subsequent blocks
|
||||
{
|
||||
"id": "goals-hierarchy",
|
||||
"type": "goals",
|
||||
"id": "goal-hierarchy",
|
||||
"type": "hierarchy",
|
||||
"title": "Zielhierarchie",
|
||||
"hint": "Definieren Sie ein Fernziel (Teilhabe-orientiert) und funktionale Grobziele (konkrete Meilensteine). Unterscheiden Sie zwischen Bildungs- und Unterstützungszielen auf Grobzielebene.",
|
||||
"goals": [
|
||||
{
|
||||
"id": "g1",
|
||||
"type": "long-term",
|
||||
"title": "Fernziel",
|
||||
"description": "",
|
||||
"status": "draft",
|
||||
"category": "education"
|
||||
},
|
||||
{
|
||||
"id": "g2",
|
||||
"type": "mid-term",
|
||||
"parentId": "g1",
|
||||
"category": "education",
|
||||
"title": "Grobziel 1 [BZ]",
|
||||
"description": "",
|
||||
"status": "draft"
|
||||
},
|
||||
{
|
||||
"id": "g3",
|
||||
"type": "mid-term",
|
||||
"parentId": "g1",
|
||||
"category": "support",
|
||||
"title": "Grobziel 2 [UZ]",
|
||||
"description": "",
|
||||
"status": "draft"
|
||||
},
|
||||
{
|
||||
"id": "g4",
|
||||
"type": "mid-term",
|
||||
"parentId": "g1",
|
||||
"title": "Grobziel 3",
|
||||
"description": "",
|
||||
"status": "draft"
|
||||
}
|
||||
]
|
||||
"levels": ["fernziel", "grobziel"]
|
||||
}
|
||||
|
||||
@ -2,6 +2,8 @@
|
||||
id: "goals-fernziel"
|
||||
type: "markdown"
|
||||
title: "Fernziel"
|
||||
subtitle: ""
|
||||
level: "fernziel"
|
||||
hint: "Teilhabe-orientiertes Fernziel mit fachlicher Begründung."
|
||||
---
|
||||
***Fernziel***
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
---
|
||||
id: "goals-grobziel-1"
|
||||
type: "markdown"
|
||||
title: "Grobziel 1 [BZ]"
|
||||
title: "Grobziel 1"
|
||||
subtitle: ""
|
||||
level: "grobziel"
|
||||
availableLabels: ["BZ", "UZ"]
|
||||
labels: ["BZ"]
|
||||
hint: "BZ = Bildungsziel. Formuliere ein konkretes Grobziel mit fachlicher Begründung."
|
||||
tag: "UZ"
|
||||
---
|
||||
***Grobziel***
|
||||
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
---
|
||||
id: "goals-grobziel-2"
|
||||
type: "markdown"
|
||||
title: "Grobziel 2 [UZ]"
|
||||
title: "Grobziel 2"
|
||||
subtitle: ""
|
||||
level: "grobziel"
|
||||
availableLabels: ["BZ", "UZ"]
|
||||
labels: ["UZ"]
|
||||
hint: "UZ = Unterstützungsziel. Min. 1 BZ + 1 UZ erforderlich."
|
||||
tag: "BZ"
|
||||
---
|
||||
***Grobziel***
|
||||
|
||||
|
||||
@ -2,8 +2,11 @@
|
||||
id: "goals-grobziel-3"
|
||||
type: "markdown"
|
||||
title: "Grobziel 3"
|
||||
subtitle: ""
|
||||
level: "grobziel"
|
||||
availableLabels: ["BZ", "UZ"]
|
||||
labels: []
|
||||
hint: "Formuliere ein konkretes Grobziel mit fachlicher Begründung."
|
||||
tag: "UZ"
|
||||
---
|
||||
***Grobziel***
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
// Fine goals (Feinziele) — each linked to a parent Grobziel block ID
|
||||
{
|
||||
"id": "planning-feinziele",
|
||||
"type": "feinziele",
|
||||
@ -6,12 +7,12 @@
|
||||
"feinziele": [
|
||||
{
|
||||
"id": "feinziel-3-1",
|
||||
"grobzielId": "g4",
|
||||
"grobzielId": "goals-grobziel-3",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"id": "feinziel-2-1",
|
||||
"grobzielId": "g3",
|
||||
"grobzielId": "goals-grobziel-2",
|
||||
"text": "",
|
||||
"smartCheck": {
|
||||
"s": false,
|
||||
@ -23,7 +24,7 @@
|
||||
},
|
||||
{
|
||||
"id": "feinziel-1-1",
|
||||
"grobzielId": "g2",
|
||||
"grobzielId": "goals-grobziel-1",
|
||||
"text": "Lehrnen",
|
||||
"smartCheck": {
|
||||
"s": true,
|
||||
@ -35,7 +36,7 @@
|
||||
},
|
||||
{
|
||||
"id": "feinziel-1-2",
|
||||
"grobzielId": "g2",
|
||||
"grobzielId": "goals-grobziel-1",
|
||||
"text": ""
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user