Skip to content

Commit 5dc6653

Browse files
syuilotai-chakakkokari-gtyih
authored andcommitted
feat(frontend): 設定の検索 (misskey-dev#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 <dev@taichan.site> Co-authored-by: taichan <40626578+tai-cha@users.noreply.github.com> Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
1 parent 16b2168 commit 5dc6653

36 files changed

+4757
-1453
lines changed

locales/index.d.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -4983,7 +4983,7 @@ export interface Locale extends ILocale {
49834983
*/
49844984
"disableStreamingTimeline": string;
49854985
/**
4986-
* 通知をグルーピングして表示する
4986+
* 通知をグルーピング
49874987
*/
49884988
"useGroupedNotifications": string;
49894989
/**
@@ -5282,6 +5282,14 @@ export interface Locale extends ILocale {
52825282
* このメディアのセンシティブ指定を解除しますか?
52835283
*/
52845284
"unmarkAsSensitiveConfirm": string;
5285+
/**
5286+
* 環境設定
5287+
*/
5288+
"preferences": string;
5289+
/**
5290+
* アクセシビリティ
5291+
*/
5292+
"accessibility": string;
52855293
"_accountSettings": {
52865294
/**
52875295
* コンテンツの表示にログインを必須にする

locales/ja-JP.yml

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

13201322
_accountSettings:
13211323
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)