Commit graph

323 commits

Author SHA1 Message Date
anovazzi1
a6c9c28792 removed useless comment 2023-05-22 00:22:05 -03:00
Gabriel Almeida
c93c4627d0 feat(typesContext.tsx): add retry logic to getAll API call
This commit adds retry logic to the getAll API call in the TypesProvider component. The retry logic will attempt to make the API call up to 5 times with an increasing delay between each attempt. If the API call is successful, the state of the component will be updated with the retrieved data. If the component is unmounted before the API call resolves, the state will not be updated.
2023-05-19 10:07:13 -03:00
Gabriel Almeida
0d43252478 format 2023-05-19 10:06:59 -03:00
Gabriel Almeida
e1120bba4e style(chatModal): format code with prettier
This commit formats the code in the chatModal component using prettier to
make it more readable and consistent. No functional changes were made.
2023-05-19 10:05:32 -03:00
Gabriel Almeida
f6d977f139 style(nodes, GenericNode): fix indentation and add line breaks for readability 2023-05-17 14:46:36 -03:00
Gabriel Almeida
9411239a5b feat(GenericNode): add validation status icons and tooltips to node parameters and fix validation status state update 2023-05-17 12:50:42 -03:00
Gabriel Almeida
a921a83d27 Merge remote-tracking branch 'origin/main' into dev 2023-05-17 10:54:51 -03:00
anovazzi1
df00fbe32e flow saving itself in local browser history 2023-05-17 10:30:36 -03:00
Gabriel Almeida
e1df1ad00e style(chatTrigger): adjust position of chat trigger button to be more centered on the bottom of the screen 2023-05-16 19:31:03 -03:00
Gabriel Almeida
f8b8fe5892 feat(vite.config.ts): add /version and /health to apiRoutes list. 2023-05-16 19:02:49 -03:00
Gabriel Almeida
b0ded58d1e feat(docker-compose.yml): add VITE_PROXY_TARGET environment variable to frontend service
feat(frontend/dev.Dockerfile): change npm start command to npm run dev:docker
feat(frontend/package.json): add dev:docker script to run vite with host 0.0.0.0
feat(frontend/vite.config.ts): use environment variable to determine the target for proxying requests
2023-05-15 19:08:49 -03:00
Gabriel Almeida
50165ce789 style(chatMessage): fix formatting and add const keyword to convert variable in both files
feat(chatMessage): add newline option to ansi-to-html Convert constructor in both files
2023-05-15 14:58:16 -03:00
Gabriel Almeida
d3ed0cd7c9 Merge branch 'main' into dev 2023-05-15 14:46:59 -03:00
anovazzi1
64c0cfad2a
Merge branch 'main' into HotFix 2023-05-15 10:35:32 -03:00
anovazzi1
bb4ab77926
Hotfix: Save Flow Bug in Browser (#304)
This pull request addresses a small bug related to saving flows in the
browser. The bug was causing failures and inconsistent behavior.
2023-05-15 10:32:49 -03:00
anovazzi1
3b12a76a65 removed save on browser application state to prevent bugs and fixed error on star for websockets 2023-05-15 10:25:27 -03:00
Gabriel Almeida
aac72b894a style(ApiModal): fix indentation in SyntaxHighlighter className prop
refactor(ApiModal): add json import to pythonApiCode to fix json.loads error
2023-05-15 10:10:00 -03:00
Dogtiti
f9e4b8bcf3 fix: duplicated lodash 2023-05-13 21:10:56 +08:00
Sai Vinay G
d0eac5e5a0 Merge branch 'dev' of https://github.com/gsaivinay/langflow into dev 2023-05-12 15:02:26 +00:00
Your Name
2f8a6e3256 migrating to Vite 2023-05-12 14:33:14 +00:00
Lucas Oliveira
50ba94e470 Changed API modal to include Python code 2023-05-12 08:43:43 -03:00
Lucas Oliveira
a80bf37be4 Merge branch 'frontChanges' of github.com:logspace-ai/langflow into frontChanges 2023-05-11 23:41:33 -03:00
Lucas Oliveira
8acde598c4 Changed alerts dark mode classes 2023-05-11 23:36:41 -03:00
Lucas Oliveira
64010cd2f4 changed dark mode at node modal 2023-05-11 23:20:27 -03:00
Lucas Oliveira
1fb5fd6e45 changed alert dark mode classes 2023-05-11 23:18:38 -03:00
Lucas Oliveira
3fde0df580 changed dark mode classes 2023-05-11 23:18:30 -03:00
Lucas Oliveira
3b68fef647 changed dark mode classes, added X icon to chat, changed icon of AI 2023-05-11 22:57:01 -03:00
anovazzi1
b1b8ba3f38 removed tooltip prom import card 2023-05-11 22:27:17 -03:00
anovazzi1
7bf5d27379 Merge branch 'dev' into FixCopyPaste 2023-05-11 21:50:06 -03:00
anovazzi1
5a0a9221b9 fixed copy and paste bug 2023-05-11 21:46:55 -03:00
Gabriel Almeida
0d43a9b32b fixed python code 2023-05-11 19:48:56 -03:00
Lucas Oliveira
6f42514fd5 Fixed Dark Mode on Import screen 2023-05-11 19:31:37 -03:00
Lucas Oliveira
9496728eb5 Fixed Python API code 2023-05-11 18:58:07 -03:00
Lucas Oliveira
2589b1f468 Fixed dark mode classes on FileInput 2023-05-11 14:01:59 -03:00
Lucas Oliveira
6030b47915 Removed JS from API modal 2023-05-11 14:00:29 -03:00
Lucas Oliveira
97c60eaa5d Merge branch 'dev' into frontChanges 2023-05-11 13:59:12 -03:00
Gabriel Almeida
7fbce31a50 refactor(chatModal): improve code readability and formatting 2023-05-11 11:28:12 -03:00
Gabriel Almeida
03e9edd8b7 Merge branch 'dev' of https://github.com/logspace-ai/langflow into streaming 2023-05-11 09:31:28 -03:00
Lucas Oliveira
23f349a2d8 Fixed typo in class at API modal 2023-05-11 00:04:23 -03:00
Lucas Oliveira
d01db97cd3 Changed Chat modal to work with dark mode 2023-05-11 00:00:17 -03:00
Lucas Oliveira
2961fc25a7 ApiModal dark mode fixed 2023-05-10 23:56:20 -03:00
Gabriel Almeida
fc20775fdb Merge branch 'streaming' of https://github.com/logspace-ai/langflow into streaming 2023-05-10 22:44:02 -03:00
Gabriel Almeida
374a6c8f46 style(fileComponent): add dark mode support to file download button and tooltip background color and text color 2023-05-10 22:41:28 -03:00
anovazzi1
84d0c28c2f fixed padding 2023-05-10 22:38:20 -03:00
Gabriel Almeida
1f4f734dc3 changed padding button, and chat 2023-05-10 22:31:10 -03:00
anovazzi1
9a63329dc7 fix spacing 2023-05-10 22:09:57 -03:00
anovazzi1
b1e5e4fd19 formated all code inside the src folder 2023-05-10 21:18:29 -03:00
anovazzi1
32972b0f8a added error handling 2023-05-10 20:30:14 -03:00
anovazzi1
6431392576 implemented image setup 2023-05-10 19:44:41 -03:00
Lucas Oliveira
5d6d50d537 api modal fixed with code viewer 2023-05-10 15:49:57 -03:00