Commit graph

4,642 commits

Author SHA1 Message Date
cristhianzl
9cd3bd751e chore: Update use-on-file-drop.tsx to use refreshFolders instead of getFoldersApi 2024-06-13 17:44:21 -03:00
cristhianzl
0bbecc9bab refactor: Refresh folders after adding a new folder in SideBarFoldersButtonsComponent 2024-06-13 17:44:12 -03:00
cristhianzl
75c13f4f20 chore: Refactor loadingFolders variable name in SidebarNav component 2024-06-13 17:44:06 -03:00
cristhianzl
bc50e010d4 feat: Add Case component to App for conditional rendering 2024-06-13 17:43:35 -03:00
cristhianzl
7313e5807b ♻️ (foldersStore.tsx): remove redundant loadingById state and setLoadingById function
🐛 (foldersStore.tsx): fix fallback to getFoldersApi on getFolderById failure
2024-06-13 16:08:58 -03:00
cristhianzl
e81870fd73 merge fix 2024-06-13 15:23:15 -03:00
ogabrielluiz
abb0f81843 chore: Remove pretty-quick from package.json and package-lock.json 2024-06-13 12:21:19 -03:00
ogabrielluiz
627c094907 chore: Remove simple-git-hooks from package.json 2024-06-13 12:19:39 -03:00
ogabrielluiz
90798a91ea Format code 2024-06-13 12:13:27 -03:00
anovazzi1
ea305b824c chore: Update displayOutputPreview logic in ParameterComponent 2024-06-13 12:01:02 -03:00
cristhianzl
80634f9547 🐛 (index.tsx): remove debugger statement to clean up code
♻️ (index.tsx): remove unnecessary trailing commas for consistency
🐛 (foldersStore.tsx): add optional chaining to handle potential undefined responses
♻️ (foldersStore.tsx): remove unnecessary trailing commas for consistency
2024-06-13 09:52:20 -03:00
cristhianzl
84df4fd8e4 ♻️ (authContext.tsx): remove unused import and comment out unused code
🐛 (flowSettingsModal): fix potential null reference error in useEffect dependencies
2024-06-13 09:33:03 -03:00
cristhianzl
45963ffce0 ♻️ (index.tsx): remove unnecessary trailing commas to improve code readability
🐛 (index.tsx): fix conditional rendering of Download option in toolbar
 (ProfilePictureForm): add setLoading(false) after updating state to ensure loading state is reset
2024-06-12 19:43:41 -03:00
cristhianzl
716bd2f65b Refactor code to handle artifacts in chat messages and improve error handling 2024-06-12 17:50:51 -03:00
cristhianzl
5c9af97bb1 Refactor chatView component to handle artifacts in chat messages 2024-06-12 15:47:15 -03:00
anovazzi1
fdf44f6bc8
Refactor chatView component and improve error handling (#2144)
* Refactor chatView component to handle artifacts in chat messages, fixing bug on streamed messages after refresh

* Improve error handling and error messages in CustomNodes hooks to provide more informative and user-friendly error messages. This ensures that users are aware of any unexpected errors that occur while updating or adding components, and prompts them to try again. This change also aligns with recent improvements in error handling across the codebase.

* ♻️ (utils.ts): remove unnecessary trailing commas in function parameters

*  (frontend): add constants for error messages in CustomNodes hooks
♻️ (frontend): refactor error handling in CustomNodes hooks to use constants

* feat: Add constants for error messages in CustomNodes hooks

Refactor error handling in CustomNodes hooks to use constants for error messages. This improves code readability and maintainability, ensuring consistent error messages are displayed to users. This change aligns with recent improvements in error handling across the codebase.

* refactor: Improve error handling and error messages in CustomNodes hooks

* refactor: Improve error handling and error messages in CustomNodes hooks

* refactor: Improve error handling and error messages in CustomNodes hooks

* refactor: Add missing click event in codeAreaModalComponent.spec.ts

* refactor: Update cURL code generation to use icon-Copy test ID for button click

* refactor: Improve error handling and error messages in CustomNodes hooks

* refactor: Remove unnecessary click event in logs.spec.ts

* refactor: Fix XPath selectors in textInputOutput.spec.ts

* fix python api test

* refactor: Update cURL code generation to use icon-Copy test ID for button click

* fix save component

* refactor: Update API key selection in userSettings.spec.ts

* refactor: Update promptModalComponent.spec.ts

* refactor: Update chatInputOutput.spec.ts for zoom out functionality

* refactor: Add return_message option to ChatInput build_config

* fix streaming

* update example

* update example name

* refactor: Update chatInputOutputUser.spec.ts test to improve readability and maintainability

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
2024-06-12 13:05:31 -03:00
cristhianzl
191fae732c ♻️ (GenericNode): refactor to use optional chaining for template fields
♻️ (count-handles): refactor to use optional chaining for template fields

♻️ (get-nodes-with-default-value): refactor to use optional chaining

♻️ (nodeToolbarComponent): refactor to use optional chaining for template fields

💡 (utils.ts): remove unnecessary trailing commas in function parameters to improve code readability and consistency
2024-06-12 12:43:35 -03:00
cristhianzl
7fc92e2e9c 🐛 (flowSettingsModal): set isSaving to false on error to fix loading state 2024-06-12 10:59:22 -03:00
Lucas Oliveira
79e52d49b1 Changed info buttons to have Help cursor 2024-06-11 18:44:24 -03:00
Lucas Oliveira
1b23952026 Removed status when not built, adjusted Loading to have a Size 2024-06-11 18:42:34 -03:00
cristhianzl
6c081d04d3 Merge branch 'dev' of https://github.com/langflow-ai/langflow into dev 2024-06-11 15:47:04 -03:00
cristhianzl
742f93e229 💡 (index.tsx): remove trailing commas for cleaner code formatting
 (tests): remove unnecessary keyboard press and fix formatting in chatInputOutputUser.spec.ts
 (tests): update selector for copy button in curl_api_generation.spec.ts
 (tests): fix formatting in intComponent.spec.ts

 (tests): update end-to-end tests for improved stability and clarity

- Remove redundant "Close" button clicks in logs and textInputOutput tests
- Add "more-options-modal" click in promptModalComponent and saveComponents tests
- Replace role-based selectors with test ID selectors for "Copy Code" button
- Update API key section text in userSettings test for consistency
2024-06-11 15:46:59 -03:00
Lucas Oliveira
5dd0df05a0 Changed status circle to icon 2024-06-11 15:16:26 -03:00
Lucas Oliveira
4f47bf11cb Formatted flows 2024-06-11 15:11:45 -03:00
ogabrielluiz
3a3055479f Fix streaming 2024-06-11 13:05:48 -03:00
Lucas Oliveira
8e50859222 Fixed package lock and added cursor pointer to status icon 2024-06-11 13:03:00 -03:00
Lucas Oliveira
23e25cad7a Merge remote-tracking branch 'origin/cz/mergeAll' into fix/minor_ui_adjustments 2024-06-11 12:39:08 -03:00
Lucas Oliveira
af56de33e9 Fixed padding on buttons 2024-06-11 12:35:52 -03:00
Lucas Oliveira
c13800de5f Added grabbing cursor when grabbing node 2024-06-11 12:33:15 -03:00
Lucas Oliveira
9cde3ef1ee Added Status button and fixed positioning of Node Header elements 2024-06-11 12:32:58 -03:00
Lucas Oliveira
b2c09fc82c Removed hover bg from outline badge 2024-06-11 12:32:18 -03:00
Lucas Oliveira
15c28110c4 Added nocopy nowheel nopan classes on buttons 2024-06-11 12:31:54 -03:00
cristhianzl
20724b8f50 fix actions mains 2024-06-11 12:06:05 -03:00
cristhianzl
eee3475451 Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-11 09:13:15 -03:00
cristhianzl
34626f0531 merge dev 2024-06-11 09:12:52 -03:00
Jordan Frazier
a5752cdc14
fix: ensure tweaks object exists (#2134)
* ensure tweaks object exists

* Make similar change for python code
2024-06-11 05:05:31 -07:00
Rodrigo
39c7494f40 add markdown to description 2024-06-11 00:28:43 -03:00
igorrCarvalho
33b1ee8365 Feat: Add shortcut for output inspection and play component 2024-06-10 23:24:57 -03:00
Rodrigo
49bdbef548 refactor: Improve advanced options in ChatComponent, URLComponent, and MessageHistoryComponent 2024-06-10 21:27:47 -03:00
igorrCarvalho
1aca27e5f3 Fix: update shortcut not working 2024-06-10 20:50:35 -03:00
igorrCarvalho
e9f63edacd Refactor: update shortcut name 2024-06-10 20:41:10 -03:00
igorrCarvalho
b1d399662c Refactor: change default API modal shortcut 2024-06-10 20:38:18 -03:00
igorrCarvalho
420bf4ba4d Refactor: Decrease visual shortcut font size 2024-06-10 20:32:45 -03:00
cristhianzl
79615816a4 Merge branch 'cz/mergeAll' into fix/minor_ui_adjustments 2024-06-10 20:07:26 -03:00
cristhianzl
3cda01b9c6 Merge branch 'fix/minor_ui_adjustments' of https://github.com/langflow-ai/langflow into fix/minor_ui_adjustments 2024-06-10 20:06:41 -03:00
cristhianzl
972f44ce7b 🐛 (chat.py): add check for message.text being a string to prevent errors
♻️ (index.ts): refactor variable names for clarity and add debug logging
♻️ (IOModal/index.tsx): reformat code for better readability and consistency
 (IOModal/index.tsx): add excluded fields parameter to getMessagesTable calls
2024-06-10 20:06:31 -03:00
igorrCarvalho
fe49ba9e23 Refactor: remove delete visual shortcut background color on hover 2024-06-10 19:57:55 -03:00
Lucas Oliveira
50aa95a0b7 Fixed Add New Variable button not working at the dropdown 2024-06-10 19:41:39 -03:00
Lucas Oliveira
40f42db9a8 Fixed global variables not setting on EditNodeModal 2024-06-10 19:39:15 -03:00
Lucas Oliveira
387ec2304e removed margin from button 2024-06-10 19:18:26 -03:00