Commit graph

1,376 commits

Author SHA1 Message Date
Rodrigo Nader
1c0626527a Refactor UI styles for better readability
- Modified UI styles in the app, making text more legible and buttons more visually appealing
- Changed chat trigger button to a gradient blue background to improve visibility and user experience
2023-05-22 18:24:52 -03:00
Rodrigo Nader
2d6d781e91 Refactor: Simplify span element code and rename 'documentloaders' to 'Loaders'
This commit simplifies the span element code by removing a padding and renames the 'documentLoaders' property in the object to 'Loaders'.
2023-05-22 17:47:17 -03:00
Gabriel Almeida
3ba7068500 🎨 style(App.tsx): adjust the position of the link to Logspace website
The position of the link to the Logspace website has been adjusted to be more centered on the page. The left margin has been increased by one unit to make it more visually appealing.
2023-05-22 17:39:18 -03:00
Gabriel Almeida
cfca98c2b2 Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-05-22 17:26:54 -03:00
Gabriel Almeida
b247ebcc40 🐛 fix(chatInput): fix chat input resizing issue
 feat(chatModal): add focus to chat input when modal is opened
The chat input was not resizing properly when the user typed more than one line of text. This was fixed by setting the height of the input to the scrollHeight of the input element. Additionally, the chat input is now focused when the chat modal is opened, which improves the user experience.

Fixes Text area is broken #328
2023-05-22 17:26:34 -03:00
Gabriel Almeida
af469d47e7 🐛 fix(chatInput): fix chat input resizing issue
 feat(chatModal): add focus to chat input when modal is opened
The chat input was not resizing properly when the user typed more than one line of text. This was fixed by setting the height of the input to the scrollHeight of the input element. Additionally, the chat input is now focused when the chat modal is opened, which improves the user experience.
2023-05-22 17:25:17 -03:00
Gabriel Almeida
802e5ec31a Format 2023-05-22 16:44:36 -03:00
Gabriel Almeida
13403de3fc 🚀 feat(App.tsx): add version number to the footer
The version number is now displayed in the footer of the application. The version number is fetched from the server using the /version endpoint and displayed in the footer. This allows users to easily identify which version of the application they are using.
2023-05-22 08:39:39 -03:00
Gabriel Almeida
3c3576e0ad Format 2023-05-22 08:39:03 -03:00
Gabriel Almeida
6dcd267bfa 🔖 chore(pyproject.toml): update langchain version to 0.0.176
🔖 chore(pyproject.toml): bump up package version to 0.0.75
The langchain package version has been updated to 0.0.176 to include the latest changes and improvements. The package version has also been bumped up to 0.0.75 to reflect the changes made to the dependencies.
2023-05-22 08:24:13 -03:00
Gabriel Almeida
5635a86f04 🐛 fix(tabsContext.tsx): add null check for flow.data to prevent errors
The code now checks if flow.data is null before iterating over its nodes. This prevents errors that would occur when flow.data is null.
2023-05-22 08:21:52 -03:00
Gabriel Almeida
4998838853 format 2023-05-22 08:21:29 -03:00
Gabriel Almeida
9860b12b91 remove line-clamp as it is in tailwind by default now 2023-05-22 08:19:59 -03:00
Gabriel Almeida
e4e0049c2b Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-05-22 08:02:45 -03:00
Gabriel Luiz Freitas Almeida
b277c0bf1a
node updating template, base classes and description (#326) 2023-05-22 08:02:00 -03:00
Gabriel Almeida
aeba16fa8a 🔥 chore(lcserve.py): remove unused import statements
The import statements for pathlib.Path and fastapi.staticfiles.StaticFiles were not used in the code and were therefore removed to improve code readability and maintainability.
2023-05-22 07:46:40 -03:00
anovazzi1
5090cdae7e
Retry_get_all (#324)
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-22 00:24:10 -03:00
anovazzi1
a6c9c28792 removed useless comment 2023-05-22 00:22:05 -03:00
anovazzi1
e85c918e6f node updating update node template, base classes and description 2023-05-19 17:18:41 -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 Luiz Freitas Almeida
f8ba1fc2a2
chore: lint fix (#320) 2023-05-18 10:42:36 -03:00
Deepankar Mahapatro
18aaede030 chore: lint fix 2023-05-18 16:55:40 +05:30
Gabriel Luiz Freitas Almeida
697652e729
feat: deploy langflow using langchain-serve (#307) 2023-05-18 07:40:18 -03:00
Deepankar Mahapatro
601dd6d560 chore: update to latest lc-serve 2023-05-18 12:58:00 +05:30
Deepankar Mahapatro
fd638994cb
Merge branch 'logspace-ai:dev' into dev 2023-05-18 12:06:14 +05:30
Gabriel Almeida
1338fa3521 refactor(embeddings/base.py): add EmbeddingFrontendNode as a property of EmbeddingCreator
fix(loading.py): remove headers from params before instantiating embedding
refactor(nodes.py): add EmbeddingFrontendNode and hide headers field in it
2023-05-17 15:14:06 -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 Luiz Freitas Almeida
0ed4475c6d
Validation_fix (#317) 2023-05-17 14:21:52 -03:00
Gabriel Almeida
3810589876 format 2023-05-17 12:54:10 -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
0e200d8992 fix(validate.py): return exception message in response when validation fails 2023-05-17 12:19:24 -03:00
Gabriel Almeida
a921a83d27 Merge remote-tracking branch 'origin/main' into dev 2023-05-17 10:54:51 -03:00
anovazzi1
04bd055c52
Hotfix: saving flow flow in the browser local storage (#315)
hotfix for keeping the flow when the browser refresh, saving flow
locally.
2023-05-17 10:40:08 -03:00
anovazzi1
f5a12b7312 update pyproject.toml 2023-05-17 10:34:37 -03:00
anovazzi1
df00fbe32e flow saving itself in local browser history 2023-05-17 10:30:36 -03:00
Deepankar Mahapatro
a2e5fab637 ci: trigger workflow during release 2023-05-17 16:36:13 +05:30
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
5bb9b52571 feat(stale.yml): add stale.yml configuration file for issue stale bot
Add stale.yml configuration file for issue stale bot. The configuration file sets the number of days of inactivity before an issue becomes stale, the number of days of inactivity before a stale issue is closed, the exempt labels that will never be considered stale, the label to use when marking an issue as stale, and the comment to post when marking an issue as stale.
2023-05-16 17:43:31 -03:00
Deepankar Mahapatro
f01a294208 docs: update readme about jcloud deployment 2023-05-16 22:08:47 +05:30
Deepankar Mahapatro
4abc2cac74 ci: trigger workflow during release 2023-05-16 21:26:59 +05:30
Deepankar Mahapatro
fb9c76e610
Merge branch 'dev' into dev 2023-05-16 21:22:49 +05:30
Deepankar Mahapatro
1614c6f24b ci: trigger workflow during release 2023-05-16 21:21:06 +05:30
Deepankar Mahapatro
de82a1b35f
ci: update test-push.yml 2023-05-16 21:17:24 +05:30
Deepankar Mahapatro
7030be8132
ci: update test-push.yml 2023-05-16 21:12:55 +05:30
Deepankar Mahapatro
3fcc4708c0
ci: update test-push.yml 2023-05-16 21:12:06 +05:30
Deepankar Mahapatro
d982897a41 ci: test push trigger 2023-05-16 20:31:09 +05:30
Gabriel Almeida
7b9b3968b0 chore(pyproject.toml): update langchain dependency from 0.0.166 to 0.0.170 2023-05-16 11:55:27 -03:00