From c188d97dee75142fa0fafd8ba6c2a28fa5eb3a4b Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Mon, 4 Nov 2024 22:18:53 +0100 Subject: [PATCH] refactor: :recycle: Improve Note rendering structure --- components/dropdowns/AdaptiveDropdown.vue | 2 +- .../notes/interactions/button.vue | 9 + .../notes/interactions/row.vue | 86 ++++++++ .../social-elements/notes/note-menu.vue | 156 ++++++++++++++ components/social-elements/notes/note.vue | 192 +----------------- 5 files changed, 255 insertions(+), 190 deletions(-) create mode 100644 components/social-elements/notes/interactions/button.vue create mode 100644 components/social-elements/notes/interactions/row.vue create mode 100644 components/social-elements/notes/note-menu.vue diff --git a/components/dropdowns/AdaptiveDropdown.vue b/components/dropdowns/AdaptiveDropdown.vue index a32b510..7428596 100644 --- a/components/dropdowns/AdaptiveDropdown.vue +++ b/components/dropdowns/AdaptiveDropdown.vue @@ -2,7 +2,7 @@ - + diff --git a/components/social-elements/notes/interactions/button.vue b/components/social-elements/notes/interactions/button.vue new file mode 100644 index 0000000..63a6620 --- /dev/null +++ b/components/social-elements/notes/interactions/button.vue @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/components/social-elements/notes/interactions/row.vue b/components/social-elements/notes/interactions/row.vue new file mode 100644 index 0000000..a84b016 --- /dev/null +++ b/components/social-elements/notes/interactions/row.vue @@ -0,0 +1,86 @@ + + + \ No newline at end of file diff --git a/components/social-elements/notes/note-menu.vue b/components/social-elements/notes/note-menu.vue new file mode 100644 index 0000000..8bd9c92 --- /dev/null +++ b/components/social-elements/notes/note-menu.vue @@ -0,0 +1,156 @@ + + + \ No newline at end of file diff --git a/components/social-elements/notes/note.vue b/components/social-elements/notes/note.vue index fe32426..7f008ea 100644 --- a/components/social-elements/notes/note.vue +++ b/components/social-elements/notes/note.vue @@ -17,142 +17,17 @@ -
- - - - - - - - - -
+
\ No newline at end of file