From a10be38d0ee0e01e278422d58e2f2df7e20d3c40 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 9 Jan 2022 18:50:03 +0900 Subject: [PATCH] bye chat ui --- CHANGELOG.md | 1 + packages/client/src/init.ts | 1 - packages/client/src/menu.ts | 7 - .../src/ui/chat/date-separated-list.vue | 157 --- packages/client/src/ui/chat/header-clock.vue | 62 - packages/client/src/ui/chat/index.vue | 463 ------- packages/client/src/ui/chat/note-header.vue | 99 -- packages/client/src/ui/chat/note-preview.vue | 112 -- packages/client/src/ui/chat/note.sub.vue | 137 -- packages/client/src/ui/chat/note.vue | 1143 ----------------- packages/client/src/ui/chat/notes.vue | 94 -- packages/client/src/ui/chat/pages/channel.vue | 259 ---- .../client/src/ui/chat/pages/timeline.vue | 222 ---- packages/client/src/ui/chat/post-form.vue | 770 ----------- packages/client/src/ui/chat/side.vue | 157 --- packages/client/src/ui/chat/store.ts | 17 - .../client/src/ui/chat/sub-note-content.vue | 62 - packages/client/src/ui/chat/widgets.vue | 62 - 18 files changed, 1 insertion(+), 3824 deletions(-) delete mode 100644 packages/client/src/ui/chat/date-separated-list.vue delete mode 100644 packages/client/src/ui/chat/header-clock.vue delete mode 100644 packages/client/src/ui/chat/index.vue delete mode 100644 packages/client/src/ui/chat/note-header.vue delete mode 100644 packages/client/src/ui/chat/note-preview.vue delete mode 100644 packages/client/src/ui/chat/note.sub.vue delete mode 100644 packages/client/src/ui/chat/note.vue delete mode 100644 packages/client/src/ui/chat/notes.vue delete mode 100644 packages/client/src/ui/chat/pages/channel.vue delete mode 100644 packages/client/src/ui/chat/pages/timeline.vue delete mode 100644 packages/client/src/ui/chat/post-form.vue delete mode 100644 packages/client/src/ui/chat/side.vue delete mode 100644 packages/client/src/ui/chat/store.ts delete mode 100644 packages/client/src/ui/chat/sub-note-content.vue delete mode 100644 packages/client/src/ui/chat/widgets.vue diff --git a/CHANGELOG.md b/CHANGELOG.md index 99ab40f761..501e5cad98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ ### Changes - Room機能が削除されました - 後日別リポジトリとして復活予定です +- Chat UIが削除されました ### Improvements diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index 2263b4ca3c..af70aec70a 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -172,7 +172,6 @@ const app = createApp(await ( !$i ? import('@/ui/visitor.vue') : ui === 'deck' ? import('@/ui/deck.vue') : ui === 'desktop' ? import('@/ui/desktop.vue') : - ui === 'chat' ? import('@/ui/chat/index.vue') : ui === 'classic' ? import('@/ui/classic.vue') : import('@/ui/universal.vue') ).then(x => x.default)); diff --git a/packages/client/src/menu.ts b/packages/client/src/menu.ts index ea6f801fec..98a892d569 100644 --- a/packages/client/src/menu.ts +++ b/packages/client/src/menu.ts @@ -198,13 +198,6 @@ export const menuDef = reactive({ localStorage.setItem('ui', 'classic'); unisonReload(); } - }, { - text: 'Chat (β)', - active: ui === 'chat', - action: () => { - localStorage.setItem('ui', 'chat'); - unisonReload(); - } }, /*{ text: i18n.locale.desktop + ' (β)', active: ui === 'desktop', diff --git a/packages/client/src/ui/chat/date-separated-list.vue b/packages/client/src/ui/chat/date-separated-list.vue deleted file mode 100644 index 1a36aca6dd..0000000000 --- a/packages/client/src/ui/chat/date-separated-list.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/header-clock.vue b/packages/client/src/ui/chat/header-clock.vue deleted file mode 100644 index 3488289c21..0000000000 --- a/packages/client/src/ui/chat/header-clock.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/index.vue b/packages/client/src/ui/chat/index.vue deleted file mode 100644 index f66ab4dcee..0000000000 --- a/packages/client/src/ui/chat/index.vue +++ /dev/null @@ -1,463 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/note-header.vue b/packages/client/src/ui/chat/note-header.vue deleted file mode 100644 index 5f87fdd14e..0000000000 --- a/packages/client/src/ui/chat/note-header.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/note-preview.vue b/packages/client/src/ui/chat/note-preview.vue deleted file mode 100644 index c28591815e..0000000000 --- a/packages/client/src/ui/chat/note-preview.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/note.sub.vue b/packages/client/src/ui/chat/note.sub.vue deleted file mode 100644 index b61b7521a8..0000000000 --- a/packages/client/src/ui/chat/note.sub.vue +++ /dev/null @@ -1,137 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/note.vue b/packages/client/src/ui/chat/note.vue deleted file mode 100644 index fa5faa4ec3..0000000000 --- a/packages/client/src/ui/chat/note.vue +++ /dev/null @@ -1,1143 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/notes.vue b/packages/client/src/ui/chat/notes.vue deleted file mode 100644 index 51d4afcf54..0000000000 --- a/packages/client/src/ui/chat/notes.vue +++ /dev/null @@ -1,94 +0,0 @@ - - - diff --git a/packages/client/src/ui/chat/pages/channel.vue b/packages/client/src/ui/chat/pages/channel.vue deleted file mode 100644 index 2755cc92b7..0000000000 --- a/packages/client/src/ui/chat/pages/channel.vue +++ /dev/null @@ -1,259 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/pages/timeline.vue b/packages/client/src/ui/chat/pages/timeline.vue deleted file mode 100644 index f67d333398..0000000000 --- a/packages/client/src/ui/chat/pages/timeline.vue +++ /dev/null @@ -1,222 +0,0 @@ - - - - - diff --git a/packages/client/src/ui/chat/post-form.vue b/packages/client/src/ui/chat/post-form.vue deleted file mode 100644 index 0f04096653..0000000000 --- a/packages/client/src/ui/chat/post-form.vue +++ /dev/null @@ -1,770 +0,0 @@ -