Commit graph

10,867 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
027cfe81fc format 2024-04-30 14:35:09 -03:00
Gabriel Luiz Freitas Almeida
90f1efb18b Refactor Alembic migration scripts and Variable model 2024-04-30 14:34:54 -03:00
anovazzi1
242bd55a24 Update AddNewVariableButton component to set default type value 2024-04-30 14:26:15 -03:00
anovazzi1
ca1bb8dd36 remove console.logs 2024-04-30 14:21:51 -03:00
anovazzi1
df6924c73e Refactor GlobalVariablesPage component to include default_fields in rowData 2024-04-30 14:20:38 -03:00
anovazzi1
15de984bb6 Refactor GlobalVariablesPage component to include default_fields in rowData 2024-04-30 13:59:55 -03:00
anovazzi1
839822a308 Merge branch 'feature/ui_table' of personal:logspace-ai/langflow into feature/ui_table 2024-04-30 13:34:49 -03:00
anovazzi1
17403d8172 Refactored GlobalVariablesStore to include a value property in globalVariables object 2024-04-30 13:34:44 -03:00
Gabriel Luiz Freitas Almeida
71a9051727 Add default_fields attribute to VariableRead model and update create_variable method in VariableService 2024-04-30 13:34:27 -03:00
cristhianzl
edabb31112 (StringListInput.py): add a new custom component called "StringListInput" to handle string list inputs
 (KeyPairOutput.py): add a new custom component called "KeyPairOutput" to handle dictionary outputs
 (StringListOutput.py): add a new custom component called "StringListOutput" to handle string list outputs
🚀 (constants.ts): add "StringListInput" and "StringListOutput" to the list of supported input and output types
♻️ (index.tsx): refactor IOKeyPairInput component to accept an additional prop "isInputField" and disable input fields if it's false
♻️ (index.tsx): refactor IOFieldView component to handle rendering of "StringListInput" and "StringListOutput" components
2024-04-30 13:33:37 -03:00
anovazzi1
de1d5ddf00 Refactored InputGlobalComponent to use removeGlobalVariable instead of deleteGlobalVariable 2024-04-30 13:23:00 -03:00
anovazzi1
2625e320c9 Refactored GlobalVariablesPage component to use useEffect hook for populating rows dynamically 2024-04-30 12:54:59 -03:00
Lucas Oliveira
239a24ac16 Fixed badge showing blank when no type is selected 2024-04-30 17:01:26 +02:00
Lucas Oliveira
252641ca6c Fixed shortcuts page to display two different categories 2024-04-30 16:54:27 +02:00
Lucas Oliveira
e773227e4a Added fields to request for creating new variable 2024-04-30 16:49:26 +02:00
Lucas Oliveira
a556f686e2 Added multiple inputs possibility to InputComponent 2024-04-30 16:46:19 +02:00
Lucas Oliveira
89517181c2 Fixed playground button at store 2024-04-30 15:25:06 +02:00
Lucas Oliveira
b21b45fd67 Fixed merge problems 2024-04-30 15:09:46 +02:00
Lucas Oliveira
f403d8e8b4 Fixed merge bug 2024-04-30 15:07:52 +02:00
Lucas Oliveira
74d0e2ed10 Fixed name of Run button 2024-04-30 15:07:20 +02:00
Lucas Oliveira
6b72b41b86 Fixed playground name and collection card 2024-04-30 15:07:20 +02:00
Sam Arbid
b097efe94b
Docs: Clearing Cache to Resolve Setup Errors (#1802)
docs: how to clear cache on error

* Detailed description found here <https://github.com/langflow-ai/langflow/issues/1783>
2024-04-30 09:51:09 -03:00
Cristhian Zanforlin Lousa
9c0ae350bf
Fix modal opening bug when not supposed to (#1795)
* fix opening modal error

* Fix cleanOnClose behavior in IOModal component

* Refactor useEffect dependency in CollectionCardComponent

* remove console

* add console.log for debugging

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-04-30 09:39:50 -03:00
Mendon Kissling
cc70a11572
[Docs] - Refactor folders and leftnav (#1781)
* refactor-leftnav

* bump-whats-new

* comment-out-some-tutorials

* links

* guidelines

* comma

* starter-projects

* try-links

* add-new-component-location
2024-04-30 09:28:59 -03:00
Steve Becht
a812b6ce48
docker-compose: remove trailing comma (#1796) 2024-04-30 09:27:19 -03:00
Gabriel Luiz Freitas Almeida
3978d98845
Fix nullable column in apikey table (#1801)
* Fix nullable column in apikey table

* Update package versions in pyproject.toml and poetry.lock
2024-04-30 09:26:21 -03:00
anovazzi1
bd0e928efe temp fix for default fields 2024-04-30 08:22:32 -03:00
anovazzi1
9ebc319ea4 Merge branch 'feature/ui_table' of personal:logspace-ai/langflow into feature/ui_table 2024-04-30 08:16:09 -03:00
igorrCarvalho
c23943017d Refactor: Global Variables table are now populated by backend and delete button works 2024-04-30 01:20:46 -03:00
anovazzi1
8e78e23a9a Refactored addNewVariableButton.tsx to use useTypesStore for componentFields 2024-04-29 23:29:06 -03:00
anovazzi1
fe5f6560e7 Refactored globalVariables.ts and globalVariables/index.ts to extract and store component fields 2024-04-29 23:27:23 -03:00
anovazzi1
a2885a86bc Refactored globalVariables.ts and globalVariables/index.ts to use Set for availableFields 2024-04-29 22:59:02 -03:00
anovazzi1
ec3425e3d9 Refactored globalVariables.ts and globalVariables/index.ts to add support for unavailable fields 2024-04-29 22:53:37 -03:00
Lucas Oliveira
7309a36aa8 Added own dropdown to Type 2024-04-30 02:01:44 +02:00
Lucas Oliveira
db9cc5e052 Added badge as renderer of type on Global Variables 2024-04-30 01:36:56 +02:00
Lucas Oliveira
7e337c7f65 Added selection and trash 2024-04-30 01:26:25 +02:00
Lucas Oliveira
1f7c697158 Added padding bottom on Global Variables 2024-04-30 01:11:05 +02:00
Lucas Oliveira
1dcb151c61 Added shortcuts into a card in the Shortcuts page 2024-04-30 01:10:22 +02:00
Lucas Oliveira
de5116a6bf Fixed pagination that cant be changed on table 2024-04-30 01:02:12 +02:00
Lucas Oliveira
ad52526642 Added Profile settings into General page 2024-04-30 00:56:53 +02:00
Lucas Oliveira
cd00b5552d Removed Profile Settings from header 2024-04-30 00:41:33 +02:00
Lucas Oliveira
6ebeacc115 Added sample General page 2024-04-30 00:35:08 +02:00
Lucas Oliveira
20b2aa04b6 Hidden unused settings 2024-04-30 00:27:28 +02:00
Lucas Oliveira
610fd94cf8 Changed position of page 2024-04-30 00:26:17 +02:00
Lucas Oliveira
d503b74a3f Added shortcuts into right page 2024-04-30 00:18:24 +02:00
Lucas Oliveira
2864fd1cc0 Added shortcuts page 2024-04-30 00:16:59 +02:00
Lucas Oliveira
ac46b2b6c9 Passed Table props to page 2024-04-30 00:11:59 +02:00
igorrCarvalho
7e95ca9689 merge feature/ui_table into feature/ui_table 2024-04-29 19:01:27 -03:00
igorrCarvalho
de57b0955f Feat: Create Shortcuts page on settings 2024-04-29 19:00:18 -03:00
cristhianzl
b06501a4c9 (JsonInput.py): add a new component called "JsonInput" to handle JSON input data in the language flow system
 (KeyPairInput.py): add a new component called "KeyPairInput" to handle dictionary input data in the language flow system
 (CSVOutput.py): add a new component called "CSVOutput" to handle CSV output data in the language flow system
 (ImageOutput.py): add a new component called "ImageOutput" to handle image output data in the language flow system
 (JsonOutput.py): add a new component called "JsonOutput" to handle JSON output data in the language flow system
 (PDFOutput.py): add a new component called "PDFOutput" to handle PDF output data in the language flow system
📝 (App.css): update CSS to improve readability and formatting
📝 (parameterComponent/index.tsx): fix a bug where rangeSpec is not properly accessed in the FloatComponent
📝 (cardComponent/index.tsx): update the CollectionCardComponent to include a new button for opening the playground and handle the opening and closing of the IOModal

📝 (codeTabsComponent/index.tsx): fix conditional rendering of InputListComponent by using optional chaining operator to check if the list property exists in the template object
📝 (keypairListComponent/index.tsx): refactor the initialization of the ref variable to handle both empty and non-empty values correctly
📝 (constants.ts): add "JsonInput" and "JsonOutput" to the INPUT_TYPES and OUTPUT_TYPES constants to support JSON input and output components
📝 (editNodeModal/index.tsx): fix conditional rendering of InputListComponent by using optional chaining operator to check if the list property exists in the template object
📝 (ioFieldView/components/JSONInput/index.tsx): add JSONInput component to handle JSON input in the IOFieldView component
📝 (ioFieldView/components/keyPairInput/index.tsx): add keyPairInput component to handle key-value pair input in the IOFieldView component

 (IOFieldView/index.tsx): add useState import to use state hook in functional component
 (IOFieldView/index.tsx): add support for KeyPairInput component in IOFieldView
 (IOFieldView/index.tsx): add support for JsonInput component in IOFieldView
 (IOFieldView/index.tsx): add support for JsonOutput component in IOFieldView
📝 (dictAreaModal/index.tsx): add useDarkStore import to use dark mode state in DictAreaModal component
📝 (classes.css): add CSS classes for json-view component in different themes
📝 (types/components/index.ts): remove duplicate InputGlobalComponentType definition
2024-04-29 18:07:53 -03:00