diff --git a/src/App.vue b/src/App.vue index 34dd433..534720b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,14 +1,30 @@ @@ -16,10 +32,13 @@ const exportRoot = ref() - Macroplan - - A week-granular, learning-oriented record of what we committed to deliver. - + () > Download - Reset to sample + + 🗑 + @@ -62,6 +83,22 @@ const exportRoot = ref() + + + Delete "{{ activeName }}"? + + This removes the plan from your library. Download its .toml first if you want to keep it. + + + Cancel + Delete + + + + close + + + {{ toast.text }} diff --git a/src/composables/useMacroplan.ts b/src/composables/useMacroplan.ts index cdbe837..b91fea9 100644 --- a/src/composables/useMacroplan.ts +++ b/src/composables/useMacroplan.ts @@ -153,9 +153,5 @@ export function useMacroplan() { switchTo(lib.value.plans[Math.max(0, idx - 1)].id) } }, - // TODO(task 4): remove once App.vue drops the "Reset to sample" button. - resetToSample: () => { - source.value = SAMPLE_PLAN - }, } }
- A week-granular, learning-oriented record of what we committed to deliver. -
+ This removes the plan from your library. Download its .toml first if you want to keep it. +