diff --git a/CHANGELOG.md b/CHANGELOG.md index e2797e2..26161f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to ## [Unreleased] +### Changed + +- 📦️(front) update react + ## [0.0.10] - 2025-12-15 ### Added diff --git a/src/frontend/apps/conversations/package.json b/src/frontend/apps/conversations/package.json index 25d3fac..5f36362 100644 --- a/src/frontend/apps/conversations/package.json +++ b/src/frontend/apps/conversations/package.json @@ -39,11 +39,11 @@ "lottie-react": "^2.4.1", "luxon": "3.6.1", "micromark-extension-llm-math": "3.1.1-20250610", - "next": "15.3.3", + "next": "15.3.8", "posthog-js": "1.249.3", - "react": "*", + "react": "19.2.1", "react-aria-components": "1.9.0", - "react-dom": "18.3.1", + "react-dom": "19.2.1", "react-i18next": "15.5.2", "react-intersection-observer": "9.16.0", "react-markdown": "10.1.0", diff --git a/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx b/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx index fa3674a..0efdbcb 100644 --- a/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx +++ b/src/frontend/apps/conversations/src/features/chat/components/Chat.tsx @@ -709,6 +709,11 @@ export const Chat = ({ {message.content && (

diff --git a/src/frontend/apps/e2e/__tests__/app-conversations/chat.spec.ts b/src/frontend/apps/e2e/__tests__/app-conversations/chat.spec.ts index 2a30188..c395f2d 100644 --- a/src/frontend/apps/e2e/__tests__/app-conversations/chat.spec.ts +++ b/src/frontend/apps/e2e/__tests__/app-conversations/chat.spec.ts @@ -55,8 +55,9 @@ test.describe('Chat page', () => { const copyButton = page.getByRole('button', { name: 'Copy' }); await expect(copyButton).toBeVisible(); - const messageContent = page.getByText('Lorem ipsum dolor sit amet'); + const messageContent = page.getByTestId('assistant-message-content'); await expect(messageContent).toBeVisible(); + await expect(messageContent).not.toBeEmpty(); // Check history const chatHistoryLink = page diff --git a/src/frontend/package.json b/src/frontend/package.json index ba457f0..67efc72 100644 --- a/src/frontend/package.json +++ b/src/frontend/package.json @@ -32,8 +32,8 @@ "@typescript-eslint/eslint-plugin": "8.33.1", "@typescript-eslint/parser": "8.33.1", "eslint": "8.57.0", - "react": "19.1.0", - "react-dom": "19.1.0", + "react": "19.2.1", + "react-dom": "19.2.1", "typescript": "5.8.3" } } diff --git a/src/frontend/yarn.lock b/src/frontend/yarn.lock index 4656d9d..c1421fa 100644 --- a/src/frontend/yarn.lock +++ b/src/frontend/yarn.lock @@ -1971,10 +1971,10 @@ "@emnapi/runtime" "^1.4.3" "@tybys/wasm-util" "^0.9.0" -"@next/env@15.3.3": - version "15.3.3" - resolved "https://registry.npmjs.org/@next/env/-/env-15.3.3.tgz" - integrity sha512-OdiMrzCl2Xi0VTjiQQUK0Xh7bJHnOuET2s+3V+Y40WJBAXrJeGA3f+I8MZJ/YQ3mVGi5XGR1L66oFlgqXhQ4Vw== +"@next/env@15.3.8": + version "15.3.8" + resolved "https://registry.yarnpkg.com/@next/env/-/env-15.3.8.tgz#02326c38d315d72f2ab8b2bcc9a5c81ec5482873" + integrity sha512-SAfHg0g91MQVMPioeFeDjE+8UPF3j3BvHjs8ZKJAUz1BG7eMPvfCKOAgNWJ6s1MLNeP6O2InKQRTNblxPWuq+Q== "@next/eslint-plugin-next@15.3.3": version "15.3.3" @@ -1983,45 +1983,45 @@ dependencies: fast-glob "3.3.1" -"@next/swc-darwin-arm64@15.3.3": - version "15.3.3" - resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.3.3.tgz" - integrity sha512-WRJERLuH+O3oYB4yZNVahSVFmtxRNjNF1I1c34tYMoJb0Pve+7/RaLAJJizyYiFhjYNGHRAE1Ri2Fd23zgDqhg== +"@next/swc-darwin-arm64@15.3.5": + version "15.3.5" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.3.5.tgz#75606cb72e1659a23f15195dba760dc01b186c5d" + integrity sha512-lM/8tilIsqBq+2nq9kbTW19vfwFve0NR7MxfkuSUbRSgXlMQoJYg+31+++XwKVSXk4uT23G2eF/7BRIKdn8t8w== -"@next/swc-darwin-x64@15.3.3": - version "15.3.3" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-15.3.3.tgz#71588bad245180ffd1af1e1f894477287e739eb0" - integrity sha512-XHdzH/yBc55lu78k/XwtuFR/ZXUTcflpRXcsu0nKmF45U96jt1tsOZhVrn5YH+paw66zOANpOnFQ9i6/j+UYvw== +"@next/swc-darwin-x64@15.3.5": + version "15.3.5" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-15.3.5.tgz#78ffad7ef26685e5b8150891b467a4ecef94e179" + integrity sha512-WhwegPQJ5IfoUNZUVsI9TRAlKpjGVK0tpJTL6KeiC4cux9774NYE9Wu/iCfIkL/5J8rPAkqZpG7n+EfiAfidXA== -"@next/swc-linux-arm64-gnu@15.3.3": - version "15.3.3" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.3.3.tgz#66a15f749c14f04a89f8c7e21c7a8d343fc34e6e" - integrity sha512-VZ3sYL2LXB8znNGcjhocikEkag/8xiLgnvQts41tq6i+wql63SMS1Q6N8RVXHw5pEUjiof+II3HkDd7GFcgkzw== +"@next/swc-linux-arm64-gnu@15.3.5": + version "15.3.5" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.3.5.tgz#d9a405ceec729d62033dbdc48f8c331c544f09fd" + integrity sha512-LVD6uMOZ7XePg3KWYdGuzuvVboxujGjbcuP2jsPAN3MnLdLoZUXKRc6ixxfs03RH7qBdEHCZjyLP/jBdCJVRJQ== -"@next/swc-linux-arm64-musl@15.3.3": - version "15.3.3" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.3.3.tgz#14bd66213f7f33d6909574750bcb05037221a2ac" - integrity sha512-h6Y1fLU4RWAp1HPNJWDYBQ+e3G7sLckyBXhmH9ajn8l/RSMnhbuPBV/fXmy3muMcVwoJdHL+UtzRzs0nXOf9SA== +"@next/swc-linux-arm64-musl@15.3.5": + version "15.3.5" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.3.5.tgz#65f19ad3ecd2881381ec2a149afba261ba180dde" + integrity sha512-k8aVScYZ++BnS2P69ClK7v4nOu702jcF9AIHKu6llhHEtBSmM2zkPGl9yoqbSU/657IIIb0QHpdxEr0iW9z53A== -"@next/swc-linux-x64-gnu@15.3.3": - version "15.3.3" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.3.3.tgz#4a19434545e5e752d9a3ed71f9b34982725f6293" - integrity sha512-jJ8HRiF3N8Zw6hGlytCj5BiHyG/K+fnTKVDEKvUCyiQ/0r5tgwO7OgaRiOjjRoIx2vwLR+Rz8hQoPrnmFbJdfw== +"@next/swc-linux-x64-gnu@15.3.5": + version "15.3.5" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.3.5.tgz#cd7f7e002212360b99f7e791a2d2fedb352f2374" + integrity sha512-2xYU0DI9DGN/bAHzVwADid22ba5d/xrbrQlr2U+/Q5WkFUzeL0TDR963BdrtLS/4bMmKZGptLeg6282H/S2i8A== -"@next/swc-linux-x64-musl@15.3.3": - version "15.3.3" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.3.3.tgz#41ab140dd0a04ab7291adbec5836c1ce251a588c" - integrity sha512-HrUcTr4N+RgiiGn3jjeT6Oo208UT/7BuTr7K0mdKRBtTbT4v9zJqCDKO97DUqqoBK1qyzP1RwvrWTvU6EPh/Cw== +"@next/swc-linux-x64-musl@15.3.5": + version "15.3.5" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.3.5.tgz#302c9e4ace935c963d45fce9584754a19295c452" + integrity sha512-TRYIqAGf1KCbuAB0gjhdn5Ytd8fV+wJSM2Nh2is/xEqR8PZHxfQuaiNhoF50XfY90sNpaRMaGhF6E+qjV1b9Tg== -"@next/swc-win32-arm64-msvc@15.3.3": - version "15.3.3" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.3.3.tgz#fcd1d7e0007b7b73d1acdbf0ad6d91f7aa2deb15" - integrity sha512-SxorONgi6K7ZUysMtRF3mIeHC5aA3IQLmKFQzU0OuhuUYwpOBc1ypaLJLP5Bf3M9k53KUUUj4vTPwzGvl/NwlQ== +"@next/swc-win32-arm64-msvc@15.3.5": + version "15.3.5" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.3.5.tgz#5bbe1434afa2360634d45fc7860a038d11e4e296" + integrity sha512-h04/7iMEUSMY6fDGCvdanKqlO1qYvzNxntZlCzfE8i5P0uqzVQWQquU1TIhlz0VqGQGXLrFDuTJVONpqGqjGKQ== -"@next/swc-win32-x64-msvc@15.3.3": - version "15.3.3" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.3.3.tgz#c0e33e069d7922dd0546cac77a0247ad81d4a1aa" - integrity sha512-4QZG6F8enl9/S2+yIiOiju0iCTFd93d8VC1q9LZS4p/Xuk81W2QDjCFeoogmrWWkAD59z8ZxepBQap2dKS5ruw== +"@next/swc-win32-x64-msvc@15.3.5": + version "15.3.5" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.3.5.tgz#9629b2eac3159c70f3449cecc2a29bfd4bcb2d5a" + integrity sha512-5fhH6fccXxnX2KhllnGhkYMndhOiLOLEiVGYjP2nizqeGWkN10sA9taATlXwake2E2XMvYZjjz0Uj7T0y+z1yw== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -10838,12 +10838,12 @@ neo-async@^2.6.2: resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -next@15.3.3: - version "15.3.3" - resolved "https://registry.npmjs.org/next/-/next-15.3.3.tgz" - integrity sha512-JqNj29hHNmCLtNvd090SyRbXJiivQ+58XjCcrC50Crb5g5u2zi7Y2YivbsEfzk6AtVI80akdOQbaMZwWB1Hthw== +next@15.3.8: + version "15.3.8" + resolved "https://registry.yarnpkg.com/next/-/next-15.3.8.tgz#c7df2fa890c66fa3042e85437e3c1e8e6bd38b26" + integrity sha512-L+4c5Hlr84fuaNADZbB9+ceRX9/CzwxJ+obXIGHupboB/Q1OLbSUapFs4bO8hnS/E6zV/JDX7sG1QpKVR2bguA== dependencies: - "@next/env" "15.3.3" + "@next/env" "15.3.8" "@swc/counter" "0.1.3" "@swc/helpers" "0.5.15" busboy "1.6.0" @@ -10851,14 +10851,14 @@ next@15.3.3: postcss "8.4.31" styled-jsx "5.1.6" optionalDependencies: - "@next/swc-darwin-arm64" "15.3.3" - "@next/swc-darwin-x64" "15.3.3" - "@next/swc-linux-arm64-gnu" "15.3.3" - "@next/swc-linux-arm64-musl" "15.3.3" - "@next/swc-linux-x64-gnu" "15.3.3" - "@next/swc-linux-x64-musl" "15.3.3" - "@next/swc-win32-arm64-msvc" "15.3.3" - "@next/swc-win32-x64-msvc" "15.3.3" + "@next/swc-darwin-arm64" "15.3.5" + "@next/swc-darwin-x64" "15.3.5" + "@next/swc-linux-arm64-gnu" "15.3.5" + "@next/swc-linux-arm64-musl" "15.3.5" + "@next/swc-linux-x64-gnu" "15.3.5" + "@next/swc-linux-x64-musl" "15.3.5" + "@next/swc-win32-arm64-msvc" "15.3.5" + "@next/swc-win32-x64-msvc" "15.3.5" sharp "^0.34.1" no-case@^3.0.4: @@ -11779,12 +11779,12 @@ react-dnd@^14.0.3: fast-deep-equal "^3.1.3" hoist-non-react-statics "^3.3.2" -react-dom@18.3.1, react-dom@19.0.0, react-dom@19.1.0: - version "19.1.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.1.0.tgz#133558deca37fa1d682708df8904b25186793623" - integrity sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g== +react-dom@19.0.0, react-dom@19.2.1: + version "19.2.1" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.2.1.tgz#ce3527560bda4f997e47d10dab754825b3061f59" + integrity sha512-ibrK8llX2a4eOskq1mXKu/TGZj9qzomO+sNfO98M6d9zIPOEhlBkMkBUBLd1vgS0gQsLDBzA+8jJBVXDnfHmJg== dependencies: - scheduler "^0.26.0" + scheduler "^0.27.0" react-i18next@15.5.2: version "15.5.2" @@ -12006,10 +12006,10 @@ react-window@^1.8.11: "@babel/runtime" "^7.0.0" memoize-one ">=3.1.1 <6" -react@*, react@19.0.0, react@19.1.0: - version "19.1.0" - resolved "https://registry.yarnpkg.com/react/-/react-19.1.0.tgz#926864b6c48da7627f004795d6cce50e90793b75" - integrity sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg== +react@19.0.0, react@19.2.1: + version "19.2.1" + resolved "https://registry.yarnpkg.com/react/-/react-19.2.1.tgz#8600fa205e58e2e807f6ef431c9f6492591a2700" + integrity sha512-DGrYcCWK7tvYMnWh79yrPHt+vdx9tY+1gPZa7nJQtO/p8bLTDaHp4dzwEhQB7pZ4Xe3ok4XKuEPrVuc+wlpkmw== readable-stream@^3.4.0: version "3.6.2" @@ -12444,10 +12444,10 @@ scheduler@0.25.0-rc-603e6108-20241029: resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0-rc-603e6108-20241029.tgz" integrity sha512-pFwF6H1XrSdYYNLfOcGlM28/j8CGLu8IvdrxqhjWULe2bPcKiKW4CV+OWqR/9fT52mywx65l7ysNkjLKBda7eA== -scheduler@^0.26.0: - version "0.26.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.26.0.tgz#4ce8a8c2a2095f13ea11bf9a445be50c555d6337" - integrity sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA== +scheduler@^0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.27.0.tgz#0c4ef82d67d1e5c1e359e8fc76d3a87f045fe5bd" + integrity sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q== schema-utils@^4.3.0, schema-utils@^4.3.2: version "4.3.2"