From 61e466d8e2fc74711320ec262538ab99476e16ed Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 2 May 2024 03:07:47 +0200 Subject: [PATCH] [UI] Added `tts.picovoice` component and `assistant.picovoice` icon. --- platypush/backend/http/webapp/src/assets/icons.json | 3 +++ .../http/webapp/src/components/VoiceAssistant.vue | 1 + .../src/components/panels/TtsPicovoice/Index.vue | 12 ++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 platypush/backend/http/webapp/src/components/panels/TtsPicovoice/Index.vue diff --git a/platypush/backend/http/webapp/src/assets/icons.json b/platypush/backend/http/webapp/src/assets/icons.json index 3474fde746..c78dd04b7b 100644 --- a/platypush/backend/http/webapp/src/assets/icons.json +++ b/platypush/backend/http/webapp/src/assets/icons.json @@ -8,6 +8,9 @@ "assistant.google": { "class": "fas fa-microphone-lines" }, + "assistant.picovoice": { + "class": "fas fa-microphone-lines" + }, "bluetooth": { "class": "fab fa-bluetooth" }, diff --git a/platypush/backend/http/webapp/src/components/VoiceAssistant.vue b/platypush/backend/http/webapp/src/components/VoiceAssistant.vue index 40a26c3352..9acc132586 100644 --- a/platypush/backend/http/webapp/src/components/VoiceAssistant.vue +++ b/platypush/backend/http/webapp/src/components/VoiceAssistant.vue @@ -112,6 +112,7 @@ export default { this.subscribe(this.response, null, 'platypush.message.event.assistant.ResponseEvent') this.subscribe(this.conversationEnd, null, 'platypush.message.event.assistant.ConversationEndEvent', + 'platypush.message.event.assistant.ResponseEndEvent', 'platypush.message.event.assistant.NoResponseEvent', 'platypush.message.event.assistant.ConversationTimeoutEvent') }, diff --git a/platypush/backend/http/webapp/src/components/panels/TtsPicovoice/Index.vue b/platypush/backend/http/webapp/src/components/panels/TtsPicovoice/Index.vue new file mode 100644 index 0000000000..28e09df0a9 --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/TtsPicovoice/Index.vue @@ -0,0 +1,12 @@ + + +