enhance(frontend): organize settings page
This commit is contained in:
parent
4af49e8385
commit
c06d0b9b42
|
@ -104,15 +104,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
</MkPreferenceContainer>
|
</MkPreferenceContainer>
|
||||||
</SearchMarker>
|
</SearchMarker>
|
||||||
|
|
||||||
<SearchMarker :keywords="['pinned', 'list']">
|
|
||||||
<MkFolder>
|
|
||||||
<template #label><SearchLabel>{{ i18n.ts.pinnedList }}</SearchLabel></template>
|
|
||||||
<!-- 複数ピン止め管理できるようにしたいけどめんどいので一旦ひとつのみ -->
|
|
||||||
<MkButton v-if="prefer.r.pinnedUserLists.value.length === 0" @click="setPinnedList()">{{ i18n.ts.add }}</MkButton>
|
|
||||||
<MkButton v-else danger @click="removePinnedList()"><i class="ti ti-trash"></i> {{ i18n.ts.remove }}</MkButton>
|
|
||||||
</MkFolder>
|
|
||||||
</SearchMarker>
|
|
||||||
</div>
|
</div>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
</SearchMarker>
|
</SearchMarker>
|
||||||
|
@ -164,6 +155,15 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkSwitch>
|
</MkSwitch>
|
||||||
</MkPreferenceContainer>
|
</MkPreferenceContainer>
|
||||||
</SearchMarker>
|
</SearchMarker>
|
||||||
|
|
||||||
|
<SearchMarker :keywords="['pinned', 'list']">
|
||||||
|
<MkFolder>
|
||||||
|
<template #label><SearchLabel>{{ i18n.ts.pinnedList }}</SearchLabel></template>
|
||||||
|
<!-- 複数ピン止め管理できるようにしたいけどめんどいので一旦ひとつのみ -->
|
||||||
|
<MkButton v-if="prefer.r.pinnedUserLists.value.length === 0" @click="setPinnedList()">{{ i18n.ts.add }}</MkButton>
|
||||||
|
<MkButton v-else danger @click="removePinnedList()"><i class="ti ti-trash"></i> {{ i18n.ts.remove }}</MkButton>
|
||||||
|
</MkFolder>
|
||||||
|
</SearchMarker>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
|
@ -323,43 +323,43 @@ export const searchIndexes: SearchIndexItem[] = [
|
||||||
label: i18n.ts.emojiStyle,
|
label: i18n.ts.emojiStyle,
|
||||||
keywords: ['emoji', 'style', 'native', 'system', 'fluent', 'twemoji'],
|
keywords: ['emoji', 'style', 'native', 'system', 'fluent', 'twemoji'],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: 'wo0s0CaI1',
|
|
||||||
label: i18n.ts.pinnedList,
|
|
||||||
keywords: ['pinned', 'list'],
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
label: i18n.ts.general,
|
label: i18n.ts.general,
|
||||||
keywords: ['general'],
|
keywords: ['general'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'l78F2W9Ok',
|
id: '5G6O6qdis',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
id: 'iOJ3Crlky',
|
id: 'khT3n6byY',
|
||||||
label: i18n.ts.showFixedPostForm,
|
label: i18n.ts.showFixedPostForm,
|
||||||
keywords: ['post', 'form', 'timeline'],
|
keywords: ['post', 'form', 'timeline'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'CQldliCSi',
|
id: 'q5ElfNSou',
|
||||||
label: i18n.ts.showFixedPostFormInChannel,
|
label: i18n.ts.showFixedPostFormInChannel,
|
||||||
keywords: ['post', 'form', 'timeline', 'channel'],
|
keywords: ['post', 'form', 'timeline', 'channel'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'd2H4E5ys6',
|
id: '3GcWIaZf8',
|
||||||
label: i18n.ts.collapseRenotes,
|
label: i18n.ts.collapseRenotes,
|
||||||
keywords: ['renote', i18n.ts.collapseRenotesDescription],
|
keywords: ['renote', i18n.ts.collapseRenotesDescription],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'yb11lSY1G',
|
id: 'd2H4E5ys6',
|
||||||
label: i18n.ts.showGapBetweenNotesInTimeline,
|
label: i18n.ts.showGapBetweenNotesInTimeline,
|
||||||
keywords: ['note', 'timeline', 'gap'],
|
keywords: ['note', 'timeline', 'gap'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'fL49Zxe9i',
|
id: '1LHOhDKGW',
|
||||||
label: i18n.ts.disableStreamingTimeline,
|
label: i18n.ts.disableStreamingTimeline,
|
||||||
keywords: ['disable', 'streaming', 'timeline'],
|
keywords: ['disable', 'streaming', 'timeline'],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'DSzwvTp7i',
|
||||||
|
label: i18n.ts.pinnedList,
|
||||||
|
keywords: ['pinned', 'list'],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 'ykifk3NHS',
|
id: 'ykifk3NHS',
|
||||||
label: i18n.ts.showNoteActionsOnlyHover,
|
label: i18n.ts.showNoteActionsOnlyHover,
|
||||||
|
|
Loading…
Reference in New Issue