From 461f72f878bba87fcdb1bf49451f16d9e2c857d1 Mon Sep 17 00:00:00 2001 From: Pandipipas <62224708+Pandipipas@users.noreply.github.com> Date: Sun, 15 Feb 2026 11:12:57 +0100 Subject: [PATCH] Mejora panel de comentaristas con Twitter y swap central --- schemas/commentary.json | 16 +++- .../components/CommentaryPanel.vue | 83 +++++++++++++++---- .../scoreko-dev/stores/commentary.ts | 28 +++++++ src/extension/util/replicants.ts | 2 + src/graphics/commentary/main.vue | 2 + src/types/schemas/commentary.d.ts | 2 + 6 files changed, 116 insertions(+), 17 deletions(-) diff --git a/schemas/commentary.json b/schemas/commentary.json index 455a223..2e49904 100644 --- a/schemas/commentary.json +++ b/schemas/commentary.json @@ -7,17 +7,29 @@ "type": "string", "default": "" }, + "leftCommentatorTwitter": { + "type": "string", + "default": "" + }, "rightCommentator": { "type": "string", "default": "" + }, + "rightCommentatorTwitter": { + "type": "string", + "default": "" } }, "required": [ "leftCommentator", - "rightCommentator" + "leftCommentatorTwitter", + "rightCommentator", + "rightCommentatorTwitter" ], "default": { "leftCommentator": "", - "rightCommentator": "" + "leftCommentatorTwitter": "", + "rightCommentator": "", + "rightCommentatorTwitter": "" } } diff --git a/src/dashboard/scoreko-dev/components/CommentaryPanel.vue b/src/dashboard/scoreko-dev/components/CommentaryPanel.vue index fc29584..e549fcf 100644 --- a/src/dashboard/scoreko-dev/components/CommentaryPanel.vue +++ b/src/dashboard/scoreko-dev/components/CommentaryPanel.vue @@ -10,30 +10,53 @@ const commentaryStore = useCommentaryStore();