@designcrowd/fe-shared-lib 1.7.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +54 -0
- package/.claude/skills/playwright-cli/SKILL.md +278 -0
- package/.claude/skills/playwright-cli/references/request-mocking.md +87 -0
- package/.claude/skills/playwright-cli/references/running-code.md +232 -0
- package/.claude/skills/playwright-cli/references/session-management.md +169 -0
- package/.claude/skills/playwright-cli/references/storage-state.md +275 -0
- package/.claude/skills/playwright-cli/references/test-generation.md +88 -0
- package/.claude/skills/playwright-cli/references/tracing.md +139 -0
- package/.claude/skills/playwright-cli/references/video-recording.md +43 -0
- package/.playwright-cli/page-2026-04-15T02-26-54-483Z.yml +68 -0
- package/.playwright-cli/page-2026-04-15T02-27-08-312Z.yml +0 -0
- package/.playwright-cli/page-2026-04-15T02-27-25-596Z.yml +0 -0
- package/.playwright-cli/page-2026-04-15T02-27-40-203Z.yml +0 -0
- package/.playwright-cli/page-2026-04-15T02-38-58-180Z.yml +0 -0
- package/.playwright-cli/page-2026-04-15T02-39-01-736Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-39-10-233Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-39-43-909Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-40-44-800Z.yml +0 -0
- package/.playwright-cli/page-2026-04-15T02-40-54-188Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-40-59-031Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-51-07-111Z.yml +0 -0
- package/.playwright-cli/page-2026-04-15T02-51-10-941Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-51-17-020Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-51-42-403Z.yml +2 -0
- package/.playwright-cli/page-2026-04-15T02-51-53-552Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-51-54-631Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-52-16-170Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-52-17-246Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-52-28-472Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-53-15-507Z.yml +0 -0
- package/.playwright-cli/page-2026-04-15T02-53-16-554Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-53-22-178Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T02-53-34-973Z.yml +26 -0
- package/.playwright-cli/page-2026-04-15T06-15-29-589Z.yml +68 -0
- package/.playwright-cli/page-2026-04-15T06-15-41-114Z.yml +68 -0
- package/.storybook-static/assets/Auth-DT64t5h-.css +1 -0
- package/.storybook-static/assets/Auth.stories-C6eXcTSu.js +490 -0
- package/.storybook-static/assets/AuthCrazyDomains.stories-DGvEoWCa.js +73 -0
- package/.storybook-static/assets/Button-5UzSGUF6.css +1 -0
- package/.storybook-static/assets/Button-DKdQT6Fq.js +1 -0
- package/.storybook-static/assets/ButtonGroup-DDPXuhxR.css +1 -0
- package/.storybook-static/assets/ButtonGroup.stories-DlrYMRSk.js +504 -0
- package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
- package/.storybook-static/assets/ButtonPrimary-BvWW6Duz.js +1 -0
- package/.storybook-static/assets/Buttons.stories-CKmd6hkZ.js +761 -0
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-DdEuOUrn.js +199 -0
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
- package/.storybook-static/assets/Checkbox.stories-DPBUC2Mx.js +246 -0
- package/.storybook-static/assets/Checktile.stories-ByaFwplD.js +88 -0
- package/.storybook-static/assets/CollapsiblePanel.stories-Y6q3gP9j.js +56 -0
- package/.storybook-static/assets/ColorPicker.stories-DdxPUB_R.js +73 -0
- package/.storybook-static/assets/CopyToClipboardText.stories-J9qndWxd.js +32 -0
- package/.storybook-static/assets/Dropdown.stories-1zKPATii.js +159 -0
- package/.storybook-static/assets/DropdownItem-BV-BdThU.css +1 -0
- package/.storybook-static/assets/DropdownItem-DA6TdpDb.js +1 -0
- package/.storybook-static/assets/FormControl.mixin-DcEBwrV3.js +1 -0
- package/.storybook-static/assets/HashRouteModal.stories-BGxvqE22.js +60 -0
- package/.storybook-static/assets/HelloBar-CYEZR2kQ.js +1 -0
- package/.storybook-static/assets/HelloBar.stories-597Kxj0W.js +342 -0
- package/.storybook-static/assets/Icon-C17LFvsP.js +145 -0
- package/.storybook-static/assets/Icon.stories-B9iAmcTU.js +151 -0
- package/.storybook-static/assets/Icon.stories-CR5vT9H7.js +791 -0
- package/.storybook-static/assets/Loader-BWGoT_xC.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-CExzox1Z.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-CeAaMKke.css +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-kuxAH8B8.js +36 -0
- package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
- package/.storybook-static/assets/Masonry.stories-CTXJLQ_i.js +71 -0
- package/.storybook-static/assets/Modal-CGwEIF5R.css +1 -0
- package/.storybook-static/assets/Modal-CydTNprT.js +1 -0
- package/.storybook-static/assets/Modal.stories-DZiG5NGM.js +345 -0
- package/.storybook-static/assets/Notice.stories-ChOj8CWm.js +222 -0
- package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
- package/.storybook-static/assets/NumberStepper.stories-CVbKJ_oJ.js +64 -0
- package/.storybook-static/assets/PaymentConfigList-BpUMV6cp.css +1 -0
- package/.storybook-static/assets/PaymentConfigList.stories-DUD7OZBS.js +130 -0
- package/.storybook-static/assets/Picture-B8m1I9xN.js +1 -0
- package/.storybook-static/assets/Picture.stories-MMzybhJ6.js +119 -0
- package/.storybook-static/assets/Pill-DLXZ_TL8.js +1 -0
- package/.storybook-static/assets/Pill.stories-DCP7szJm.js +18 -0
- package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
- package/.storybook-static/assets/PillBar.stories-Bry-zQ6f.js +41 -0
- package/.storybook-static/assets/Price-C4GZbDSa.js +1 -0
- package/.storybook-static/assets/Price.stories-CMHly9V0.js +337 -0
- package/.storybook-static/assets/PromoCard.stories-xsbFtADE.js +299 -0
- package/.storybook-static/assets/PublishBrandPageModal-Q9-mNG1q.css +1 -0
- package/.storybook-static/assets/PublishBrandPageModal.stories-C9XzW_1m.js +324 -0
- package/.storybook-static/assets/SearchBar.stories-DaIneOSz.js +12 -0
- package/.storybook-static/assets/Select-DnioWQmi.css +1 -0
- package/.storybook-static/assets/Select.stories-BmGYB4pw.js +108 -0
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-DH6khE10.css +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-ymtVclFP.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal.stories-DvGvylgx.js +71 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-Cpxq0jDA.css +1 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-D-1CrQyf.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults-bX--zu97.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-DRUJjSdH.js +37 -0
- package/.storybook-static/assets/SellDomainNameWidget.stories-CC3LX10s.js +36 -0
- package/.storybook-static/assets/SignIn-CPjf8_2O.css +1 -0
- package/.storybook-static/assets/SignIn-DI0DSDFe.js +1 -0
- package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
- package/.storybook-static/assets/Slider.stories-B2KGwnJy.js +141 -0
- package/.storybook-static/assets/SparkleIcon.stories-Dk904hVE.js +547 -0
- package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
- package/.storybook-static/assets/StarRating.stories-d2mgOuo2.js +45 -0
- package/.storybook-static/assets/TabMenu.stories-Cg2yenqj.js +47 -0
- package/.storybook-static/assets/TextCopyField-B66NKTk_.js +1 -0
- package/.storybook-static/assets/TextCopyField.stories-B4_ZlfLU.js +47 -0
- package/.storybook-static/assets/TextInput-CMoUjT_5.js +1 -0
- package/.storybook-static/assets/TextInput.stories-oyyxxf3j.js +233 -0
- package/.storybook-static/assets/Textarea.stories-BvhZR6K2.js +207 -0
- package/.storybook-static/assets/Toggle.stories-yT5-rL2k.js +161 -0
- package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
- package/.storybook-static/assets/Tooltip-ZukyujG5.js +1 -0
- package/.storybook-static/assets/Tooltip.stories-sJFylRS_.js +953 -0
- package/.storybook-static/assets/UploadYourLogoApplication-Dmw8QcH3.css +1 -0
- package/.storybook-static/assets/UploadYourLogoApplication.stories-C9AvzHO_.js +186 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-B1ffcicv.js +24 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-D1Dt2ord.js +55 -0
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D8oF1Yrx.js +79 -0
- package/.storybook-static/assets/WebsiteContextualUpgradeModal-8u1zOZrW.css +1 -0
- package/.storybook-static/assets/WebsiteContextualUpgradeModal.stories-mtcvWOAg.js +211 -0
- package/.storybook-static/assets/_commonjsHelpers-CE1G-McA.js +1 -0
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
- package/.storybook-static/assets/axe-DrS73Vi2.js +20 -0
- package/.storybook-static/assets/brand-crowd-api.client-D45NKshX.js +1 -0
- package/.storybook-static/assets/bundled-translations-BoWhEDU_.js +1 -0
- package/.storybook-static/assets/bundled-translations.de-DE-C4lqla4O.js +1 -0
- package/.storybook-static/assets/bundled-translations.es-ES-BxMIllUH.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-CA-MxZpyz0w.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-FR-N7UPCZVr.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-BR-C8tscYuG.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-PT-Dszj5Xfa.js +1 -0
- package/.storybook-static/assets/carousel-BelyIYOK.css +1 -0
- package/.storybook-static/assets/carousel.stories-CJw3-Iy6.js +668 -0
- package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
- package/.storybook-static/assets/iframe-B3A6OXQU.js +1104 -0
- package/.storybook-static/assets/index-B-eiLVzF.js +7 -0
- package/.storybook-static/assets/index-QquxUozE.js +6 -0
- package/.storybook-static/assets/matchers-5TDFFDYO-HJu_DfWo.js +14 -0
- package/.storybook-static/assets/mediaQueryMixin-CISNqd93.js +1 -0
- package/.storybook-static/assets/preload-helper-PPVm8Dsz.js +1 -0
- package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
- package/.storybook-static/css/tailwind-brandCrowd.css +2508 -0
- package/.storybook-static/css/tailwind-brandPage.css +2188 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2508 -0
- package/.storybook-static/css/tailwind-designCom.css +2508 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2508 -0
- package/.storybook-static/favicon-wrapper.svg +46 -0
- package/.storybook-static/favicon.svg +1 -0
- package/.storybook-static/iframe.html +713 -0
- package/.storybook-static/index.html +148 -0
- package/.storybook-static/index.json +1 -0
- package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/project.json +1 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +57 -0
- package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +628 -0
- package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
- package/.storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
- package/.storybook-static/sb-common-assets/favicon.svg +1 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/globals-runtime.js +77935 -0
- package/.storybook-static/sb-manager/globals.js +24 -0
- package/.storybook-static/sb-manager/manager-stores.js +23 -0
- package/.storybook-static/sb-manager/runtime.js +20404 -0
- package/.storybook-static/vite-inject-mocker-entry.js +2 -0
- package/CLAUDE.md +35 -0
- package/dist/css/tailwind-brandCrowd.css +4 -34
- package/dist/css/tailwind-brandPage.css +3 -25
- package/dist/css/tailwind-crazyDomains.css +4 -34
- package/dist/css/tailwind-designCom.css +4 -34
- package/dist/css/tailwind-designCrowd.css +4 -34
- package/docs/voice-to-text-discussion-attachments/Screenshot 2026-04-15 at 11.44.18/342/200/257am.png +0 -0
- package/docs/voice-to-text-discussion-attachments/image.png +0 -0
- package/docs/voice-to-text-discussion-attachments/image_1.png +0 -0
- package/docs/voice-to-text-discussion-attachments/image_2.png +0 -0
- package/docs/voice-to-text-discussion-attachments/image_3.png +0 -0
- package/docs/voice-to-text-discussion-attachments/image_4.png +0 -0
- package/docs/voice-to-text-discussion.md +330 -0
- package/index.js +2 -0
- package/package.json +3 -1
- package/public/css/tailwind-brandCrowd.css +2563 -0
- package/public/css/tailwind-brandPage.css +2231 -0
- package/public/css/tailwind-crazyDomains.css +2563 -0
- package/public/css/tailwind-designCom.css +2563 -0
- package/public/css/tailwind-designCrowd.css +2563 -0
- package/src/atoms/components/Icon/Icon.vue +2 -0
- package/src/atoms/components/Icon/icons/microphone.vue +5 -0
- package/src/atoms/components/VoiceToTextButton/VoiceToTextButton.stories.ts +242 -0
- package/src/atoms/components/VoiceToTextButton/VoiceToTextButton.vue +147 -0
- package/src/types/speech-recognition.d.ts +8 -0
- package/src/useVoiceToText.ts +196 -0
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
# Slack Thread: #growth-it-runs-on-local-team
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-04-09
|
|
4
|
+
**Thread link:** https://designcrowd.slack.com/archives/C02955Q465R/p1775707213792599
|
|
5
|
+
**Participants:** Zach, Loïc, ap, pmac, Mik
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Zach — 4:00 AM
|
|
10
|
+
|
|
11
|
+
**@Loïc** for https://designcrowd.atlassian.net/browse/GT-9885 there is a chromium package that handles voice to text really well. Works on Edge, Chrome and Safari but not other browsers. I've slapped together a PoC here https://gt-9885.bc.designcrowd.ninja/ . Nothing I need you to do, just wanted you to be aware so you can coordinate/plan appropriately.
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Loïc — 4:41 AM
|
|
18
|
+
|
|
19
|
+
Thanks Zach. Have you got a link to that package?
|
|
20
|
+
|
|
21
|
+
Doesn’t seem to work in other languages but maybe relies on the browser set language?
|
|
22
|
+
|
|
23
|
+
> Works on Edge, Chrome and Safari but not other browsers
|
|
24
|
+
What other browsers would that not work on? Would imagine it would cover most if built on Chromium?
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Loïc — 4:43 AM
|
|
29
|
+
|
|
30
|
+
> Doesn’t seem to work in other languages but maybe relies on the browser set language?
|
|
31
|
+
GPT voice to text works fine on the same browser for me when I speak in French.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Zach — 4:46 AM
|
|
36
|
+
|
|
37
|
+
https://vueuse.org/core/useSpeechRecognition/ is the package. This is the browser support breakdown https://caniuse.com/mdn-api_speechrecognitionevent. It uses https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API under the hood. Skimming the docs I dont see anything about language support.
|
|
38
|
+
|
|
39
|
+

|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Loïc — 4:49 AM
|
|
44
|
+
|
|
45
|
+
GPT:
|
|
46
|
+
> Short answer: **yes — but not by itself.**
|
|
47
|
+
> How `useSpeechRecognition` handles languages
|
|
48
|
+
> The VueUse composable is just a thin wrapper around the browser’s **Web Speech API**. It lets you *set* the language via the `lang` option:
|
|
49
|
+
> ```useSpeechRecognition({
|
|
50
|
+
> lang: 'fr-FR' // or 'es-ES', 'de-DE', etc.
|
|
51
|
+
> })```
|
|
52
|
+
> So technically:
|
|
53
|
+
> :white_check_mark: You **can use other languages** by changing `lang`
|
|
54
|
+
> • :exclamation: But support depends entirely on the **browser + underlying speech engine** ([vueuse.org](http://vueuse.org))
|
|
55
|
+
>
|
|
56
|
+
> What actually determines language support
|
|
57
|
+
> The real behavior comes from the browser’s `SpeechRecognition` implementation:
|
|
58
|
+
> Chrome (and Chromium browsers) → best support, many languages
|
|
59
|
+
> Safari → limited support
|
|
60
|
+
> • Firefox → basically **no support** for this API
|
|
61
|
+
> VueUse just passes your config through — it doesn’t add language models itself. ([vueuse.org](http://vueuse.org))
|
|
62
|
+
>
|
|
63
|
+
> Practical implications
|
|
64
|
+
> • You can switch languages dynamically:
|
|
65
|
+
> ```const lang = ref('en-US')
|
|
66
|
+
>
|
|
67
|
+
> const speech = useSpeechRecognition({ lang })```
|
|
68
|
+
> • But:
|
|
69
|
+
> Some languages may be **less accurate**
|
|
70
|
+
> Some may **not work at all** depending on browser
|
|
71
|
+
> Offline support is usually **not available**
|
|
72
|
+
>
|
|
73
|
+
> TL;DR
|
|
74
|
+
> • :white_check_mark: Works with multiple languages via `lang`
|
|
75
|
+
> • :exclamation: Limited by browser + Web Speech API support
|
|
76
|
+
> • :x: Not a full multilingual engine on its own
|
|
77
|
+
>
|
|
78
|
+
> If you tell me what languages you want (e.g. French + English switching), I can suggest the most reliable setup or alternatives (like Whisper, Vosk, etc.).
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Zach — 4:49 AM
|
|
83
|
+
|
|
84
|
+
Oh thats super easy.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Zach — 4:50 AM
|
|
89
|
+
|
|
90
|
+
We always have the users language handy
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Loïc — 4:50 AM
|
|
95
|
+
|
|
96
|
+
:+1:
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Loïc — 4:50 AM
|
|
101
|
+
|
|
102
|
+
No Firefox support is probably the biggest unknown here but if we are able to hide the functionality if the browser is not supported then that should be fine.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Loïc — 4:51 AM
|
|
107
|
+
|
|
108
|
+
FYI **@ap** ^
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Zach — 4:52 AM
|
|
113
|
+
|
|
114
|
+
Hiding should also be easy. It's already working in my demo.
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## ap — 5:02 AM
|
|
119
|
+
|
|
120
|
+
we could extend this to send to a cloud service to do the speech to text for firefox?
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Zach — 5:04 AM
|
|
125
|
+
|
|
126
|
+
Thats where it starts to get tricky. We would need to use/build a cloud service if we wanted to support firefox. It's just a lot more effort.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Zach — 5:04 AM
|
|
131
|
+
|
|
132
|
+
Also this is free
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## ap — 5:10 AM
|
|
137
|
+
|
|
138
|
+
i was thinking as a fallback at a later stage once we understand the take up from customers
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Loïc — 12:13 AM
|
|
143
|
+
|
|
144
|
+
**@pmac**
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Zach — 3:28 AM
|
|
149
|
+
|
|
150
|
+
https://gt-9885.dcom.designcrowd.ninja/ **@Loïc** **@ap** Check it out.
|
|
151
|
+
1. Use Chrome or Safari
|
|
152
|
+
2. Make sure to set the AB test variations like in the screen shot.
|
|
153
|
+
3. First click should ask for microphone permissions
|
|
154
|
+
4. It will transcribe into the input in real time
|
|
155
|
+
5. Click to stop
|
|
156
|
+
6. ta daaa
|
|
157
|
+
**@ap** It is very easy to wire up: https://github.com/designcrowd/BrandCrowd.Net/pull/12884/changes#diff-8cf5baa45c1f1700d712ccef3bc0485214f743b907c9916c9bc6372b9475bbf8
|
|
158
|
+
|
|
159
|
+
• It will hide itself if the browser does not support it
|
|
160
|
+
• Language support is there but not tested yet
|
|
161
|
+
• emits events for interim transcript chunks and the final transcript
|
|
162
|
+
• Easy to drop in and wire up to any existing input
|
|
163
|
+
• Its only styled for the new ai prompt input at the moment. We will need to add style variations in fe-shared-lib.
|
|
164
|
+
Lets me know if there are any questions/changes you want. If not, I will wrap it up and get it to QA.
|
|
165
|
+
|
|
166
|
+

|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## pmac — 3:32 AM
|
|
171
|
+
|
|
172
|
+
just catching up .. this is client side and only works in some browsers?
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Zach — 3:32 AM
|
|
177
|
+
|
|
178
|
+
correct
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## pmac — 3:39 AM
|
|
183
|
+
|
|
184
|
+
.. and I assume you chose this path as it was quick to implement
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## pmac — 3:39 AM
|
|
189
|
+
|
|
190
|
+
I have a feeling that we're going to see much better transcription using the newer speech to text models
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## pmac — 3:47 AM
|
|
195
|
+
|
|
196
|
+
what does the server side solution look like, that would work for all browsers? I suppose we'd be sending wav/mp3 to a backend transcription.
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Zach — 1:10 AM
|
|
201
|
+
|
|
202
|
+
If we wanted to do server side we have a few options. Best choice is to buy something off the shelf. Having made my own local tool for voice to text using whisper, there are a bunch of issues we just dont want to handle. Whisper starts to hallucinate pretty badly after about 90 seconds, so we would have to handle streaming, chunking and a bunch of other stuff.
|
|
203
|
+
|
|
204
|
+
I would want to find something that we just import a package and set an API key somewhere and then its done.
|
|
205
|
+
|
|
206
|
+
The approach using the built in browser tools was so easy and fast I think it makes sense to try it out first and see what kind of returns we get. Also, all phone keyboards have voice to text built in that I think most people prefer to use.
|
|
207
|
+
|
|
208
|
+
Where we are at now with the browser solution is to just do a once over on styling and nail down the AB test variation details and timing. It's code complete.
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## pmac — 1:13 AM
|
|
213
|
+
|
|
214
|
+
for server side, I would be expecting us to use something like the AWS Transcribe product
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## Zach — 1:15 AM
|
|
219
|
+
|
|
220
|
+
Thats the one I was looking at before I stumbled onto the browser native option.
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## Zach — 1:17 AM
|
|
225
|
+
|
|
226
|
+
Looks like the price is $1.44/hr for streaming transcription.
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## pmac — 1:18 AM
|
|
231
|
+
|
|
232
|
+
lets leave it in the back pocket
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Loïc — 1:41 AM
|
|
237
|
+
|
|
238
|
+
works well in French
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## Loïc — 1:42 AM
|
|
243
|
+
|
|
244
|
+
the UI doesn’t look like what we had in designs?
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## Zach — 1:43 AM
|
|
249
|
+
|
|
250
|
+
Yea, I can't find designs for the new AI long prompt input we've got.
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## Zach — 1:44 AM
|
|
255
|
+
|
|
256
|
+
If you are happy with the design we've got in the figma for the other style I can apply to both.
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## Loïc — 1:44 AM
|
|
261
|
+
|
|
262
|
+
these ones in the ticket https://www.figma.com/design/gz0bEUjboSGaAMMtalOqVS/Maker---Speech-to-Text-in-AI?node-id=7-636&t=cIYxelUljv4Qp17M-1 ?
|
|
263
|
+
|
|
264
|
+

|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Zach — 1:45 AM
|
|
269
|
+
|
|
270
|
+
You sure you want that same design for the dark theme AI prompt as well?
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## Zach — 1:45 AM
|
|
275
|
+
|
|
276
|
+
Happy to do it, I can just implement both dark and light so it looks like the figma designs just with reversed colors on the AI prompt.
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## pmac — 1:48 AM
|
|
281
|
+
|
|
282
|
+
**@Zach** how do I get it to show for me?
|
|
283
|
+
|
|
284
|
+
---
|
|
285
|
+
|
|
286
|
+
## Zach — 1:49 AM
|
|
287
|
+
|
|
288
|
+
In the bottom right there is an "AB" button. Click it and set these two campaigns to variation 1.
|
|
289
|
+
|
|
290
|
+

|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## Loïc — 1:49 AM
|
|
295
|
+
|
|
296
|
+
**@Mik** see Zach’s comment about dark theme AI prompt
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
## Mik — 2:00 AM
|
|
301
|
+
|
|
302
|
+
hey **@Zach**, ideally it should look like this in dark mode - is this also what you envision?
|
|
303
|
+
|
|
304
|
+

|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## Loïc — 2:01 AM
|
|
309
|
+
|
|
310
|
+
have you got a screen for when it’s recording?
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
## Zach — 2:06 AM
|
|
315
|
+
|
|
316
|
+
**@Mik** that was what I was thinking. We've already got the microphone icon so all good there. Is the light grey circle around the microphone icon indicating when its recording?
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## Mik — 2:08 AM
|
|
321
|
+
|
|
322
|
+
yes, it's recording
|
|
323
|
+
|
|
324
|
+
---
|
|
325
|
+
|
|
326
|
+
## Zach — 2:09 AM
|
|
327
|
+
|
|
328
|
+
I will get the UI tightened up then lets everyone know when its ready for another review.
|
|
329
|
+
|
|
330
|
+
---
|
package/index.js
CHANGED
|
@@ -22,6 +22,7 @@ export { default as WebsiteContextualUpgradeModal } from './src/experiences/comp
|
|
|
22
22
|
export { WEBSITE_UPGRADE_CONTEXT_TYPES } from './src/experiences/models/websiteContextualModel';
|
|
23
23
|
|
|
24
24
|
export { setSharedLibLocaleAsync, tr } from './src/useSharedLibTranslate';
|
|
25
|
+
export { useVoiceToText } from './src/useVoiceToText';
|
|
25
26
|
|
|
26
27
|
export { default as Button } from './src/atoms/components/Button/Button.vue';
|
|
27
28
|
export { default as ButtonGroup } from './src/atoms/components/ButtonGroup/ButtonGroup.vue';
|
|
@@ -59,4 +60,5 @@ export { default as Select } from './src/atoms/components/Select/Select.vue';
|
|
|
59
60
|
export { default as NumberStepper } from './src/atoms/components/NumberStepper/NumberStepper.vue';
|
|
60
61
|
export { default as CopyToClipboardText } from './src/atoms/components/CopyToClipboardText/CopyToClipboardText.vue';
|
|
61
62
|
export { default as SparkleIcon } from './src/atoms/components/SparkleIcon/SparkleIcon.vue';
|
|
63
|
+
export { default as VoiceToTextButton } from './src/atoms/components/VoiceToTextButton/VoiceToTextButton.vue';
|
|
62
64
|
export { default as SideNavigationPanel } from './src/experiences/components/SideNavigationPanel/SideNavigationPanel.vue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designcrowd/fe-shared-lib",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "run-p storybook watch:translation",
|
|
6
6
|
"build": "npm run build:css --production",
|
|
@@ -71,6 +71,8 @@
|
|
|
71
71
|
"postcss-import": "16.0.0",
|
|
72
72
|
"postcss-nested": "6.0.1",
|
|
73
73
|
"prettier": "3.2.4",
|
|
74
|
+
"react": "^19.2.5",
|
|
75
|
+
"react-dom": "^19.2.5",
|
|
74
76
|
"storybook": "9.0.4",
|
|
75
77
|
"stylelint": "16.2.1",
|
|
76
78
|
"stylelint-config-standard": "36.0.0",
|