From e0c41bb9b5800b3b51efe85506e9ca3dd75ae7c7 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Fri, 26 Apr 2024 15:28:12 -1000 Subject: [PATCH] feat: :sparkles: New notifications view, refactor all composables --- .../social-elements/instance/Presentation.vue | 6 +- components/social-elements/notes/header.vue | 68 +++++++ components/social-elements/notes/note.vue | 93 +++++---- .../social-elements/notifications/notif.vue | 67 +++++++ components/social-elements/users/Account.vue | 38 ++-- .../social-elements/users/SmallCard.vue | 18 +- components/timelines/Notifications.vue | 50 +++++ components/timelines/Public.vue | 2 +- composables/Account.ts | 16 +- composables/AccountTimeline.ts | 36 ++-- composables/ExtendedDescription.ts | 21 ++- composables/Instance.ts | 20 +- composables/Megalodon.ts | 7 +- composables/Note.ts | 13 +- composables/NotificationTimeline.ts | 24 +++ composables/ParsedContent.ts | 115 ++++++------ composables/PublicTimeline.ts | 85 ++------- composables/Timeline.ts | 176 ++++++++++++++++++ layouts/app.vue | 43 +++-- pages/[username]/[uuid].vue | 10 +- pages/[username]/index.vue | 2 +- pages/local.vue | 2 +- pages/register/index.vue | 10 +- 23 files changed, 641 insertions(+), 281 deletions(-) create mode 100644 components/social-elements/notes/header.vue create mode 100644 components/social-elements/notifications/notif.vue create mode 100644 components/timelines/Notifications.vue create mode 100644 composables/NotificationTimeline.ts create mode 100644 composables/Timeline.ts diff --git a/components/social-elements/instance/Presentation.vue b/components/social-elements/instance/Presentation.vue index 0b16278..117a473 100644 --- a/components/social-elements/instance/Presentation.vue +++ b/components/social-elements/instance/Presentation.vue @@ -19,7 +19,7 @@ \ No newline at end of file diff --git a/components/social-elements/notes/header.vue b/components/social-elements/notes/header.vue new file mode 100644 index 0000000..ea19486 --- /dev/null +++ b/components/social-elements/notes/header.vue @@ -0,0 +1,68 @@ + + + \ No newline at end of file diff --git a/components/social-elements/notes/note.vue b/components/social-elements/notes/note.vue index b9c77b6..f5617d4 100644 --- a/components/social-elements/notes/note.vue +++ b/components/social-elements/notes/note.vue @@ -1,49 +1,41 @@