summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8dakkar2024-08-304-32/+79
|\
| * fix(frontend): focustrapがzindexを考慮するように (#14431)かっこかり2024-08-181-4/+60
| |
| * fix(frontend): リノートの判定が甘いのを修正 (#14396)かっこかり2024-08-172-26/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(frontend): リノートの判定が甘いのを修正 * fix * Update Changelog * fix * use type assertion * fix + add comments * lint * misskey-jsに移動 * PureRenote -> Renote * isRenote -> isPureRenote
| * fix(backend): check visibility of following/followers of remote users / ↵Daiki Mizukami2024-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feat: moderators can see following/followers of all users (#14375) * fix(backend): check visibility of following/followers of remote users Resolves https://github.com/misskey-dev/misskey/issues/13362. * test(backend): add tests for visibility of following/followers of remote users * docs(changelog): update CHANGELOG.md * feat: moderators can see following/followers of all users * docs(changelog): update CHANGELOG.md * refactor(backend): minor refactoring `createPerson`と`if`の条件を統一するとともに、異常系の 処理をearly returnに追い出すための変更。 * feat(backend): moderators can see following/followers count of all users As per https://github.com/misskey-dev/misskey/pull/14375#issuecomment-2275044908.
* | a few more fixes to `os.popup` callsdakkar2024-08-141-2/+3
| |
* | remove useless semicolondakkar2024-08-061-1/+1
| |
* | Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07dakkar2024-08-0221-249/+524
|\|
| * fix(frontend): ↵かっこかり2024-07-301-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ドライブの音声が再生できない場合の処理を追加 (#14073) * fix(frontend): ドライブの音声が再生できない場合の処理を追加 * Update Changelog * fix lint * Update packages/frontend/src/scripts/sound.ts * lint * Update sound.ts * fix merge mistakes * use shorthand operator --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * フォロー中のユーザーに関する"TLに他の人への返信を含 ↵anatawa122024-07-301-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | る"の設定が分かりづらい問題を修正 (#13895) * chore: improve withReplies toggle for user following * chore: improve withReplies toggle for list * docs(changelog): フォロー中のユーザーに関する"TLに他の人への返信を含める"の設定が分かりづらい問題を修正 * Fix CHANGELOG.md * docs(changelog): update insertion position --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
| * 検索からハッシュタグのページが開けるように、users/sear ↵Sayamame-beans2024-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chに`@`から始まる文字列が与えられた際の処理を修正 等 (#13858) * enhance(frontend): 検索からハッシュタグのページを開けるように * fix(frontend): 照会で入力が`#`のみの場合は`/tags/`に遷移しないように * docs(changelog): update changelog * enhance(frontend): ユーザー検索からもハッシュタグのページを開けるように * docs(changelog): update changelog * enhance(frontend): 検索範囲等が指定されている時は照会/ハッシュタグページを開かないように * enhance(frontend): 検索内容に空白が含まれている場合は照会/ハッシュタグページを開かないように * docs(changelog): update changelog * Revert "enhance(frontend): 検索範囲等が指定されている時は照会/ハッシュタグページを開かないように" This reverts commit f84eecea964b90e9b115eac19ed6f19a603a6bbc. * enhance(frontend): 検索から照会/ハッシュタグページを開くかどうか確認するように * docs(changelog): update changelog * chore: fix lint * docs(changelog): update changelog insertion position * enhance(frontend): 検索から`@user@host`の形式で照会出来るように * fix(frontend): 照会で入力が`@`のみの場合に`/@`に遷移しないように * fix(backend): `users/search`において`@`から始まるqueryに対する処理が正しくなかった問題を修正 * docs(changelog): update changelog * chore(backend): fix lint error * fix(backend): more improvements for users/search when query startswith `@` * chore: unify common conditions * docs(changelog): refine changelog * chore(backend): fix lint error * MkInputをpreventに対応させ、enterの意図せぬ伝搬を防ぐ * chore(frontend/search.user): use .prevent to prevent the propagation of enter instead of setTimeout --------- Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: taichanne30 <dev@taichan.site>
| * feat: このユーザーのノートを検索, ↵taichan2024-07-302-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | クエリに基づく検索の初期値 & ノート検索のUI改善 (#14128) * refactor(frontend): noteSearchAvailableをaccountsに移動 * feat: searchページでのクエリの受取りとtypeによる表示タブの変更 * user検索でsearchの親から受け取った値を基に入力値を初期化 * feat(frontend): ノート検索で親(search)からの情報を基にユーザー情報を取得 * feat(frontend): ユーザーのノートを検索するページに遷移するボタン * feat(frontend): ノート検索にホスト名指定のオプション追加 also :art: * style: ただ照会部分を囲っただけ(可読性確保のために) * refactor: remove unneed import defineProps and withDefaults are compiler micro when using `<script setup>` FYI: https://vuejs.org/api/sfc-script-setup.html#defineprops-defineemits:~:text=defineProps%20and%20defineEmits%20are%20compiler%20macros%20only%20usable%20inside%20%3Cscript%20setup%3E.%20They%20do%20not%20need%20to%20be%20imported%2C%20and%20are%20compiled%20away%20when%20%3Cscript%20setup%3E%20is%20processed. * Update CHANGELOG * Fix: ノート検索の初期値が常にホスト指定になってしまう * notesSearchAvailableをaccountに持たせるのをやめる * SDPX-Licence-Identifier * Fix: Vitest fails due to instance.policies being undefined * Add Storybook for search * Fix(storybook): ノート検索が利用できないと出てしまう問題 * storybookでユーザー選択ができないのを修正 * feat: ノート検索で自分を選択可能に & :art: * feat(background): api/metaで検索可能なノートのスコープを参照できるように * globalのノートが検索不可能な場合、検索オプションを表示しないように * Update CHANGELOG.md * config.meilisearch.scopeがstring[]を取ることがあるので修正 * meilisearchを利用かつscopeがlocalの場合、リモートユーザーのメニューで「このユーザーのノートを検索」を出さないように * hostが空文字の時の挙動を修正 * ローカルのみしかノートがインデックスされていない場合、リモートユーザーも選択できなくした
| * enhance(frontend): ↵かっこかり2024-07-301-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ドライブのファイル・フォルダをドラッグしなくても移動できるように (#14318) * feat(drive): ファイルをフォルダに移動するメニューを実装 (cherry picked from commit b89c2af6945c6a9f9f10e83f54d2bcf0f240b0b4) * tweak ui * Update Changelog * ファイル詳細からも移動できるように * feat(drive) フォルダのネストを移動するメニューを実装 (cherry picked from commit 8a7d710c6acb83f50c83f050bd1423c764d60a99) * Update Changelog * Update Changelog * lint * tweak ui --------- Co-authored-by: nafu-at <satsuki@nafusoft.dev> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * enhance(frontend): ↵かっこかり2024-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | デッキのアンテナ・リスト選択画面からそれぞれを新規作成できるように (#14104) * enhance(frontend): デッキのアンテナ・リスト選択画面からそれぞれを新規作成できるように * Update Changelog * fix * fix * lint * add story * typo ねぼけていた * Update antenna-column.vue --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * fix: deck uiの通知音が重なる問題 (#14029)anatawa122024-07-281-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: deck uiの通知音が重なる * docs: Fix: deck uiの通知音が重なる問題 * unexport internal function * fix Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> * chore: improve condition * docs: move js dco comment --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * fix(frontend): Twitchの埋め込みが開けない問題を修正 (#14247)かっこかり2024-07-181-0/+26
| | | | | | | | | | | | | | * fix(frontend): twitchの埋め込みが開けない問題を修正 * Update Changelog * fix test
| * refactor(frontend): Improve typing (#14240)woxtu2024-07-181-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve typing * Remove redundant promise * Refactor * Update packages/frontend/src/scripts/mfm-function-picker.ts Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> * Update packages/frontend/src/scripts/mfm-function-picker.ts Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
| * chore: Use clipboard API directly (#14227)Chocolate Pie2024-07-174-32/+5
| | | | | | | | | | * chore: Use clipboard API directly * fix: Fix lint
| * fix(frontend): follow-up of #13089 (#14206)かっこかり2024-07-142-3/+28
| | | | | | | | | | | | | | | | | | * fix(frontend): #13089 を修正 * fix * 正規表現を強化 * fix
| * enhance: 非ログイン時には別サーバーに遷移できるように ↵かっこかり2024-07-143-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#13089) * enhance: 非ログイン時にはMisskey Hub経由で別サーバーに遷移できるように * fix * サーバーサイド照会を削除 * クライアント側の照会動作 * hubを経由せずにリモートで続行できるように * fix と pleaseLogin誘導箇所の追加 * fix * fix * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * fix(frontend): ↵かっこかり2024-07-131-0/+1
| | | | | | | | ホットキーのレートリミットがallowRepeatを考慮しない問題を修正 (#14192)
| * fix(frontend): すでにfocus ↵かっこかり2024-07-131-5/+18
| | | | | | | | | | | | | | | | | | trap対象の要素にinertがかかっている場合は解除するように (#14189) * fix(frontend): すでにfocus trap対象の要素にinertがかかっている場合は解除するように * 他のfocus-trapped要素とのインタラクションがある場合の動作を変更 * typo
| * fix(frontend): フォーカスの挙動を修正 (#14158)かっこかり2024-07-125-30/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(frontend): 直前のパターンを記録するように * fix(frontend): フォーカス/タブ移動に関する挙動を調整 (#226) Cherry-pick commit e8c030673326871edf3623cf2b8675d68f9e1b13 Co-authored-by: taiyme <53635909+taiyme@users.noreply.github.com> * focusのデザイン修正 * move scripts * Modalにfocus trapを追加 * 記録するホットキーはレートリミット式にする * escキーのハンドリングをMkModalに統一 * fix * enterで子メニューを開けるように * lint * fix focus trap * improve switch accessibility * 一部のmodalのフォーカストラップが外れない問題を修正 * fix * fix * Revert "記録するホットキーはレートリミット式にする" This reverts commit 40a7509286a87911ad4cc06d9482e8a2e5d0e7e8. * Revert "fix(frontend): 直前のパターンを記録するように" This reverts commit 5372b2594023952cff34aa62253ed4efef15b5dd. * Revert "Revert "fix(frontend): 直前のパターンを記録するように"" This reverts commit a9bb52e799e110927ad92cd8f26af980819334e1. * Revert "Revert "記録するホットキーはレートリミット式にする"" This reverts commit bdac34273e0bc5f13604c7e2f9fa6b1321a0df3d. * 試験的にCypressでのFocustrapを無効化 * fix * fix focus-trap * Update Changelog * :v: * fix focustrap invocation logic * スクロールがsticky headerを考慮するように * :art: * スタイルの微調整 * :art: * remove deprecated key aliases * focusElementが足りなかったので修正 * preview系にfocus時スタイルが足りなかったので修正 * `returnFocusElement` -> `returnFocusTo` * lint * Update packages/frontend/src/components/MkModalWindow.vue * Apply suggestions from code review Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com> * keydownイベントをまとめる * use correct pesudo-element selector * fix * rename --------- Co-authored-by: taiyme <53635909+taiyme@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * enhance(frontend): 未使用のサウンド設定を削除 (#14116)かっこかり2024-07-111-2/+0
| | | | | | | | | | | | | | * enhance(frontend): 未使用のサウンド設定を削除 * Update Changelog * Update CHANGELOG.md
| * fix/refactor(frontend): hotkeyの改修 (#14157)かっこかり2024-07-092-89/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improve(frontend): hotkeyの改修 (#234) (cherry picked from commit 678be147f4db709dadf25d007cc2e679e98a370e) * Change path, add missing script Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com> * fix * fix * add missing keycodes * fix * update changelog --------- Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
| * refactor(frontend): refactor popup api and make sure call dispose callbacksyuilo2024-07-046-20/+29
| | | | | | | | Close #14122
| * fix(storybook): prevent infinite remount of component (#14101)zyoshoka2024-07-021-10/+0
| | | | | | | | | | * fix(storybook): prevent infinite remount of component * fix: disable flaky `.toMatch()` test
| * refactor: say bye to the weird groupBy friends (#13975)Kisaragi2024-06-221-38/+0
| | | | | | | | | | * refactor(frontend): say bye to the weird groupBy friends * refactor(backend): say bye to the weird groupBy friends
| * test(#10336): add `components/MkC.*` stories (#13830)zyoshoka2024-06-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test(storybook): add `components/MkC.*` stories * test(storybook): add some tests * test: add sleep * test: comment-out flaky test * test(storybook): add test for `MkChannelFollowButton` * chore(storybook): tweak sleep duration in `MkChannelFollowButton` story test * fix(chromatic): add delay to `MkChannelList` * chore: replace `mswDecorator` with `mswLoader` * fix(storybook): tweak some parameters * chore: serve static files * fix(chromatic): add delay to `MkCwButton` * chore: delete logging for debug * fix: add right click in `MkContextMenu` play * refactor: remove unused imports
* | replaced many more ti-*dakkar2024-06-221-7/+7
| |
* | replaced more ti-*dakkar2024-06-222-7/+7
| |
* | replaced tool pencil bell refreshdakkar2024-06-221-2/+2
| |
* | replaced a bunch of ti-*dakkar2024-06-223-15/+15
| |
* | fix eye-closed → ti-eye-exclamationdakkar2024-06-221-1/+1
| | | | | | | | | | we use eye-slash for sensitive, only in a few places we used eye-closed and I think we shouldn't
* | replaced ti-rocket ti-repeat ti-repeat-offdakkar2024-06-222-4/+4
| |
* | replaced ti-external-linkdakkar2024-06-221-2/+2
| |
* | replaced ti-file*dakkar2024-06-221-1/+1
| | | | | | | | and some simplification
* | replaced ti-uploaddakkar2024-06-221-1/+1
| |
* | replaced ti-clouddakkar2024-06-221-1/+1
| |
* | replaced ti-iddakkar2024-06-223-3/+3
| |
* | replaced ti-trashdakkar2024-06-222-2/+2
| |
* | replaced ti-formsdakkar2024-06-221-1/+1
| |
* | replaced ti-copydakkar2024-06-221-2/+2
| |
* | replaced ti-device-tvdakkar2024-06-221-1/+1
| |
* | replaced ti-info-circledakkar2024-06-221-2/+2
| |
* | replaced ti-exclamation-circle and ti-user-exclamationdakkar2024-06-222-3/+3
| |
* | replaced ti-eye-offdakkar2024-06-221-1/+1
| |
* | replaced ti-eyedakkar2024-06-222-2/+2
| |
* | replaced ti-stardakkar2024-06-221-1/+1
| |
* | replaced ti-linkdakkar2024-06-223-3/+3
| |
* | replaced ti-pindakkar2024-06-221-2/+2
| |