Commit graph

9,642 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
fd580b7568 Update ESLint configuration 2024-03-30 17:43:23 -03:00
Gabriel Luiz Freitas Almeida
8651850803 Refactor data and helper components 2024-03-30 17:43:22 -03:00
anovazzi1
5e55f33c6f Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-03-30 17:40:19 -03:00
anovazzi1
4f1b7bc3f3 Add parent disclosure for core components 2024-03-30 17:40:16 -03:00
Gabriel Luiz Freitas Almeida
4428c36bfa Refactor SubFlowComponent display name 2024-03-30 17:33:07 -03:00
Gabriel Luiz Freitas Almeida
39e7a92f45 Refactor RetrievalQAComponent and RetrievalQAWithSourcesChainComponent 2024-03-30 17:33:06 -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
Rodrigo Nader
e564991040 Update CombineTextComponent to concatenate two text sources 2024-03-30 16:53:58 -03:00
Gabriel Luiz Freitas Almeida
87adaa4255 Refactor edge equality check and optimize edge creation in Graph class 2024-03-30 16:49:50 -03:00
Gabriel Luiz Freitas Almeida
4aa726706f Refactor records_to_text function to handle non-Record items 2024-03-30 16:46:59 -03:00
Gabriel Luiz Freitas Almeida
c5fb239852 Add validation for list items in records_to_text function 2024-03-30 16:42:12 -03:00
Gabriel Luiz Freitas Almeida
ac45c278c4 Refactor error handling in build_vertex function 2024-03-30 16:17:39 -03:00
Rodrigo Nader
dc0feddb54 Add support for combining a list of texts in CombineTextComponent 2024-03-30 16:00:02 -03:00
Rodrigo Nader
acb1fa9997 Add CombineTextComponent to concatenate multiple text sources 2024-03-30 15:56:21 -03:00
Rodrigo Nader
775fa87f92 Update AstraDB component descriptions 2024-03-30 14:51:06 -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
Lucas Oliveira
b3ad7fa49f Fix icon glitch on Prompt Component. Using pre-imported icon. 2024-03-30 17:49:15 +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
1676d98d1d Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-03-30 08:27:50 -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
Gabriel Luiz Freitas Almeida
a200f58251 Update field order in model components 2024-03-29 22:39:30 -03:00
Gabriel Luiz Freitas Almeida
617be2809f Refactor code to use get_text() method instead of accessing the 'text' attribute directly. 2024-03-29 22:29:47 -03:00
Gabriel Luiz Freitas Almeida
0788951ba4 Refactor extract_union_types_from_generic_alias function to exclude specific types 2024-03-29 22:20:47 -03:00
Gabriel Luiz Freitas Almeida
1cd651e300 Refactor code_parser/utils.py and custom_component/component.py 2024-03-29 22:20:46 -03:00
Gabriel Luiz Freitas Almeida
8a19c6b960 Add unit tests for the Record class 2024-03-29 22:20:44 -03:00
Gabriel Luiz Freitas Almeida
04f635d669 Update pinecone-client and pytest-asyncio versions 2024-03-29 22:20:43 -03:00
Gabriel Luiz Freitas Almeida
476438c2e4 Add CreateRecordComponent and remove TextToRecordComponent 2024-03-29 22:20:42 -03:00
Rodrigo Nader
30145a0067 Update component display names and descriptions 2024-03-29 22:10:45 -03:00
Rodrigo Nader
7d1fde6e7f Update component descriptions 2024-03-29 21:42:59 -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
0874e2c191 Update justMyCode setting in launch.json 2024-03-29 19:15:07 -03:00
Gabriel Luiz Freitas Almeida
2b61649dbf Update dependencies in pyproject.toml 2024-03-29 19:15:06 -03:00
Gabriel Luiz Freitas Almeida
5d50c9a4a6 Add isChild prop to DisclosureComponent 2024-03-29 19:15:04 -03:00
Gabriel Luiz Freitas Almeida
0e351231b6 Update input_types in DefaultPromptField class 2024-03-29 19:15:03 -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
7ebbc9abac Update build_config method in TextComponent subclasses 2024-03-29 16:27:33 -03:00
Gabriel Luiz Freitas Almeida
0cf2229ff1 Update TextInput and ChatOutput build methods 2024-03-29 16:19:41 -03:00
Gabriel Luiz Freitas Almeida
4ad0385768 Refactor TextComponent build method to accept Record input and generate text output 2024-03-29 16:16:42 -03:00