paricafe/packages/frontend/src/scripts
かっこかり 385969e9f5
fix(frontend): フォーカスの挙動を修正 (#14158)
* 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

* ✌️

* fix focustrap invocation logic

* スクロールがsticky headerを考慮するように

* 🎨

* スタイルの微調整

* 🎨

* 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>
2024-07-12 16:25:44 +09:00
..
aiscript enhance(frontend_ais): PostForm系の設定項目を追加 (#13788) 2024-05-04 13:21:40 +09:00
upload (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
achievements.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
admin-lookup.ts Quick action implement (#13878) 2024-05-27 17:21:05 +09:00
array.ts refactor: say bye to the weird groupBy friends (#13975) 2024-06-22 19:40:55 +09:00
autocomplete.ts Fix(frontend): オートコンプリートが出るべき状況で出ないことがあるのを修正 (#13376) 2024-02-19 08:36:06 +09:00
cache.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
chart-legend.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
chart-vline.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
check-reaction-permissions.ts chore: add missing SPDX ID and workflow check (#13570) 2024-03-13 22:37:18 +09:00
check-word-mute.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
clear-cache.ts chore: add missing SPDX ID and workflow check (#13570) 2024-03-13 22:37:18 +09:00
clicker-game.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
clone.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
code-highlighter.ts fix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)から取るようにする (#13598) 2024-03-20 10:30:45 +09:00
collapsed.ts fix(frontend): ノートにテキストがなくてもファイルが5つ以上あるときは折りたたむように (#13907) 2024-05-30 17:36:58 +09:00
collect-page-vars.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
color.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
confetti.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
contains.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
copy-to-clipboard.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
device-kind.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
emoji-base.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
emoji-picker.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
emojilist.ts fix(frontend): ピン留め or 履歴に表示されるカスタム絵文字がサーバから削除されるとリアクションが出来なくなる (#13486) 2024-03-02 13:28:10 +09:00
extract-avg-color-from-blurhash.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
extract-mentions.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
extract-url-from-mfm.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
focus-trap.ts fix(frontend): フォーカスの挙動を修正 (#14158) 2024-07-12 16:25:44 +09:00
focus.ts fix(frontend): フォーカスの挙動を修正 (#14158) 2024-07-12 16:25:44 +09:00
form.ts 新着ノートをサウンドで通知する機能をdeck UIに追加 (#13867) 2024-05-27 20:54:53 +09:00
format-time-string.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
gen-search-query.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
get-account-from-id.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
get-dom-node-or-null.ts fix(frontend): フォーカスの挙動を修正 (#14158) 2024-07-12 16:25:44 +09:00
get-drive-file-menu.ts refactor(frontend): refactor popup api and make sure call dispose callback 2024-07-04 13:14:49 +09:00
get-note-menu.ts refactor(frontend): refactor popup api and make sure call dispose callback 2024-07-04 13:14:49 +09:00
get-note-summary.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
get-user-menu.ts refactor(frontend): refactor popup api and make sure call dispose callback 2024-07-04 13:14:49 +09:00
get-user-name.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
hotkey.ts fix(frontend): フォーカスの挙動を修正 (#14158) 2024-07-12 16:25:44 +09:00
i18n.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
idb-proxy.ts test: do not use indexedDB in cypress environment due to chrome bug (#13709) 2024-04-14 08:08:26 +09:00
idle-render.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
init-chart.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
initialize-sw.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
install-plugin.ts refactor(frontend): refactor popup api and make sure call dispose callback 2024-07-04 13:14:49 +09:00
install-theme.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
intl-const.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
is-device-darkmode.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
isFfVisibleForMe.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
langmap.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
login-id.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
lookup.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
media-has-audio.ts chore: add missing SPDX ID and workflow check (#13570) 2024-03-13 22:37:18 +09:00
media-proxy.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
merge.ts fix(frontend): vue v3.4.16以降でタイムラインが正常に表示できない問題を修正 (#13248) 2024-02-16 15:39:48 +09:00
mfm-function-picker.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
misskey-api.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
navigator.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
nyaize.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
page-metadata.ts fix(frontend/pageMetadata): ページタイトルが更新されない問題 (#13289) 2024-02-16 16:17:09 +09:00
physics.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
please-login.ts refactor(frontend): refactor popup api and make sure call dispose callback 2024-07-04 13:14:49 +09:00
popout.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
popup-position.ts refactor(frontend): use scrollX or scrollY (#13645) 2024-04-01 20:44:24 +09:00
post-message.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
reaction-picker.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
safe-parse.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
safe-uri-decode.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
scroll.ts fix(frontend): フォーカスの挙動を修正 (#14158) 2024-07-12 16:25:44 +09:00
search-emoji.ts add missing license headers 2024-03-01 17:28:46 +09:00
select-file.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
show-moved-dialog.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
show-suspended-dialog.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
shuffle.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
snowfall-effect.ts fix(frontend): WebGL2コンテキストの初期化に失敗するとMisskeyが起動できなくなる問題を修正 (#13587) 2024-03-17 20:33:33 +09:00
sound.ts enhance(frontend): 未使用のサウンド設定を削除 (#14116) 2024-07-11 18:44:18 +09:00
sticky-sidebar.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
test-utils.ts fix(storybook): prevent infinite remount of component (#14101) 2024-07-02 10:57:20 +09:00
theme-editor.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
theme.ts fix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)から取るようにする (#13598) 2024-03-20 10:30:45 +09:00
time.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
timezones.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
touch.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
unison-reload.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
upload.ts feat(frontend): アップロードするファイルの名前をランダム文字列にできるように (#13688) 2024-04-13 12:51:37 +09:00
url.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
use-chart-tooltip.ts refactor(frontend): refactor popup api and make sure call dispose callback 2024-07-04 13:14:49 +09:00
use-document-visibility.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
use-interval.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
use-leave-guard.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
use-note-capture.ts enhance(frontend): リアクションの総数を表示するように (#13532) 2024-03-06 21:08:42 +09:00
use-tooltip.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
worker-multi-dispatch.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00