Commit graph

3,738 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
fd580b7568 Update ESLint configuration 2024-03-30 17:43:23 -03:00
anovazzi1
4f1b7bc3f3 Add parent disclosure for core components 2024-03-30 17:40:16 -03:00
anovazzi1
0d3435efeb Fix alignment issue in extra sidebar component 2024-03-30 17:29:05 -03:00
anovazzi1
f0e50e36d5 Fix openDisc prop value in ExtraSidebar component 2024-03-30 17:21:27 -03:00
anovazzi1
e61896bc1f
remove dead code and unused dependencies (#1488)
* added esLint to frontend project

* Remove formModalPropsType from index.ts

* Remove chat input component

* Delete codeBlock and fileComponent components

* Remove unused code for BuildTrigger component

* Refactor Chat component and remove unused code

* Delete chatTrigger component

* Delete unused SVG and PNG files

* Remove LightTooltipComponent

* Remove LoadingSpinner component

* Delete RadialProgressComponent

* Delete ReactTooltipComponent

* Remove TooltipComponent

* Delete ElementStack component

* Remove ToggleComponent

* Remove unused dependencies from package.json

* Update package json

* add accordion

* change accordion sidebar to shadcn

* added million lint

* Remove MillionCompiler plugin from Vite config

* Refactor authContext autoLogin dependency

* Add console.log statements for debugging

* Refactored position of elements in IO branch

* fix assets imports

* fix re-render on pageComponent

* Add StrictMode to root render and update key in ExtraSidebarComponent

* Add showCanvas state and useEffect to update it to improve performance

* Refactor FlowPage component and remove ExtraSidebar from main area

* Refactor FlowToolbar to prevent Unnecessary re-render

* get node position with zustand in NodeToolbarComponent

* Fix ShareModal rendering issue

* Remove ExtraSidebar component and fix CodeAreaComponent bug

* Refactor: Use useMemo to avoid unnecessary render

* merge zustandIo

* Remove console.log statements

* Update package-lock.json and refactor extraSidebarComponent

* update package json

* Remove unused msgpack wheel file and add new nvidia_nvjitlink_cu12 wheel file

* Fix import formatting in loading.py

* Imported missing module and removed unused import

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: igorrCarvalho <igorsilvabhz6@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-03-30 17:09:51 -03:00
Lucas Oliveira
8c3a1bd828 Changed truncate in chat message 2024-03-30 19:20:47 +02:00
Lucas Oliveira
92734e795b Added loader for icon fallback 2024-03-30 17:53:47 +02:00
cristhianzl
9db5638e8d 📝 (APIRequest.py): add icon "Globe" to APIRequest component for better visual representation
📝 (Directory.py): add icon "folder" to DirectoryComponent for better visual representation
📝 (File.py): add icon "file-text" to FileComponent for better visual representation
📝 (URL.py): add icon "layout-template" to URLComponent for better visual representation
📝 (TextInput.py): add icon "type" to TextInput component for better visual representation
📝 (TextOutput.py): add icon "type" to TextOutput component for better visual representation
📝 (styleUtils.ts): replace "Search" icon with "TextSearch" icon in nodeIconsLucide for better visual representation
2024-03-30 08:43:27 -03:00
cristhianzl
6fbb8da13e ♻️ (DropdownButtonComponent/index.tsx): refactor className logic to improve readability and maintainability
🐛 (DropdownButtonComponent/index.tsx): fix issue with className not being applied correctly when dropdownOptions is present
2024-03-30 08:27:38 -03:00
Lucas Oliveira
cb64e6ba23 Fixed required stars 2024-03-30 02:00:39 +02:00
Lucas Oliveira
3c6d9fb388 Fixed dropdown placeholder 2024-03-30 01:55:51 +02:00
Lucas Oliveira
654e50aa1e Fixed padding on parameters 2024-03-30 01:50:47 +02:00
Gabriel Luiz Freitas Almeida
bbf93bfb90 Update DisclosureComponent indentation 2024-03-29 19:30:09 -03:00
Gabriel Luiz Freitas Almeida
23ad07af88 Add "embeddings" to PRIORITY_SIDEBAR_ORDER constant 2024-03-29 19:30:03 -03:00
Gabriel Luiz Freitas Almeida
5d50c9a4a6 Add isChild prop to DisclosureComponent 2024-03-29 19:15:04 -03:00
anovazzi1
1ccfb7908f Remove unnecessary color definition for "Record" node 2024-03-29 19:00:56 -03:00
anovazzi1
06f4ade55f Refactor button component to convert children to title case 2024-03-29 18:43:52 -03:00
Gabriel Luiz Freitas Almeida
f170712864 Refactor exception handling and error messaging in chat module 2024-03-29 18:00:31 -03:00
anovazzi1
6a25d4b761 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-03-29 17:55:36 -03:00
anovazzi1
7d49cf668c Update variable type options and capitalize Save Variable button 2024-03-29 17:55:33 -03:00
Gabriel Luiz Freitas Almeida
6fb332a2a2 Rearrange sidebar components 2024-03-29 16:46:15 -03:00
Gabriel Luiz Freitas Almeida
5c43bd3a5f Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-03-29 14:54:48 -03:00
Lucas Oliveira
404afa2734 Made global variables removing more obvious 2024-03-29 12:32:37 +02:00
Lucas Oliveira
06576470d9 Fixed padding on Input Component 2024-03-29 12:26:33 +02:00
cristhianzl
51a405d0cc (DropdownButtonComponent/index.tsx): add support for displaying a plus button and hiding dropdown options based on props
♻️ (inputComponent/index.tsx): refactor the logic for setting the paddingRight CSS property based on password and selectedOption values
 (MainPage/index.tsx): add support for displaying a plus button and hiding dropdown options in the DropdownButton component
♻️ (types/components/index.ts): add optional plusButton and dropdownOptions properties to the dropdownButtonPropsType type
2024-03-29 00:55:31 -03:00
cristhianzl
d318386483 📝 (GenericNode/index.tsx): add cursor-text class to the generic-node-tooltip-div element to change the cursor to text when hovering over the element 2024-03-29 00:23:39 -03:00
cristhianzl
26ad87170d Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-03-29 00:21:07 -03:00
cristhianzl
4f5cb3c0b7 (nodeToolbarComponent/index.tsx): Remove unused import of iconClasses from @mui/material to improve code cleanliness and reduce bundle size
♻️ (nodeToolbarComponent/index.tsx): Refactor code to improve readability and maintainability by adding line breaks and indentation
 (nodeToolbarComponent/index.tsx): Refactor code to improve readability and maintainability by extracting complex condition into a separate if statement
♻️ (nodeToolbarComponent/index.tsx): Refactor code to improve readability and maintainability by adding line breaks and indentation
♻️ (nodeToolbarComponent/index.tsx): Refactor code to improve readability and maintainability by adding line breaks and indentation
2024-03-29 00:20:59 -03:00
anovazzi1
6b1023fc47 Update IOView component and constants 2024-03-29 00:15:53 -03:00
Cristhian Zanforlin Lousa
dfb8d56f98
Fix minimize (#1579)
♻️ (GenericNode/index.tsx): refactor showNode state initialization and
update logic to use useState and useEffect hooks for better readability
and maintainability
2024-03-29 00:10:25 -03:00
cristhianzl
bb7620b810 ♻️ (GenericNode/index.tsx): refactor showNode state initialization and update logic to use useState and useEffect hooks for better readability and maintainability 2024-03-29 00:02:44 -03:00
anovazzi1
21df24956f Add new color for Record in nodeColors 2024-03-28 23:57:42 -03:00
anovazzi1
3baca9b89b Fix useState initialization and update keyboard shortcut for download button 2024-03-28 23:37:24 -03:00
anovazzi1
9c025d5889 Add download functionality to node toolbar component 2024-03-28 23:28:00 -03:00
Gabriel Luiz Freitas Almeida
ac5f81f5ec Format assets json 2024-03-28 20:16:52 -03:00
Gabriel Luiz Freitas Almeida
76dbaf3b21 Refactor API generation tests 2024-03-28 20:16:16 -03:00
Gabriel Luiz Freitas Almeida
a3924d657c Add vector search components and vector store search components 2024-03-28 20:16:00 -03:00
anovazzi1
d77ceaec8e Fix conditional rendering in NodeToolbarComponent 2024-03-28 18:42:21 -03:00
anovazzi1
c7cdf3f9e9 Fix nodeToolbarComponent rendering issue and add chat_io end-to-end test 2024-03-28 18:42:16 -03:00
Gabriel Luiz Freitas Almeida
b84210c583 Refactor buildVertices function to handle validation error 2024-03-28 17:34:00 -03:00
Gabriel Luiz Freitas Almeida
8d6cbeff44 Fix buildUtils.ts to handle validation errors properly 2024-03-28 17:32:22 -03:00
anovazzi1
f80af6bd03 Add end-to-end test for tweaks functionality 2024-03-28 17:24:36 -03:00
anovazzi1
7a844466d8 migrate commits on wrong branch 2024-03-28 17:17:24 -03:00
Gabriel Luiz Freitas Almeida
ec46a56288 Refactor useDarkStore in darkStore.tsx 2024-03-28 16:55:08 -03:00
Gabriel Luiz Freitas Almeida
af9e683133 Update extraSidebarComponent index.tsx 2024-03-28 16:35:16 -03:00
Gabriel Luiz Freitas Almeida
30a593c67c Update react-icons version to 5.0.1 2024-03-28 16:35:10 -03:00
Lucas Oliveira
4c153c05c5 Fixed dropdown appearing in input 2024-03-28 18:32:56 +02:00
Lucas Oliveira
de1e6bdc49 Fixed name of node at Tweaks 2024-03-28 15:30:50 +02:00
Lucas Oliveira
36a3fda059 Fix bug on parameter component 2024-03-28 15:20:46 +02:00
Gabriel Luiz Freitas Almeida
6737c845eb Refactor code and fix formatting issues 2024-03-27 23:46:11 -03:00