diff --git a/README.md b/README.md index fec88e878..af2799c63 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ ## 細かい変更点 +- 藍ちゃんウィジェットの復活 - インスタンスティッカーのツールチップにソフトウェアのバージョン番号も表示する - 気になるから - いいねボタン(リアクションピッカーの左にある、⭐とか👍のリアクションをワンクリックで押せるやつ)で空のリアクション(Mastodon がふぁぼで送ってくるものと同じ)ではなく本当にその絵文字リアクション(⭐とか👍とか)を送るようにする diff --git a/cypress/e2e/widgets.cy.js b/cypress/e2e/widgets.cy.js index e3c9326db..cf2af147a 100644 --- a/cypress/e2e/widgets.cy.js +++ b/cypress/e2e/widgets.cy.js @@ -60,4 +60,5 @@ describe("After user signed in", () => { buildWidgetTest("jobQueue"); buildWidgetTest("button"); buildWidgetTest("aiscript"); + buildWidgetTest('aichan'); }); diff --git a/locales/en-US.yml b/locales/en-US.yml index 93549b8eb..676f94dff 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1621,6 +1621,7 @@ _widgets: jobQueue: "Job Queue" serverMetric: "Server Metrics" aiscript: "AiScript Console" + aichan: "Ai" userList: "User List" serverInfo: "Server Info" _userList: diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 3dfa84f19..e9a49e1e2 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1436,6 +1436,7 @@ _widgets: jobQueue: "ジョブキュー" serverMetric: "サーバーメトリクス" aiscript: "AiScriptコンソール" + aichan: "藍" userList: "ユーザーリスト" _userList: chooseList: "リストを選択" diff --git a/packages/client/src/widgets/aichan.vue b/packages/client/src/widgets/aichan.vue new file mode 100644 index 000000000..c82119a5b --- /dev/null +++ b/packages/client/src/widgets/aichan.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/packages/client/src/widgets/index.ts b/packages/client/src/widgets/index.ts index 4c48811a9..08667c15f 100644 --- a/packages/client/src/widgets/index.ts +++ b/packages/client/src/widgets/index.ts @@ -93,6 +93,10 @@ export default function (app: App) { "MkwServerInfo", defineAsyncComponent(() => import("./server-info.vue")), ); + app.component( + "MkwAichan", + defineAsyncComponent(() => import("./aichan.vue")), + ); } export const widgets = [ @@ -119,4 +123,5 @@ export const widgets = [ "jobQueue", "button", "aiscript", + "aichan", ];