1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-27 06:04:35 +02:00

enhance(frontend): チャンネル周りのUIの整理 (#16743)

* enhance(frontend): チャンネル周りのUIの整理

* fix: 共通要素間の一貫性を保つ

* Update Changelog

* fix: チャンネル新規作成を管理タブに移動・上部ボタン削除
This commit is contained in:
かっこかり
2025-11-06 10:15:59 +09:00
committed by GitHub
parent 0abe021640
commit 0edb0133fc
6 changed files with 15 additions and 11 deletions

View File

@@ -44,8 +44,8 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</MkPagination>
</div>
<div v-else-if="tab === 'owned'">
<MkButton class="new" @click="create()"><i class="ti ti-plus"></i></MkButton>
<div v-else-if="tab === 'owned'" class="_gaps">
<MkButton link primary rounded to="/channels/new"><i class="ti ti-plus"></i> {{ i18n.ts.createNew }}</MkButton>
<MkPagination v-slot="{items}" :paginator="ownedPaginator">
<div :class="$style.root">
<MkChannelPreview v-for="channel in items" :key="channel.id" :channel="channel"/>
@@ -126,15 +126,7 @@ async function search() {
key.value = query + type;
}
function create() {
router.push('/channels/new');
}
const headerActions = computed(() => [{
icon: 'ti ti-plus',
text: i18n.ts.create,
handler: create,
}]);
const headerActions = computed(() => []);
const headerTabs = computed(() => [{
key: 'search',