fix: reorder playground messages, fix scroll behavior (#7928)
* updated vite-env to stop svg loading lint errors * added scroll direction package * added new Chat Scroll Anchor * removed scroll handling from chat message * added scroll handling on chat view * removed console.log * Removed validator from table and added on messagebase * removed validator from model * changed to scroll down after error * [autofix.ci] apply automated fixes * fixed not scrolling to bottom * fix constant * refactor: update MessageTable model configuration for validation and type allowance * refactor: update properties type in MessageTable model and adjust validation logic * refactor: update content_blocks type in MessageTable model to allow dict or ContentBlock * Fix playground failing when it's Run Flow --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
This commit is contained in:
parent
5f900c9296
commit
be1caf2b61
8 changed files with 139 additions and 65 deletions
13
src/frontend/package-lock.json
generated
13
src/frontend/package-lock.json
generated
|
|
@ -27,6 +27,7 @@
|
|||
"@radix-ui/react-switch": "^1.0.3",
|
||||
"@radix-ui/react-tabs": "^1.0.4",
|
||||
"@radix-ui/react-tooltip": "^1.0.7",
|
||||
"@smakss/react-scroll-direction": "^4.2.0",
|
||||
"@tabler/icons-react": "^3.6.0",
|
||||
"@tailwindcss/forms": "^0.5.7",
|
||||
"@tailwindcss/line-clamp": "^0.4.4",
|
||||
|
|
@ -4307,6 +4308,18 @@
|
|||
"url": "https://github.com/sindresorhus/is?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/@smakss/react-scroll-direction": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@smakss/react-scroll-direction/-/react-scroll-direction-4.2.0.tgz",
|
||||
"integrity": "sha512-Nim3WSq53mvTfXOpYAJMaXTbXD2vL9Zjip87FHRXtb84uLJn83dBkF8/nKENCCvWqL4p4xcdRPVXsX3DhHJbVA==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=16.8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@socket.io/component-emitter": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue