Commit graph

2,427 commits

Author SHA1 Message Date
Lucas Oliveira
5de0b2d5ad Fixed input types logic on tooltip 2023-07-31 10:28:03 -03:00
Lucas Oliveira
2ec4cf1a55 Fixed logic of getting tooltips, added description when tooltip is empty 2023-07-31 09:57:06 -03:00
Lucas Oliveira
3683c01102 Added scroll on tooltip, added logic to check base_classes in flow nodes before the /all list 2023-07-31 08:41:52 -03:00
Lucas Oliveira
1590aa491a Optimized groupByFamily and implemented output tooltip showing the nodes that receive its output 2023-07-28 21:26:08 -03:00
anovazzi1
735f2556c2 Merge branch 'python_custom_node_component' of personal:logspace-ai/langflow into python_custom_node_component 2023-07-28 16:09:13 -03:00
Lucas Oliveira
638f450ead Fixed bug showing on console from Unknown 2023-07-28 15:05:10 -03:00
Lucas Oliveira
df8d84d07f Fixed unknown node not showing 2023-07-28 14:59:40 -03:00
anovazzi1
48995ce849 Merge branch 'python_custom_node_component' of personal:logspace-ai/langflow into python_custom_node_component 2023-07-28 14:58:26 -03:00
anovazzi1
199052e754 fix(extraSidebarComponent): add useEffect hook to show components with errors on load
fix(extraSidebarComponent): update key prop in ShadTooltip component to use unique value
fix(extraSidebarComponent): update draggable attribute in component div to be disabled if there is an error
feat(api): add error property to APIClassType to indicate if there is an error in the component
2023-07-28 14:58:05 -03:00
Lucas Oliveira
148483ed56 Fixed key bug inside accordion 2023-07-28 14:51:06 -03:00
Lucas Oliveira
1ea05b3584 Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component 2023-07-28 14:49:11 -03:00
Lucas Oliveira
641bcb4a58 Fixed unique keys bug 2023-07-28 14:48:40 -03:00
Gabriel Luiz Freitas Almeida
397c665536 Merge branch 'python_custom_node_component' into ChatWidgetAPI 2023-07-27 17:38:35 -03:00
Gabriel Luiz Freitas Almeida
0b28d5d8de format 2023-07-27 17:36:34 -03:00
Igor Carvalho
bdcee2ba17 refactor: Add more types and remove unnused value property 2023-07-27 15:34:56 -03:00
Cristhian Zanforlin Lousa
07b5419586 🔧 chore(constants.ts): add URL_EXCLUDED_FROM_ERROR_RETRIES constant to store URLs excluded from error retries for better error handling
🔧 chore(api.tsx): add logic to exclude certain URLs from error retries in the ApiInterceptor component to improve error handling
🔧 chore(index.ts): update postCustomComponent function to use the api instance instead of axios for consistency and reusability
2023-07-27 14:59:11 -03:00
Cristhian Zanforlin Lousa
f4793940b0 🐛 fix(tabsContext.tsx): add missing import statement for addVersionToDuplicates function
 feat(tabsContext.tsx): add version number to duplicate flow names to ensure uniqueness
🐛 fix(reactflowUtils.ts): add missing newline at end of file
2023-07-27 14:46:20 -03:00
Gabriel Luiz Freitas Almeida
d9816902e4 🐛 fix(GenericNode/index.tsx): fix rendering of validationStatus.params when it is a string 2023-07-27 09:56:15 -03:00
anovazzi1
3d103398e3 fix(codeAreaModal): clear error state when setting value to code and closing modal to prevent displaying previous errors 2023-07-27 09:46:29 -03:00
Gabriel Luiz Freitas Almeida
34008bf3d0 🔄 refactor(index.tsx): reorder import statements for better readability and consistency 2023-07-27 07:02:48 -03:00
Lucas Oliveira
492371b185 Fixed Save With My API keys toggle 2023-07-26 23:25:19 -03:00
Igor Carvalho
498d0b0423 Merge branch 'types_refactor' of github.com:logspace-ai/langflow into types_refactor 2023-07-26 23:01:12 -03:00
Igor Carvalho
289a3f5d83 Remove console.log 2023-07-26 23:01:07 -03:00
Lucas Oliveira
ae83c987a5 Added documentation link to the description of the Api Tab 2023-07-26 23:00:51 -03:00
Igor Carvalho
7804ca9eaf refactor: Add more types 2023-07-26 22:59:55 -03:00
Igor Carvalho
e5ac8c5211
Merge branch 'dev' into types_refactor 2023-07-26 18:38:14 -03:00
Igor Carvalho
c69eb33d24 fix pull problems 2023-07-26 18:31:15 -03:00
Igor Carvalho
0d92a62759 Merge dev into types_refactor 2023-07-26 18:26:22 -03:00
anovazzi1
011dd98050 fixed bug on check and save 2023-07-26 16:44:15 -03:00
Lucas Oliveira
1124b10308 Changed comment to exemplify better 2023-07-26 16:20:39 -03:00
Lucas Oliveira
8df8875e7e Added description to Chat Widget HTML and changed comment from code 2023-07-26 16:04:11 -03:00
Lucas Oliveira
f4396fd6ea Fixed tooltip not appearing 2023-07-26 15:43:59 -03:00
Lucas Oliveira
aeb7b91446 Changed code to show how it is used. 2023-07-26 15:37:18 -03:00
Lucas Oliveira
eb0883231b Changed way of disabling sidebar button; Disabled API button before building. 2023-07-26 15:36:35 -03:00
Lucas Oliveira
40daa06d75 Added class 2023-07-26 14:16:34 -03:00
Lucas Oliveira
e90d05b711 Fixed button spacing at Sidebar 2023-07-26 14:15:42 -03:00
Lucas Oliveira
30779cb827 Ignore formatting 2023-07-26 14:12:23 -03:00
gustavoschaedler
ba02e99ec5 🔄 refactor(index.tsx): reorder import statements for better organization and readability 2023-07-26 18:02:12 +01:00
Gabriel Luiz Freitas Almeida
28149ddb6c 🔧 fix(index.css): remove unnecessary whitespace and comments for better code readability
 feat(index.css): add support for beta background and foreground colors to improve visual design and user experience

🔧 chore(styles.css): reorganize color variables for better readability and maintainability
2023-07-26 10:00:34 -03:00
Lucas Oliveira
8d1fda5760 Changed class name to not interfere with default tailwind class 2023-07-26 08:10:22 -03:00
Lucas Oliveira
b6592d8567 Fixed order of imports 2023-07-26 08:06:57 -03:00
Lucas Oliveira
a308ecbc4f Formatting 2023-07-26 07:55:38 -03:00
Gabriel Luiz Freitas Almeida
02ca9739a0 Merge branch 'dev' into python_custom_node_component 2023-07-26 07:55:25 -03:00
Lucas Oliveira
a624cee8db Added Chat Widget HTML API Tab 2023-07-26 07:55:12 -03:00
Lucas Oliveira
d79f58cfb5
Notification modal refactor (#683)
This pull request refers to the Notification Center modal refactor,
deleting permanently the PopupContext way of showing the popup, and
utilizing the Popover component from ShadCN to display it.
2023-07-26 07:13:35 -03:00
Igor Carvalho
91e0bf7a01 refactor: Change types to types folder 2023-07-25 20:43:11 -03:00
Igor Carvalho
ff2eb2d13d refactor[genericIconComponent]: Refactor icon to type it properly 2023-07-25 19:48:13 -03:00
Igor Carvalho
b70ed70788 refactor[index.css]: Refactor index.css 2023-07-25 19:03:04 -03:00
anovazzi1
e232d33c07 feat(EditFlowSettingsComponent): add validation for duplicate flow names
- Added `invalidName` and `setInvalidName` props to `EditFlowSettings` component to handle validation for duplicate flow names.
- Added `nameLists` useRef to store the list of flow names fetched from the database.
- Added `useEffect` to fetch the flow names from the database and populate `nameLists` useRef.
- Modified `handleNameChange` function to check if the entered name already exists in `nameLists` useRef and set `invalidName` accordingly.
- Added a new span element to display an error message if the name is already in use.

fix(flowSettingsModal): disable save button when the flow name is invalid

- Added `invalidName` and `setInvalidName` states to `FlowSettingsModal` component to handle the validation for invalid flow names.
- Passed `invalidName` and `setInvalidName` props to `EditFlowSettings` component.
- Disabled the save button when `invalidName` is true.
2023-07-25 18:49:52 -03:00
Igor Carvalho
f11c41644c refactor[utils.ts]: Remove and change wrong types 2023-07-25 18:01:35 -03:00