From ce3e0da0639977c6e195fa71fcf4c14bd109fb7e Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 14 Feb 2023 15:39:50 +0900 Subject: [PATCH] wip --- packages/frontend/src/navbar.ts | 7 - .../frontend/src/pages/messaging/index.vue | 305 ------------- .../pages/messaging/messaging-room.form.vue | 361 --------------- .../messaging/messaging-room.message.vue | 338 -------------- .../src/pages/messaging/messaging-room.vue | 415 ------------------ packages/frontend/src/router.ts | 13 - 6 files changed, 1439 deletions(-) delete mode 100644 packages/frontend/src/pages/messaging/index.vue delete mode 100644 packages/frontend/src/pages/messaging/messaging-room.form.vue delete mode 100644 packages/frontend/src/pages/messaging/messaging-room.message.vue delete mode 100644 packages/frontend/src/pages/messaging/messaging-room.vue diff --git a/packages/frontend/src/navbar.ts b/packages/frontend/src/navbar.ts index 4f809d888ef3..b85299b07c84 100644 --- a/packages/frontend/src/navbar.ts +++ b/packages/frontend/src/navbar.ts @@ -15,13 +15,6 @@ export const navbarItemDef = reactive({ indicated: computed(() => $i != null && $i.hasUnreadNotification), to: '/my/notifications', }, - messaging: { - title: i18n.ts.messaging, - icon: 'ti ti-messages', - show: computed(() => $i != null), - indicated: computed(() => $i != null && $i.hasUnreadMessagingMessage), - to: '/my/messaging', - }, drive: { title: i18n.ts.drive, icon: 'ti ti-cloud', diff --git a/packages/frontend/src/pages/messaging/index.vue b/packages/frontend/src/pages/messaging/index.vue deleted file mode 100644 index 3d11cf13e932..000000000000 --- a/packages/frontend/src/pages/messaging/index.vue +++ /dev/null @@ -1,305 +0,0 @@ - - - - - diff --git a/packages/frontend/src/pages/messaging/messaging-room.form.vue b/packages/frontend/src/pages/messaging/messaging-room.form.vue deleted file mode 100644 index 6b3afbd2c873..000000000000 --- a/packages/frontend/src/pages/messaging/messaging-room.form.vue +++ /dev/null @@ -1,361 +0,0 @@ - - - - - diff --git a/packages/frontend/src/pages/messaging/messaging-room.message.vue b/packages/frontend/src/pages/messaging/messaging-room.message.vue deleted file mode 100644 index d10798b92ef8..000000000000 --- a/packages/frontend/src/pages/messaging/messaging-room.message.vue +++ /dev/null @@ -1,338 +0,0 @@ - - - - - diff --git a/packages/frontend/src/pages/messaging/messaging-room.vue b/packages/frontend/src/pages/messaging/messaging-room.vue deleted file mode 100644 index 0867f003a386..000000000000 --- a/packages/frontend/src/pages/messaging/messaging-room.vue +++ /dev/null @@ -1,415 +0,0 @@ - - - - - diff --git a/packages/frontend/src/router.ts b/packages/frontend/src/router.ts index 900426268967..2aa2e0ab3d84 100644 --- a/packages/frontend/src/router.ts +++ b/packages/frontend/src/router.ts @@ -420,19 +420,6 @@ export const routes = [{ path: '/my/achievements', component: page(() => import('./pages/achievements.vue')), loginRequired: true, -}, { - name: 'messaging', - path: '/my/messaging', - component: page(() => import('./pages/messaging/index.vue')), - loginRequired: true, -}, { - path: '/my/messaging/:userAcct', - component: page(() => import('./pages/messaging/messaging-room.vue')), - loginRequired: true, -}, { - path: '/my/messaging/group/:groupId', - component: page(() => import('./pages/messaging/messaging-room.vue')), - loginRequired: true, }, { path: '/my/drive/folder/:folder', component: page(() => import('./pages/drive.vue')),