summaryrefslogtreecommitdiff
path: root/packages/frontend/src
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-03-25 11:33:40 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-03-25 11:33:40 +0900
commit18bb831777f0c21bdd04dae1c18b731427f4fe70 (patch)
tree5ea012d8e1072d9bfd91001bf7e32ab48f9c8526 /packages/frontend/src
parentBump version to 2025.3.2-beta.11 (diff)
downloadsharkey-18bb831777f0c21bdd04dae1c18b731427f4fe70.tar.gz
sharkey-18bb831777f0c21bdd04dae1c18b731427f4fe70.tar.bz2
sharkey-18bb831777f0c21bdd04dae1c18b731427f4fe70.zip
🎨
Diffstat (limited to 'packages/frontend/src')
-rw-r--r--packages/frontend/src/pages/settings/preferences.vue6
-rw-r--r--packages/frontend/src/utility/autogen/settings-search-index.ts98
2 files changed, 55 insertions, 49 deletions
diff --git a/packages/frontend/src/pages/settings/preferences.vue b/packages/frontend/src/pages/settings/preferences.vue
index 9256a565c4..f461ee9bc9 100644
--- a/packages/frontend/src/pages/settings/preferences.vue
+++ b/packages/frontend/src/pages/settings/preferences.vue
@@ -14,6 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<SearchMarker :keywords="['general']">
<MkFolder>
<template #label><SearchLabel>{{ i18n.ts.general }}</SearchLabel></template>
+ <template #icon><i class="ti ti-settings"></i></template>
<div class="_gaps_m">
<SearchMarker :keywords="['language']">
@@ -135,6 +136,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<SearchMarker :keywords="['timeline', 'note']">
<MkFolder>
<template #label><SearchLabel>{{ i18n.ts._settings.timelineAndNote }}</SearchLabel></template>
+ <template #icon><i class="ti ti-notes"></i></template>
<div class="_gaps_m">
<div class="_gaps_s">
@@ -293,6 +295,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<SearchMarker :keywords="['post', 'form']">
<MkFolder>
<template #label><SearchLabel>{{ i18n.ts.postForm }}</SearchLabel></template>
+ <template #icon><i class="ti ti-edit"></i></template>
<div class="_gaps_m">
<div class="_gaps_s">
@@ -354,6 +357,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<SearchMarker :keywords="['notification']">
<MkFolder>
<template #label><SearchLabel>{{ i18n.ts.notifications }}</SearchLabel></template>
+ <template #icon><i class="ti ti-bell"></i></template>
<div class="_gaps_m">
<SearchMarker :keywords="['group']">
@@ -394,6 +398,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<SearchMarker :keywords="['datasaver']">
<MkFolder>
<template #label><SearchLabel>{{ i18n.ts.dataSaver }}</SearchLabel></template>
+ <template #icon><i class="ti ti-antenna-bars-3"></i></template>
<div class="_gaps_m">
<MkInfo>{{ i18n.ts.reloadRequiredToApplySettings }}</MkInfo>
@@ -427,6 +432,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<SearchMarker :keywords="['other']">
<MkFolder>
<template #label><SearchLabel>{{ i18n.ts.other }}</SearchLabel></template>
+ <template #icon><i class="ti ti-settings-cog"></i></template>
<div class="_gaps_m">
<div class="_gaps_s">
diff --git a/packages/frontend/src/utility/autogen/settings-search-index.ts b/packages/frontend/src/utility/autogen/settings-search-index.ts
index 2b53121f14..316319bbf0 100644
--- a/packages/frontend/src/utility/autogen/settings-search-index.ts
+++ b/packages/frontend/src/utility/autogen/settings-search-index.ts
@@ -279,62 +279,62 @@ export const searchIndexes: SearchIndexItem[] = [
id: 'AKvDrxSj5',
children: [
{
- id: 'cAszhShB0',
+ id: 'a5b9RjEvq',
label: i18n.ts.uiLanguage,
keywords: ['language'],
},
{
- id: 'apz9AutPm',
+ id: '9ragaff40',
label: i18n.ts.overridedDeviceKind,
keywords: ['device', 'type', 'kind', 'smartphone', 'tablet', 'desktop'],
},
{
- id: 'nqRVtw1xw',
+ id: 'lfI3yMX9g',
label: i18n.ts.useBlurEffect,
keywords: ['blur'],
},
{
- id: 'EO5WHBeG8',
+ id: '31Y4IcGEf',
label: i18n.ts.useBlurEffectForModal,
keywords: ['blur', 'modal'],
},
{
- id: 'CWpyT9vLK',
+ id: '78q2asrLS',
label: i18n.ts.showAvatarDecorations,
keywords: ['avatar', 'icon', 'decoration', 'show'],
},
{
- id: '1wwACqQz1',
+ id: 'zydOfGYip',
label: i18n.ts.alwaysConfirmFollow,
keywords: ['follow', 'confirm', 'always'],
},
{
- id: '1x3JNXj8N',
+ id: 'wqpOC22Zm',
label: i18n.ts.highlightSensitiveMedia,
keywords: ['highlight', 'sensitive', 'nsfw', 'image', 'photo', 'picture', 'media', 'thumbnail'],
},
{
- id: 'CfAg0Qekq',
+ id: 'c98gbF9c6',
label: i18n.ts.confirmWhenRevealingSensitiveMedia,
keywords: ['sensitive', 'nsfw', 'media', 'image', 'photo', 'picture', 'attachment', 'confirm'],
},
{
- id: 'aefexW9fD',
+ id: '4LxdiOMNh',
label: i18n.ts.enableAdvancedMfm,
keywords: ['mfm', 'enable', 'show', 'advanced'],
},
{
- id: 'lu9v5Spqg',
+ id: '9gTCaLkIf',
label: i18n.ts.enableInfiniteScroll,
keywords: ['auto', 'load', 'auto', 'more', 'scroll'],
},
{
- id: '6kMj4HVOg',
+ id: 'jmJT0twuJ',
label: i18n.ts.emojiStyle,
keywords: ['emoji', 'style', 'native', 'system', 'fluent', 'twemoji'],
},
{
- id: 'DftdlLbNu',
+ id: 'igFN7RIUa',
label: i18n.ts.pinnedList,
keywords: ['pinned', 'list'],
},
@@ -343,85 +343,85 @@ export const searchIndexes: SearchIndexItem[] = [
keywords: ['general'],
},
{
- id: 'CQldliCSi',
+ id: 'ufc2X9voy',
children: [
{
- id: 'kMB2hPyq3',
+ id: 'd2H4E5ys6',
label: i18n.ts.showFixedPostForm,
keywords: ['post', 'form', 'timeline'],
},
{
- id: 'jC7LtTnmc',
+ id: '1LHOhDKGW',
label: i18n.ts.showFixedPostFormInChannel,
keywords: ['post', 'form', 'timeline', 'channel'],
},
{
- id: 'p2wlrnwLo',
+ id: 'DSzwvTp7i',
label: i18n.ts.collapseRenotes,
keywords: ['renote', i18n.ts.collapseRenotesDescription],
},
{
- id: '6SFn3t8VS',
+ id: 'jb3HUeyrx',
label: i18n.ts.showGapBetweenNotesInTimeline,
keywords: ['note', 'timeline', 'gap'],
},
{
- id: 'nygexkaUk',
+ id: '2LNjwv1cr',
label: i18n.ts.disableStreamingTimeline,
keywords: ['disable', 'streaming', 'timeline'],
},
{
- id: '7vnQgR42v',
+ id: '7W6g8Dcqz',
label: i18n.ts.showNoteActionsOnlyHover,
keywords: ['hover', 'show', 'footer', 'action'],
},
{
- id: 'x5q4XZ7Kv',
+ id: 'uAOoH3LFF',
label: i18n.ts.showClipButtonInNoteFooter,
keywords: ['footer', 'action', 'clip', 'show'],
},
{
- id: 'x9irZWjaF',
+ id: 'eCiyZLC8n',
label: i18n.ts.showReactionsCount,
keywords: ['reaction', 'count', 'show'],
},
{
- id: 'dHPv9mrxi',
+ id: '68u9uRmFP',
label: i18n.ts.confirmOnReact,
keywords: ['reaction', 'confirm'],
},
{
- id: 'bj42W4cvN',
+ id: 'rHWm4sXIe',
label: i18n.ts.loadRawImages,
keywords: ['image', 'photo', 'picture', 'media', 'thumbnail', 'quality', 'raw', 'attachment'],
},
{
- id: 'fzPca1Gk9',
+ id: '9L2XGJw7e',
label: i18n.ts.useReactionPickerForContextMenu,
keywords: ['reaction', 'picker', 'contextmenu', 'open'],
},
{
- id: 'mNU5IBln7',
+ id: 'uIMCIK7kG',
label: i18n.ts.reactionsDisplaySize,
keywords: ['reaction', 'size', 'scale', 'display'],
},
{
- id: 'kYgorbLUy',
+ id: 'uMckjO9bz',
label: i18n.ts.limitWidthOfReaction,
keywords: ['reaction', 'size', 'scale', 'display', 'width', 'limit'],
},
{
- id: 'm75VEWI3S',
+ id: 'yeghU4qiH',
label: i18n.ts.mediaListWithOneImageAppearance,
keywords: ['attachment', 'image', 'photo', 'picture', 'media', 'thumbnail', 'list', 'size', 'height'],
},
{
- id: 'CA42sC9Mx',
+ id: 'yYSOPoAKE',
label: i18n.ts.instanceTicker,
keywords: ['ticker', 'information', 'label', 'instance', 'server', 'host', 'federation'],
},
{
- id: 'knEhibyFp',
+ id: 'iOHiIu32L',
label: i18n.ts.displayOfSensitiveMedia,
keywords: ['attachment', 'image', 'photo', 'picture', 'media', 'thumbnail', 'nsfw', 'sensitive', 'display', 'show', 'hide', 'visibility'],
},
@@ -430,25 +430,25 @@ export const searchIndexes: SearchIndexItem[] = [
keywords: ['timeline', 'note'],
},
{
- id: 'yIR4YP0yU',
+ id: 'eROFRMtXv',
children: [
{
- id: 'cBkUgQNpH',
+ id: 'BaQfrVO82',
label: i18n.ts.keepCw,
keywords: ['remember', 'keep', 'note', 'cw'],
},
{
- id: 'Bv4YywaKL',
+ id: 'vFerPo2he',
label: i18n.ts.rememberNoteVisibility,
keywords: ['remember', 'keep', 'note', 'visibility'],
},
{
- id: 'F3kpUNvSQ',
+ id: 'dcAC0yJcH',
label: i18n.ts.enableQuickAddMfmFunction,
keywords: ['mfm', 'enable', 'show', 'advanced', 'picker', 'form', 'function', 'fn'],
},
{
- id: 'BBxwy4F6E',
+ id: 'bECeWZVMb',
label: i18n.ts.defaultNoteVisibility,
keywords: ['default', 'note', 'visibility'],
},
@@ -457,20 +457,20 @@ export const searchIndexes: SearchIndexItem[] = [
keywords: ['post', 'form'],
},
{
- id: 'e5XnQWk68',
+ id: 'tsSP93Cc6',
children: [
{
- id: 'rOttgccaS',
+ id: 'dtw8FepYL',
label: i18n.ts.useGroupedNotifications,
keywords: ['group'],
},
{
- id: 'Ek4Cw3VPq',
+ id: 'eb0yCYJTn',
label: i18n.ts.position,
keywords: ['position'],
},
{
- id: 'pZLzt3i0s',
+ id: '1Spt4Gpr5',
label: i18n.ts.stackAxis,
keywords: ['stack', 'axis', 'direction'],
},
@@ -479,55 +479,55 @@ export const searchIndexes: SearchIndexItem[] = [
keywords: ['notification'],
},
{
- id: 'c9mbgmHQp',
+ id: 'SYmWxGOF',
label: i18n.ts.dataSaver,
keywords: ['datasaver'],
},
{
- id: '5h8vhCX1S',
+ id: 'vPQPvmntL',
children: [
{
- id: 'bDv03znUy',
+ id: 'zoogNoJEO',
label: i18n.ts.squareAvatars,
keywords: ['avatar', 'icon', 'square'],
},
{
- id: 'nkR2LWURW',
+ id: '7ix3kvMyU',
label: i18n.ts.seasonalScreenEffect,
keywords: ['effect', 'show'],
},
{
- id: 'sCscGhMmH',
+ id: '6RxgjmMLN',
label: i18n.ts.openImageInNewTab,
keywords: ['image', 'photo', 'picture', 'media', 'thumbnail', 'new', 'tab'],
},
{
- id: '4yCgcFElF',
+ id: 'alM3BcFzs',
label: i18n.ts.withRepliesByDefaultForNewlyFollowed,
keywords: ['follow', 'replies'],
},
{
- id: '5iMpm5rES',
+ id: 'yzbghkAq0',
label: i18n.ts.whenServerDisconnected,
keywords: ['server', 'disconnect', 'reconnect', 'reload', 'streaming'],
},
{
- id: 'dlQjnWBVU',
+ id: '4SPd8QhYx',
label: i18n.ts.numberOfPageCache,
keywords: ['cache', 'page'],
},
{
- id: 'qY5xTzl35',
+ id: 'BoNg4LwOq',
label: i18n.ts.forceShowAds,
keywords: ['ad', 'show'],
},
{
- id: '2VSnj81vC',
+ id: 'hgf3rgdA6',
label: i18n.ts.hemisphere,
keywords: [],
},
{
- id: 'vuG3aG3IE',
+ id: 'nnj4DkjhP',
label: i18n.ts.additionalEmojiDictionary,
keywords: ['emoji', 'dictionary', 'additional', 'extra'],
},