Include Fake Door Test infrastructure in Writefull with text-to-speech test (#28602)

GitOrigin-RevId: 5e52f6c0d3ea5001855408a13be4813023d5fdb7
This commit is contained in:
jmescuderowritefull
2025-09-25 09:23:15 +02:00
committed by Copybot
parent cc49eeacbd
commit 2f5e629d65
3 changed files with 52 additions and 18 deletions

30
package-lock.json generated
View File

@@ -21364,17 +21364,17 @@
}
},
"node_modules/@writefull/core": {
"version": "1.27.21",
"resolved": "https://registry.npmjs.org/@writefull/core/-/core-1.27.21.tgz",
"integrity": "sha512-lZByln15uCkLB5rezWaDuiCRLkdN6GQv4WS9uW5E9KLpluUxNwEya0fGqdxjyOjjNA9+0GatAzmQcgBPZGvCMQ==",
"version": "1.27.24",
"resolved": "https://registry.npmjs.org/@writefull/core/-/core-1.27.24.tgz",
"integrity": "sha512-0f0zc4rb0+44dFBRDuognknrv/z/jfgyU15hX+s334q3H4lOH/H0N6g8HwxcYbCzvzIBQLyrWmsJA8Nr/iAs3g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@bugsnag/js": "^7.23.0",
"@bugsnag/plugin-react": "^7.24.0",
"@growthbook/growthbook": "^1.4.1",
"@writefull/ui": "^1.27.21",
"@writefull/utils": "^1.27.21",
"@writefull/ui": "^1.27.24",
"@writefull/utils": "^1.27.24",
"axios": "^1.8.3",
"idb": "^8.0.2",
"inversify": "^6.0.2",
@@ -21386,14 +21386,14 @@
}
},
"node_modules/@writefull/ui": {
"version": "1.27.21",
"resolved": "https://registry.npmjs.org/@writefull/ui/-/ui-1.27.21.tgz",
"integrity": "sha512-ELjJIJZX00RHX3QZX0G4RXol4pieT6gVi14cthyDs+2oA8FX7K29BxI8YSRjncd0BJz87TfuXDfLVZO8eJs6OQ==",
"version": "1.27.24",
"resolved": "https://registry.npmjs.org/@writefull/ui/-/ui-1.27.24.tgz",
"integrity": "sha512-Rxq5eSJIVGLkEruLPA6kXXfNdo1X7p1A2CKsFf2IIw6Kw7jfckqMu+jC9y/ItccbbzhY5pt7mQXZtLjL+U72wQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@floating-ui/react": "^0.27.5",
"@writefull/utils": "^1.27.21"
"@writefull/utils": "^1.27.24"
},
"peerDependencies": {
"react": ">= 18",
@@ -21401,9 +21401,9 @@
}
},
"node_modules/@writefull/utils": {
"version": "1.27.21",
"resolved": "https://registry.npmjs.org/@writefull/utils/-/utils-1.27.21.tgz",
"integrity": "sha512-TEQUSrPdWRMNlLB/sJ9Hl68hVSxgi5u8xW0L6b2SOqu1R2eI3IsHXLbh16FRLrKjf50iptbOE8pUK8+CHId2sg==",
"version": "1.27.24",
"resolved": "https://registry.npmjs.org/@writefull/utils/-/utils-1.27.24.tgz",
"integrity": "sha512-b+d4hhT6Z92w3+m2itJJmm3iCNt1v0SHKXZ8jxre+ZmjmIkcno2z/naOs55Q2weo9AgGZAEKhRiir0gSTLLi3A==",
"dev": true,
"license": "MIT"
},
@@ -52685,9 +52685,9 @@
"@uppy/utils": "^5.7.0",
"@uppy/xhr-upload": "^3.6.0",
"@vitest/eslint-plugin": "1.1.44",
"@writefull/core": "^1.27.6",
"@writefull/ui": "^1.27.6",
"@writefull/utils": "^1.27.6",
"@writefull/core": "^1.27.24",
"@writefull/ui": "^1.27.24",
"@writefull/utils": "^1.27.24",
"5to6-codemod": "^1.8.0",
"abort-controller": "^3.0.0",
"acorn": "^7.1.1",

View File

@@ -13,10 +13,12 @@ const en = {
cancel: 'Cancel',
yes: 'Yes',
no: 'No',
'do-not-know': 'Dont know',
equation: 'equation',
table: 'table',
or: 'or',
close: 'Close',
submit: 'Submit',
'add-unlimited-ai': 'Add unlimited AI',
'accept-and-continue': 'Accept and continue',
'copy-code': 'Copy code',
@@ -249,6 +251,21 @@ const en = {
'create-modal.disclaimer':
'AI can make mistakes. Review the code before applying it.',
'create-modal.your-result': 'Your __name__ suggestion:',
'fake-door-test.text-to-speech.try': 'Try Text to Speech',
'fake-door-test.text-to-speech.title':
'Sorry, text to speech isnt available yet',
'fake-door-test.text-to-speech.introduction_p1':
'We are considering adding text to speech to language suggestions in Overleaf and are gathering feedback.',
'fake-door-test.text-to-speech.introduction_p2':
'Is text to speech something that would help you with your writing in Overleaf?',
'fake-door-test.text-to-speech.more-information-if-yes':
'How would text to speech help you with your writing?',
'fake-door-test.text-to-speech.more-information-if-no':
'What would help you with your writing in Overleaf?',
'fake-door-test.text-to-speech.closing.title':
'Thank you for your feedback!',
'fake-door-test.text-to-speech.closing.body':
'Well use this to assess whether we add text to speech functionality to language suggestions in Overleaf.',
'language-model.using-this-feature':
'Using this feature means your text is sent to OpenAIs servers and may be kept there for up to 30 days. It is not used to train OpenAIs models. Writefull does not store or train on your texts.',
'language-model.learn-more': 'Learn more',
@@ -386,10 +403,12 @@ const es = {
cancel: 'Cancelar',
yes: 'Sí',
no: 'No',
'do-not-know': 'No lo sé',
equation: 'equación',
table: 'tabla',
or: 'o',
close: 'Cerrar',
submit: 'Enviar',
'add-unlimited-ai': 'Añadir IA ilimitada',
'accept-and-continue': 'Aceptar y continuar',
'copy-code': 'Copiar código',
@@ -640,6 +659,21 @@ const es = {
'create-modal.disclaimer':
'AI can make mistakes. Review the code before apply it.',
'create-modal.your-result': 'Your __name__ suggestion:',
'fake-door-test.text-to-speech.try': 'Probar texto a voz',
'fake-door-test.text-to-speech.title':
'Lo sentimos, el texto a voz aún no está disponible',
'fake-door-test.text-to-speech.introduction_p1':
'Estamos considerando agregar texto a voz a las sugerencias de idioma en Overleaf y estamos recopilando comentarios.',
'fake-door-test.text-to-speech.introduction_p2':
'¿Es el texto a voz algo que te ayudaría con tu escritura en Overleaf?',
'fake-door-test.text-to-speech.more-information-if-yes':
'¿Cómo te ayudaría el texto a voz con tu escritura?',
'fake-door-test.text-to-speech.more-information-if-no':
'¿Qué te ayudaría con tu escritura en Overleaf?',
'fake-door-test.text-to-speech.closing.title':
'¡Gracias por tus comentarios!',
'fake-door-test.text-to-speech.closing.body':
'Los utilizaremos para evaluar si agregamos la funcionalidad de texto a voz a las sugerencias de idioma en Overleaf.',
'language-model.using-this-feature':
'Usar esta función significa que su texto se envía a los servidores de OpenAI y puede mantenerse allí hasta por 30 días. No se utiliza para entrenar los modelos de OpenAI. Writefull no almacena ni entrena con sus textos.',
'language-model.learn-more': 'Aprende más',

View File

@@ -272,9 +272,9 @@
"@uppy/utils": "^5.7.0",
"@uppy/xhr-upload": "^3.6.0",
"@vitest/eslint-plugin": "1.1.44",
"@writefull/core": "^1.27.6",
"@writefull/ui": "^1.27.6",
"@writefull/utils": "^1.27.6",
"@writefull/core": "^1.27.24",
"@writefull/ui": "^1.27.24",
"@writefull/utils": "^1.27.24",
"5to6-codemod": "^1.8.0",
"abort-controller": "^3.0.0",
"acorn": "^7.1.1",