Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

コントロールパネルのヘッダに表示されるタイトルが全て「コントロールパネル」になっている #13450

Open
1 task
tai-cha opened this issue Feb 24, 2024 · 6 comments
Assignees
Labels
🐛Bug Unexpected behavior

Comments

@tai-cha
Copy link
Contributor

tai-cha commented Feb 24, 2024

💡 Summary

コントロールパネルのうち、ヘッダーが表示されるページ(例: admin/users)のタイトルが「コントロールパネル」になってしまっている

ユーザーページだと「コントロールパネル」の名前が長いのでスマホで見ると照会のボタンが右に溢れている

🥰 Expected Behavior

コントロールパネルの各ページの正しいタイトルがヘッダーに表示される

🤬 Actual Behavior

コントロールパネルのヘッダーに表示される各ページのタイトルが「コントロールパネル」になる

📝 Steps to Reproduce

  1. 管理者アカウントでログイン
  2. コントロールパネルを開く
  3. ユーザーを押す
    (2. 3. は省略して直接 admin/users に遷移しても同じく再現する)

💻 Frontend Environment

* Model and OS of the device(s): iPadOS 17.3.1, Android 13 (A204So Build/64.1.E.U.199)
* Browser: Safari (iPadOS), Chrome 120.0.6099.145
* Server URL:
* Misskey: 2024.2.0

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey: 2024.2.0
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@tai-cha tai-cha added ⚠️bug? This might be a bug 🐛Bug Unexpected behavior and removed ⚠️bug? This might be a bug labels Feb 24, 2024
@tai-cha
Copy link
Contributor Author

tai-cha commented Feb 24, 2024

2023.12.0まではページ名が出ていたので

#13289

この辺りが怪しいのではないかと踏んでいる

@tai-cha tai-cha changed the title コントロールパネルの各ページタイトルが全て「コントロールパネル」になっている コントロールパネルのヘッダに表示されるタイトルが全て「コントロールパネル」になっている Feb 24, 2024
@tai-cha
Copy link
Contributor Author

tai-cha commented Feb 24, 2024

具体的に原因調査しようと思ったけど自分では力量不足だった

@taiyme
Copy link
Contributor

taiyme commented Feb 28, 2024

provideReactiveMetadata(INFO);

↑この部分を

provideReactiveMetadata(() => childInfo.value ?? INFO.value);

こう変更すれば治りそうな気がする(外出しているのでまだ確認できてません)

INFO.value.needWideArea = info.needWideArea ?? undefined;

↑この行は不要になりそう?

@taiyme
Copy link
Contributor

taiyme commented Feb 28, 2024

アサインして頂ければこちらでPR作成します

@tai-cha
Copy link
Contributor Author

tai-cha commented Feb 28, 2024

@taiyme アサイン致しました。よろしくお願いいたします!

@taiyme
Copy link
Contributor

taiyme commented Mar 5, 2024

@tai-cha お待たせしました!PR作成しました

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Unexpected behavior
Projects
Status: Triage
2 participants