From d7461c1602a2ac50432f97a03fe5b11306dd4a61 Mon Sep 17 00:00:00 2001 From: Paz Date: Sun, 5 Jan 2025 15:19:34 +0100 Subject: [PATCH] added more reminder types --- frontend/src/components/NavigationSidebar.vue | 2 +- frontend/src/views/HomeView.vue | 3 +- internal/reminder/monitor.go | 102 ++++++++++++++---- internal/reminder/monitor_test.go | 27 ++++- internal/reminder/types.go | 16 ++- onyx.env | 2 +- testdata/Reminders.md | 16 ++- testdata/Stuff.md | 0 testdata/Stufffff.md | 0 9 files changed, 132 insertions(+), 36 deletions(-) create mode 100644 testdata/Stuff.md create mode 100644 testdata/Stufffff.md diff --git a/frontend/src/components/NavigationSidebar.vue b/frontend/src/components/NavigationSidebar.vue index 387a469..6a1db2e 100644 --- a/frontend/src/components/NavigationSidebar.vue +++ b/frontend/src/components/NavigationSidebar.vue @@ -10,7 +10,7 @@ const props = defineProps<{ }>() -const emit = defineEmits(["refresh", "file-select"]) +const emit = defineEmits(["refresh"]) const directoryRepository = new DirectoryContentRepository() const noteRepository = new NoteRepository() diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue index 9d652ff..2947687 100644 --- a/frontend/src/views/HomeView.vue +++ b/frontend/src/views/HomeView.vue @@ -132,7 +132,8 @@ function showSidebar() {