From 9d3aa6bb411823f0a50ff0acdc19e913942b55db Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Sun, 13 Oct 2024 21:07:50 -0400 Subject: [PATCH] add pinned section to "notes" tab on user profiles --- packages/frontend/src/components/SkTab.vue | 84 ++++++++++++++ packages/frontend/src/pages/user/home.vue | 66 +---------- .../src/pages/user/index.timeline.vue | 52 +-------- .../src/pages/user/notes-container.vue | 109 ++++++++++++++++++ 4 files changed, 198 insertions(+), 113 deletions(-) create mode 100644 packages/frontend/src/components/SkTab.vue create mode 100644 packages/frontend/src/pages/user/notes-container.vue diff --git a/packages/frontend/src/components/SkTab.vue b/packages/frontend/src/components/SkTab.vue new file mode 100644 index 0000000000..d5266e9196 --- /dev/null +++ b/packages/frontend/src/components/SkTab.vue @@ -0,0 +1,84 @@ + + + + + + + + + diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index f6d2aec36f..4a7f626133 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -145,36 +145,7 @@ SPDX-License-Identifier: AGPL-3.0-only - - - - -
-
- -
{{ i18n.ts.noNotes }}
-
-
- -
-
- -
-
+
@@ -190,8 +161,6 @@ SPDX-License-Identifier: AGPL-3.0-only - - diff --git a/packages/frontend/src/pages/user/notes-container.vue b/packages/frontend/src/pages/user/notes-container.vue new file mode 100644 index 0000000000..da66f92020 --- /dev/null +++ b/packages/frontend/src/pages/user/notes-container.vue @@ -0,0 +1,109 @@ + + + + + + +