From d9af219ba3448cd16b1ab1b21a9aad69b879beae Mon Sep 17 00:00:00 2001 From: rotsen Date: Fri, 19 Sep 2025 04:22:01 -0300 Subject: [PATCH] feat: Implement single audio playback functionality across components (#12226) ## Description Introduces a global single-audio playback helper and hooks it into dashboard and widget entrypoints. Adds play/pause event handlers in the Audio chip to sync UI state. The helper enforces one audio playing at a time and auto-advances to the next adjacent audio on end. Co-authored-by: Muhsin Keloth Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: iamsivin --- .../components-next/message/chips/Audio.vue | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/app/javascript/dashboard/components-next/message/chips/Audio.vue b/app/javascript/dashboard/components-next/message/chips/Audio.vue index 431058463..667d2d7b6 100644 --- a/app/javascript/dashboard/components-next/message/chips/Audio.vue +++ b/app/javascript/dashboard/components-next/message/chips/Audio.vue @@ -1,8 +1,16 @@