mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-30 03:52:15 +09:00
fix(frontend): クライアント起動時にURLに #pswp がある場合は取り除くように (#15339)
Some checks failed
Check copyright year / check_copyright_year (push) Has been cancelled
Check SPDX-License-Identifier / check-spdx-license-id (push) Has been cancelled
Publish Docker image (develop) / Build (linux/amd64) (push) Has been cancelled
Publish Docker image (develop) / Build (linux/arm64) (push) Has been cancelled
Dockle / dockle (push) Has been cancelled
Lint / pnpm_install (push) Has been cancelled
Release Manager: sync changelog with PR / edit (push) Has been cancelled
Storybook / build (push) Has been cancelled
Test (backend) / Unit tests (backend) (22.11.0) (push) Has been cancelled
Test (backend) / E2E tests (backend) (22.11.0) (push) Has been cancelled
Test (federation) / Federation test (22.11.0) (push) Has been cancelled
Test (frontend) / Unit tests (frontend) (22.11.0) (push) Has been cancelled
Test (frontend) / E2E tests (frontend) (chrome, 22.11.0) (push) Has been cancelled
Test (production install and build) / Production build (22.11.0) (push) Has been cancelled
api.json validation / validate-api-json (22.11.0) (push) Has been cancelled
Publish Docker image (develop) / merge (push) Has been cancelled
Lint / lint (backend) (push) Has been cancelled
Lint / lint (frontend) (push) Has been cancelled
Lint / lint (frontend-embed) (push) Has been cancelled
Lint / lint (frontend-shared) (push) Has been cancelled
Lint / lint (misskey-bubble-game) (push) Has been cancelled
Lint / lint (misskey-js) (push) Has been cancelled
Lint / lint (misskey-reversi) (push) Has been cancelled
Lint / lint (sw) (push) Has been cancelled
Lint / typecheck (backend) (push) Has been cancelled
Lint / typecheck (misskey-js) (push) Has been cancelled
Lint / typecheck (sw) (push) Has been cancelled
Some checks failed
Check copyright year / check_copyright_year (push) Has been cancelled
Check SPDX-License-Identifier / check-spdx-license-id (push) Has been cancelled
Publish Docker image (develop) / Build (linux/amd64) (push) Has been cancelled
Publish Docker image (develop) / Build (linux/arm64) (push) Has been cancelled
Dockle / dockle (push) Has been cancelled
Lint / pnpm_install (push) Has been cancelled
Release Manager: sync changelog with PR / edit (push) Has been cancelled
Storybook / build (push) Has been cancelled
Test (backend) / Unit tests (backend) (22.11.0) (push) Has been cancelled
Test (backend) / E2E tests (backend) (22.11.0) (push) Has been cancelled
Test (federation) / Federation test (22.11.0) (push) Has been cancelled
Test (frontend) / Unit tests (frontend) (22.11.0) (push) Has been cancelled
Test (frontend) / E2E tests (frontend) (chrome, 22.11.0) (push) Has been cancelled
Test (production install and build) / Production build (22.11.0) (push) Has been cancelled
api.json validation / validate-api-json (22.11.0) (push) Has been cancelled
Publish Docker image (develop) / merge (push) Has been cancelled
Lint / lint (backend) (push) Has been cancelled
Lint / lint (frontend) (push) Has been cancelled
Lint / lint (frontend-embed) (push) Has been cancelled
Lint / lint (frontend-shared) (push) Has been cancelled
Lint / lint (misskey-bubble-game) (push) Has been cancelled
Lint / lint (misskey-js) (push) Has been cancelled
Lint / lint (misskey-reversi) (push) Has been cancelled
Lint / lint (sw) (push) Has been cancelled
Lint / typecheck (backend) (push) Has been cancelled
Lint / typecheck (misskey-js) (push) Has been cancelled
Lint / typecheck (sw) (push) Has been cancelled
* fix(frontend): クライアント起動時にURLに #pswp がある場合は取り除くように * Update Changelog
This commit is contained in:
parent
35104d87d5
commit
8f37fb6713
@ -46,6 +46,7 @@
|
|||||||
(Cherry-picked from https://github.com/yojo-art/cherrypick/pull/153)
|
(Cherry-picked from https://github.com/yojo-art/cherrypick/pull/153)
|
||||||
- Fix: 非ログイン時のサーバー概要画面のメニューボタンが押せないことがあるのを修正
|
- Fix: 非ログイン時のサーバー概要画面のメニューボタンが押せないことがあるのを修正
|
||||||
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/656)
|
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/656)
|
||||||
|
- Fix: URLにはじめから`#pswp`が含まれている場合に画像ビューワーがブラウザの戻るボタンで閉じられない問題を修正
|
||||||
|
|
||||||
### Server
|
### Server
|
||||||
- Enhance: pg_bigmが利用できるよう、ノートの検索をILIKE演算子でなくLIKE演算子でLOWER()をかけたテキストに対して行うように
|
- Enhance: pg_bigmが利用できるよう、ノートの検索をILIKE演算子でなくLIKE演算子でLOWER()をかけたテキストに対して行うように
|
||||||
|
@ -98,6 +98,11 @@ export async function common(createVue: () => App<Element>) {
|
|||||||
// タッチデバイスでCSSの:hoverを機能させる
|
// タッチデバイスでCSSの:hoverを機能させる
|
||||||
document.addEventListener('touchend', () => {}, { passive: true });
|
document.addEventListener('touchend', () => {}, { passive: true });
|
||||||
|
|
||||||
|
// URLに#pswpを含む場合は取り除く
|
||||||
|
if (location.hash === '#pswp') {
|
||||||
|
history.replaceState(null, '', location.href.replace('#pswp', ''));
|
||||||
|
}
|
||||||
|
|
||||||
// 一斉リロード
|
// 一斉リロード
|
||||||
reloadChannel.addEventListener('message', path => {
|
reloadChannel.addEventListener('message', path => {
|
||||||
if (path !== null) location.href = path;
|
if (path !== null) location.href = path;
|
||||||
|
Loading…
Reference in New Issue
Block a user