From b1ac6612fde65e87337584eca1dcb84578f564bd Mon Sep 17 00:00:00 2001 From: ArneBo Date: Mon, 17 Feb 2025 11:25:44 +0100 Subject: [PATCH] chore(front): [WIP] new toplevel channels page --- front/src/ui/components/Sidebar.vue | 2 +- front/src/ui/routes/index.ts | 6 + front/src/views/channels/List.vue | 195 ++++++++++++++++++++++++++++ 3 files changed, 202 insertions(+), 1 deletion(-) create mode 100644 front/src/views/channels/List.vue diff --git a/front/src/ui/components/Sidebar.vue b/front/src/ui/components/Sidebar.vue index 47882ce14..db39bfe00 100644 --- a/front/src/ui/components/Sidebar.vue +++ b/front/src/ui/components/Sidebar.vue @@ -145,7 +145,7 @@ const logoUrl = computed(() => store.state.auth.authenticated ? 'library.index' {{ t('components.Sidebar.link.artists') }} - import('~/views/channels/List.vue'), + props: route => ({ defaultQuery: route.query.q }) + }, { path: 'subscriptions', name: 'subscriptions', diff --git a/front/src/views/channels/List.vue b/front/src/views/channels/List.vue new file mode 100644 index 000000000..2dff7ba4f --- /dev/null +++ b/front/src/views/channels/List.vue @@ -0,0 +1,195 @@ + + +