From dd19497426b24f05f157187a00a8d488d6566938 Mon Sep 17 00:00:00 2001 From: Joscha Date: Fri, 7 Feb 2025 02:14:09 +0100 Subject: [PATCH] Store paths of unfolded nodes in ui state --- gdn-app/src/App.vue | 8 ++-- gdn-app/src/components/CNavbar.vue | 6 +-- gdn-app/src/components/CNote.vue | 55 ++++++++----------------- gdn-app/src/components/CNoteCreator.vue | 2 +- gdn-app/src/stores/ui.ts | 28 +++++++++++-- gdn-app/src/util.ts | 25 +++++++++++ gdn-app/tsconfig.json | 4 +- 7 files changed, 77 insertions(+), 51 deletions(-) create mode 100644 gdn-app/src/util.ts diff --git a/gdn-app/src/App.vue b/gdn-app/src/App.vue index f2590b5..a82cfac 100644 --- a/gdn-app/src/App.vue +++ b/gdn-app/src/App.vue @@ -11,10 +11,10 @@ const ui = useUiStore();
diff --git a/gdn-app/src/components/CNavbar.vue b/gdn-app/src/components/CNavbar.vue index 1339093..fc6d328 100644 --- a/gdn-app/src/components/CNavbar.vue +++ b/gdn-app/src/components/CNavbar.vue @@ -1,10 +1,10 @@