diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-04-15 15:36:53 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-04-15 15:36:53 +0900 |
| commit | 7c0806f208d85e29b9fc99f86844349e3708aa2d (patch) | |
| tree | 113f07187890e805ae3d8f5cf5e6ad79df9b6e3a /packages/frontend/src/ui/deck/chat-column.vue | |
| parent | enhance(backend): フォローしているユーザーならフォロワー... (diff) | |
| download | sharkey-7c0806f208d85e29b9fc99f86844349e3708aa2d.tar.gz sharkey-7c0806f208d85e29b9fc99f86844349e3708aa2d.tar.bz2 sharkey-7c0806f208d85e29b9fc99f86844349e3708aa2d.zip | |
feat(frontend): chat column
Resolve #15830
Diffstat (limited to 'packages/frontend/src/ui/deck/chat-column.vue')
| -rw-r--r-- | packages/frontend/src/ui/deck/chat-column.vue | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/frontend/src/ui/deck/chat-column.vue b/packages/frontend/src/ui/deck/chat-column.vue new file mode 100644 index 0000000000..791af2e44c --- /dev/null +++ b/packages/frontend/src/ui/deck/chat-column.vue @@ -0,0 +1,27 @@ +<!-- +SPDX-FileCopyrightText: syuilo and misskey-project +SPDX-License-Identifier: AGPL-3.0-only +--> + +<template> +<XColumn :column="column" :isStacked="isStacked"> + <template #header><i class="ti ti-messages" style="margin-right: 8px;"></i>{{ column.name || i18n.ts._deck._columns.chat }}</template> + + <div style="padding: 8px;"> + <MkChatHistories/> + </div> +</XColumn> +</template> + +<script lang="ts" setup> +import { ref } from 'vue'; +import { i18n } from '../../i18n.js'; +import XColumn from './column.vue'; +import type { Column } from '@/deck.js'; +import MkChatHistories from '@/components/MkChatHistories.vue'; + +defineProps<{ + column: Column; + isStacked: boolean; +}>(); +</script> |