diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index d333ac29d..01d001688 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -864,6 +864,8 @@ numberOfPageCache: "ページキャッシュ数" numberOfPageCacheDescription: "多くすると利便性が向上しますが、負荷とメモリ使用量が増えます。" logoutConfirm: "ログアウトしますか?" lastActiveDate: "最終利用日時" +statusbar: "ステータスバー" +pleaseSelect: "選択してください" _emailUnavailable: used: "既に使用されています" diff --git a/packages/client/src/components/global/sticky-container.vue b/packages/client/src/components/global/sticky-container.vue index 2603fac55..44f4f065a 100644 --- a/packages/client/src/components/global/sticky-container.vue +++ b/packages/client/src/components/global/sticky-container.vue @@ -9,11 +9,15 @@ + + diff --git a/packages/client/src/pages/settings/statusbars.vue b/packages/client/src/pages/settings/statusbars.vue new file mode 100644 index 000000000..dea5e0ffd --- /dev/null +++ b/packages/client/src/pages/settings/statusbars.vue @@ -0,0 +1,61 @@ + + + diff --git a/packages/client/src/store.ts b/packages/client/src/store.ts index 94d9d9138..cde907017 100644 --- a/packages/client/src/store.ts +++ b/packages/client/src/store.ts @@ -88,6 +88,19 @@ export const defaultStore = markRaw(new Storage('base', { where: 'deviceAccount', default: false, }, + statusbars: { + where: 'deviceAccount', + default: [] as { + name: string; + id: string; + type: string; + props: Record; + }[], + }, + statusbarSize: { + where: 'deviceAccount', + default: 'medium', + }, widgets: { where: 'deviceAccount', default: [] as { diff --git a/packages/client/src/ui/_common_/statusbar-federation.vue b/packages/client/src/ui/_common_/statusbar-federation.vue new file mode 100644 index 000000000..87b954b90 --- /dev/null +++ b/packages/client/src/ui/_common_/statusbar-federation.vue @@ -0,0 +1,103 @@ + + + + + diff --git a/packages/client/src/ui/_common_/statusbar-rss.vue b/packages/client/src/ui/_common_/statusbar-rss.vue new file mode 100644 index 000000000..ddfc6faaa --- /dev/null +++ b/packages/client/src/ui/_common_/statusbar-rss.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/packages/client/src/ui/_common_/statusbar-user-list.vue b/packages/client/src/ui/_common_/statusbar-user-list.vue new file mode 100644 index 000000000..01240dc6b --- /dev/null +++ b/packages/client/src/ui/_common_/statusbar-user-list.vue @@ -0,0 +1,104 @@ + + + + + diff --git a/packages/client/src/ui/_common_/statusbars.vue b/packages/client/src/ui/_common_/statusbars.vue new file mode 100644 index 000000000..86d2812f5 --- /dev/null +++ b/packages/client/src/ui/_common_/statusbars.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/packages/client/src/ui/deck.vue b/packages/client/src/ui/deck.vue index b3b9ddd55..111cf8022 100644 --- a/packages/client/src/ui/deck.vue +++ b/packages/client/src/ui/deck.vue @@ -5,26 +5,31 @@ > - +
+ +
+ +
+
@@ -51,7 +56,7 @@