ogabrielluiz
6784332bb3
Merge remote-tracking branch 'origin/dev' into two_edges
2024-06-14 14:13:42 -03:00
cristhianzl
3ea0c7b03a
♻️ (tableComponent): disable row animations to improve performance
...
♻️ (flowLogsModal): use useMemo for TableComponent to optimize rendering
2024-06-14 13:40:35 -03:00
cristhianzl
f1512ab015
merge fix
2024-06-14 13:27:05 -03:00
Cristhian Zanforlin Lousa
f520e0bf77
Fix error on React Flow with Auto Login = False ( #2164 )
...
This pull request addresses several improvements and fixes to enhance
the overall functionality and user experience. The key changes include:
- Improved Folders Behavior Context
- Enhanced Duplicate Request Blocker
- Bug Fix: Folders Compatibility with AutoLogin = False
2024-06-14 13:23:39 -03:00
cristhianzl
71e8aa00cf
🐛 (utils.ts): add optional chaining to base_classes to prevent runtime errors
2024-06-14 13:23:03 -03:00
cristhianzl
2f1a7081b9
fix merge on tests
2024-06-14 11:52:23 -03:00
cristhianzl
6f0ddc78c7
refactor: Update chatInputOutput.spec.ts to improve chat input/output interaction
2024-06-14 11:50:27 -03:00
cristhianzl
04f578f8be
✅ (floatComponent.spec.ts): update test values and remove redundant checks
...
✅ (inputListComponent.spec.ts): correct test IDs and update element counts
✅ (promptModalComponent.spec.ts): fix incorrect locator ID
✅ (textAreaModalComponent.spec.ts): fix incorrect locator ID
✅ (textInputOutput.spec.ts): update hover element locator for accuracy
2024-06-14 11:49:16 -03:00
cristhianzl
57a7b2baab
♻️ (use-delete-folder.tsx): remove unused refreshFolders variable to clean up code
2024-06-14 09:45:53 -03:00
cristhianzl
705311982c
formatting files
2024-06-14 09:40:48 -03:00
cristhianzl
ec1a0fafe5
♻️ (use-delete-folder.tsx): replace refreshFolders with getFoldersApi for better API call management
2024-06-14 09:34:59 -03:00
italojohnny
2d692a6701
Merge branch 'dev' into two_edges_dev
2024-06-14 09:31:14 -03:00
italojohnny
902e616286
Merge branch 'two_edges' into two_edges_dev
2024-06-14 09:29:50 -03:00
Rodrigo
505ca31467
refactor: Update TextOperatorComponent to handle default outputs
2024-06-14 01:09:31 -03:00
cristhianzl
41fc846107
refactor: Update FoldersStoreType to use isLoadingFolders instead of loading
2024-06-13 17:46:14 -03:00
cristhianzl
33b3a9ee7e
refactor: Update getFoldersApi to handle startup application and improve code readability
2024-06-13 17:46:06 -03:00
cristhianzl
9dd56b0412
refactor: Update MainPage component to remove unused code and improve folder deletion handling
2024-06-13 17:45:58 -03:00
cristhianzl
5462aeee3e
refactor: Update useDeleteFolder hook to use refreshFolders instead of getFoldersApi
2024-06-13 17:45:50 -03:00
cristhianzl
6450b52c40
chore: Remove unused code in HeaderTabsSearchComponent
2024-06-13 17:45:41 -03:00
cristhianzl
a1cd3be237
feat: Add useFlowsManagerStore to LoginPage for managing loading state during login
2024-06-13 17:45:27 -03:00
cristhianzl
68201bb0d5
feat: Add setLoading to LoginAdminPage for displaying loading state during login
2024-06-13 17:45:16 -03:00
cristhianzl
e66286662e
refactor: Improve duplicate request handling in checkDuplicateRequestAndStoreRequest function
2024-06-13 17:45:09 -03:00
cristhianzl
a49cd49eee
refactor: Remove console.log statement in getMessagesTable function
2024-06-13 17:45:02 -03:00
cristhianzl
b9e1a3c0c5
fix: Handle duplicate requests in ApiInterceptor
2024-06-13 17:44:46 -03:00
cristhianzl
4358ff5255
chore: Update authContext to useFolderStore for getting folders
2024-06-13 17:44:36 -03:00
cristhianzl
8980b66bec
refactor: Update TableComponent to use optional chaining for hiding overlay
2024-06-13 17:44:28 -03:00
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
Lucas Oliveira
3dbc648f00
Changed Reload Components to Refresh All
2024-06-13 17:00:55 -03:00
Lucas Oliveira
f821036f3e
Fixed hidden outputs dropdown maintaining state even if every output is shown
2024-06-13 17:00:55 -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
italojohnny
f0630ec870
Merge branch 'dev' into two_edges_dev
2024-06-13 15:58:33 -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
anovazzi1
8a98f4c53d
refactor: Update InputListComponent to fix button behavior
...
Fix the button behavior in the InputListComponent to correctly handle the index comparison. Previously, the button was only rendered for the first element in the list, but now it is rendered for the last element. This change ensures consistent rendering and improves the user experience when interacting with the component.
2024-06-13 10:53:22 -03:00
ogabrielluiz
4527bce31e
refactor: Fix dropdownComponent rendering issue and improve tableNodeCellRender value handling
2024-06-13 09:58:48 -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
anovazzi1
f066f97bf9
refactor: Sort columns in SessionView and MessagesPage components
...
Sort the columns in the SessionView and MessagesPage components using the messagesSorter utility function. This ensures consistent column ordering and improves the user experience when viewing and interacting with the tables.
2024-06-13 09:47:57 -03:00
anovazzi1
629face702
refactor: Remove unused Tabs component from FlowLogsModal
2024-06-13 09:42:26 -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
Rodrigo
0e69693852
refactor: Update CHAT_FIRST_INITIAL_TEXT and CHAT_SECOND_INITIAL_TEXT constants
2024-06-13 01:59:29 -03:00
Rodrigo
77dc6b3d4f
feat: Add MemoryComponent for retrieving stored chat messages
2024-06-13 00:42:18 -03:00
ogabrielluiz
f8d3eb1824
refactor: Improve ParameterComponent logic and handle output preview
...
Refactor the ParameterComponent in index.tsx to improve the logic for displaying the output preview. Also, handle the case where there are outputs available for the selected output name. This change enhances the functionality and user experience of the component.
2024-06-13 00:41:07 -03:00
ogabrielluiz
3f363bf1f6
refactor: Handle array log results in switchOutputView component
...
Update the switchOutputView component to handle array log results. If the log results are an array, an error message is logged and the component returns early. This change ensures proper handling of different types of log results and improves the reliability of the component.
2024-06-12 23:51:38 -03:00
Rodrigo
b362ab0be6
refactor: Update TextInput display name and info
...
Update the display name and info of the TextInput component in TextInput.py to improve clarity and consistency. The display name is changed to "Text" and the info is updated to reflect that it expects text input. This change aligns with recent updates to the langflow library and enhances the usability of the component.
2024-06-12 23:34:55 -03:00