From 942512903ac97ee8eb0773a13b244caf6527fbce Mon Sep 17 00:00:00 2001 From: Simon Ilincev Date: Tue, 19 Nov 2024 17:49:24 -0500 Subject: [PATCH] feat: collapsing + shaking + refactoring for type-safety and minimalism --- src/components/Course/Course.vue | 77 +++++++++++++++++++--------- src/components/Notes/Note.vue | 34 ++++++------ src/components/Semester/Semester.vue | 3 ++ 3 files changed, 72 insertions(+), 42 deletions(-) diff --git a/src/components/Course/Course.vue b/src/components/Course/Course.vue index 47a1013d8..17c8f5d00 100644 --- a/src/components/Course/Course.vue +++ b/src/components/Course/Course.vue @@ -103,18 +103,16 @@ :expandedTranslateY="'-35px'" :width="'calc(102.8% - 10px)'" :color="cssVars['--bg-color']" - :expand="expandNote" :initialNote="courseObj.note || ''" - @toggle="handleToggleNote" @save-note="saveNote" - v-click-outside="handleClickOutside" ref="note" + v-click-outside="handleClickOutsideNote" />