Skip to content

Commit 0214a00

Browse files
syuilotai-chakakkokari-gtyih
authored
feat(frontend): 設定の検索 (#15505)
* wip * wip * wip * test * wip rollup pluginでsearchIndexの情報生成 * wip * SPDX * wip: markerIdを自動付与 * rollupでビルド時・devモード時に毎回uuidを生成するように * 開発サーバーでだけ必要な挙動は開発サーバーのみで * 条件が逆 * wip: childrenの生成 * update comment * update comment * rename auto generated file * hashをパスと行数から決定 * Update privacy.vue * Update privacy.vue * wip * Update general.vue * Update general.vue * wip * wip * Update SearchMarker.vue * wip * Update profile.vue * Update mute-block.vue * Update mute-block.vue * Update general.vue * Update general.vue * childrenがduplicate key errorを吐く問題をいったん解決 * マーカーの形を成形 * loggerを置きかえ * とりあえず省略記法に対応 * Refactor and Format codes * wip * Update settings-search-index.ts * wip * wip * とりあえず不確定要因の仮置きidを削除 * hashの生成を正規化(絶対パスになっていたのを緩和) * pathの入力を省略可能に * adminでもパス生成できるように * Update settings-search-index.ts * Update privacy.vue * wip * build searchIndex * wip * build * Update general.vue * build * Update sounds.vue * build * build * Update sounds.vue * 🎨 * 🎨 * Update privacy.vue * Update privacy.vue * Update security.vue * create-search-indexを多少改善 * build * Update 2fa.vue * wip * 必ずtransformCodeCacheを利用するように, キャッシュの明確な受け渡しを定義 * キャッシュはdevServerでなくても更新 * Revert "wip" This reverts commit 41bffd3. * inlining * wip * Update theme.vue * 🎨 * wip normalize * Update theme.vue * キャッシュのパス変換 * build * wip * wip * Update SearchMarker.vue * i18n.ts['key'] の形式が取り出せない問題のFix * build * 仮でpath入れ * 必ず絶対パスが使われるように * wip * 🎨 * storybookビルド時はcreateSearchIndexをしない * inliningの構造化 * format code * Update index.vue * wip * wip * 🎨 * wip * wip * wip * wip * wip * wip * wip * wip * clean up * Update navbar.vue * enhance: 検索で上下矢印を使用することで検索結果を移動できるように * refactor * fix(frontend): PageWindowでSearchMarkerが動作するように * enhance(frontend): SearchMarkerの点滅を一定時間で止める * lint fix * fix: 子要素監視が抜けていたのを修正 * アニメーションの回数はCSSで制御するように * refactor * enhance(frontend): 検索インデックス作成時のログを削減 * revert * fix * fix --------- Co-authored-by: tai-cha <[email protected]> Co-authored-by: taichan <[email protected]> Co-authored-by: kakkokari-gtyih <[email protected]>
1 parent 46067f6 commit 0214a00

36 files changed

+4757
-1453
lines changed

locales/index.d.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -4971,7 +4971,7 @@ export interface Locale extends ILocale {
49714971
*/
49724972
"disableStreamingTimeline": string;
49734973
/**
4974-
* 通知をグルーピングして表示する
4974+
* 通知をグルーピング
49754975
*/
49764976
"useGroupedNotifications": string;
49774977
/**
@@ -5270,6 +5270,14 @@ export interface Locale extends ILocale {
52705270
* このメディアのセンシティブ指定を解除しますか?
52715271
*/
52725272
"unmarkAsSensitiveConfirm": string;
5273+
/**
5274+
* 環境設定
5275+
*/
5276+
"preferences": string;
5277+
/**
5278+
* アクセシビリティ
5279+
*/
5280+
"accessibility": string;
52735281
"_accountSettings": {
52745282
/**
52755283
* コンテンツの表示にログインを必須にする

locales/ja-JP.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ releaseToRefresh: "離してリロード"
12381238
refreshing: "リロード中"
12391239
pullDownToRefresh: "引っ張ってリロード"
12401240
disableStreamingTimeline: "タイムラインのリアルタイム更新を無効にする"
1241-
useGroupedNotifications: "通知をグルーピングして表示する"
1241+
useGroupedNotifications: "通知をグルーピング"
12421242
signupPendingError: "メールアドレスの確認中に問題が発生しました。リンクの有効期限が切れている可能性があります。"
12431243
cwNotationRequired: "「内容を隠す」がオンの場合は注釈の記述が必要です。"
12441244
doReaction: "リアクションする"
@@ -1313,6 +1313,8 @@ confirmOnReact: "リアクションする際に確認する"
13131313
reactAreYouSure: "\" {emoji} \" をリアクションしますか?"
13141314
markAsSensitiveConfirm: "このメディアをセンシティブとして設定しますか?"
13151315
unmarkAsSensitiveConfirm: "このメディアのセンシティブ指定を解除しますか?"
1316+
preferences: "環境設定"
1317+
accessibility: "アクセシビリティ"
13161318

13171319
_accountSettings:
13181320
requireSigninToViewContents: "コンテンツの表示にログインを必須にする"

packages/frontend/.storybook/main.ts

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ const config = {
3939
if (~replacePluginForIsChromatic) {
4040
config.plugins?.splice(replacePluginForIsChromatic, 1);
4141
}
42+
43+
//pluginsからcreateSearchIndexを削除、複数あるかもしれないので全て削除
44+
config.plugins = config.plugins?.filter((plugin: Plugin) => plugin && plugin.name !== 'createSearchIndex') ?? [];
45+
4246
return mergeConfig(config, {
4347
plugins: [
4448
{

0 commit comments

Comments
 (0)