diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2025-01-14 20:08:54 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 11:08:54 +0000 |
| commit | 5445b023e5cedb7228710637c895c63328e3db74 (patch) | |
| tree | 3650b2dc0f7eb9a2745bb7a74fc735acc34099df /packages/frontend/src/widgets | |
| parent | feat(frontend): Botプロテクションの設定変更時は実際に検証... (diff) | |
| download | misskey-5445b023e5cedb7228710637c895c63328e3db74.tar.gz misskey-5445b023e5cedb7228710637c895c63328e3db74.tar.bz2 misskey-5445b023e5cedb7228710637c895c63328e3db74.zip | |
enhance: 連合モードにあわせてフロントエンドを変化させるように (#15112)
* enhance(backend): metaにfederation modeに関する情報を公開
* enhance(frontend): 登録画面の注意書きを追加
* enhance(frontend): aboutページ・サーバー情報
* enhance(frontend): サーバー統計
* enhance(frontend): みつけるページ
* enhance(frontend): 検索
* enhance(frontend): ユーザー選択
* enhance(frontend): 設定画面
* enhance(frontend): ウィジェット
* enhance(frontend): リモートで開くオプション
* Update Changelog
* enhance(frontend): ステータスバー
* i18n
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/widgets')
| -rw-r--r-- | packages/frontend/src/widgets/index.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/frontend/src/widgets/index.ts b/packages/frontend/src/widgets/index.ts index e269fcf9eb..c5be25e7df 100644 --- a/packages/frontend/src/widgets/index.ts +++ b/packages/frontend/src/widgets/index.ts @@ -36,6 +36,12 @@ export default function(app: App) { app.component('WidgetBirthdayFollowings', defineAsyncComponent(() => import('./WidgetBirthdayFollowings.vue'))); } +// 連合関連のウィジェット(連合無効時に隠す) +export const federationWidgets = [ + 'federation', + 'instanceCloud', +]; + export const widgets = [ 'profile', 'instanceInfo', @@ -51,8 +57,6 @@ export const widgets = [ 'photos', 'digitalClock', 'unixClock', - 'federation', - 'instanceCloud', 'postForm', 'slideshow', 'serverMetric', @@ -65,4 +69,6 @@ export const widgets = [ 'userList', 'clicker', 'birthdayFollowings', + + ...federationWidgets, ]; |