Commit graph

4,997 commits

Author SHA1 Message Date
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
Lucas Oliveira
1497e86ea8 Fixed PageComponent shortcuts not considering shift 2024-04-29 23:51:11 +02:00
Lucas Oliveira
dc5eebedfb Fixed Code shortcut 2024-04-29 23:37:31 +02:00
Lucas Oliveira
1b3d62c5ca Merge remote-tracking branch 'origin/dev' into node-shortcuts-refactor 2024-04-29 23:28:51 +02:00
Lucas Oliveira
cfff4e3f1e Fixed double click on description opening Settings modal 2024-04-29 23:28:18 +02: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
Lucas Oliveira
df8cbff32f Added Add New Variable 2024-04-29 23:03:27 +02:00
anovazzi1
c7b3078557 Merge branch 'feature/ui_table' of personal:logspace-ai/langflow into feature/ui_table 2024-04-29 15:58:03 -03:00
anovazzi1
979dae8c49 Add extractFieldsFromComponenents function to reactflowUtils.ts 2024-04-29 15:57:46 -03:00
Lucas Oliveira
793a025163 Fixed title of global pages 2024-04-29 19:23:07 +02:00
anovazzi1
1e7438115c Merge branch 'feature/ui_table' of personal:logspace-ai/langflow into feature/ui_table 2024-04-29 14:22:07 -03:00
anovazzi1
8dac69708f Add avaliableFields functionality to GlobalVariablesStore 2024-04-29 14:22:04 -03:00
Lucas Oliveira
f14b8831bf Modified title to be on pair with modals 2024-04-29 19:18:03 +02:00
Lucas Oliveira
51a3d65114 Fixed editability of variable name 2024-04-29 19:08:14 +02:00
Lucas Oliveira
01ebe97f3a Fixed footer height 2024-04-29 19:05:18 +02:00
anovazzi1
736ce22546
Add ExportModal component to ShareModal (#1789)
* Add ExportModal component to ShareModal

* Refactor ShareModal component to conditionally render ExportModal and Export button based on is_component flag
2024-04-29 11:22:57 -03:00
Lucas Oliveira
7b79bfeeaf Fixed sizing and colors to fit blocks table 2024-04-28 23:33:35 +02:00
Lucas Oliveira
3696aef557 Fixed colors with the variables 2024-04-28 23:11:57 +02:00
Lucas Oliveira
358f53d837 Added pagination 2024-04-28 23:00:21 +02:00
Lucas Oliveira
be0bb51254 Updated colors on dark mode 2024-04-28 22:50:09 +02:00
Lucas Oliveira
04d723d405 Fixed colors of AG Grid 2024-04-28 19:42:41 +02:00
anovazzi1
dfc62752f3 Add uniqueId function from lodash to cloneFLowWithParent in storeUtils.ts 2024-04-27 20:53:29 -03:00
anovazzi1
32bfca24d0 Fix useEffect dependency in PlaygroundPage component 2024-04-26 17:59:05 -03:00
anovazzi1
171ebb2321 fix api call 2024-04-26 17:57:29 -03:00
anovazzi1
48ec18b6e5 Refactor API index.ts to pass data object as a parameter in getVerticesOrder function 2024-04-26 17:43:43 -03:00
anovazzi1
84dc98db4b Fix useEffect dependency in PlaygroundPage component 2024-04-26 17:35:19 -03:00
anovazzi1
c5b9419e52 Fix useEffect dependency in PlaygroundPage component 2024-04-26 17:33:56 -03:00
anovazzi1
4a6b13a7c7 first attempt playground page 2024-04-26 17:23:40 -03:00
anovazzi1
2474cd348e Refactor CollectionCardComponent to improve code readability and fix loadingPlayground state handling 2024-04-26 13:40:54 -03:00
anovazzi1
2dd0b2bf16 add type import 2024-04-25 21:38:53 -03:00
Lucas Oliveira
8536ad8204 Added more settings options 2024-04-26 01:37:51 +02:00
Lucas Oliveira
16bd9f1ee1 Added settings page 2024-04-26 01:32:03 +02:00
anovazzi1
b8a62a3c7b running flows from store, still need fixes 2024-04-25 18:37:23 -03:00
anovazzi1
089446b1b7 initial implementation of playground on store, not working yet 2024-04-25 16:28:03 -03:00
anovazzi1
dc71ad261b Fix cleanFlowPool function not being called in CollectionCardComponent 2024-04-25 15:33:34 -03:00
Lucas Oliveira
e799f53116 Added grid on table component as a mock 2024-04-25 16:23:09 +02:00
anovazzi1
257e18cf5e almost perfect not sending edges and node because of http web method 2024-04-25 00:10:21 -03:00
anovazzi1
bafda23b6c fix sorting glitch 2024-04-24 18:01:20 -03:00
anovazzi1
ed10322af2 Update setNodes and setEdges functions in flowStore.ts to skip saving changes when skipSave parameter is true 2024-04-24 17:50:02 -03:00
anovazzi1
55e56e19f5 merge from origin/dev 2024-04-24 11:12:54 -03:00
cristhianzl
9055eb0bc9 Merge branch 'dev' into playground 2024-04-23 21:55:54 -03:00
Cristhian Zanforlin Lousa
ce322f1ba1
Merge pdfView Branch Features (#1772)
* starting commit from pdfView branch

* 📝 (csvOutputComponent/index.tsx): update useEffect dependency array to include 'separator' variable to re-render component when separator changes

* 🐛 (csvOutputComponent/index.tsx): handle error when parsing JSON string in file variable assignment to prevent app crash
 (csvOutputComponent/index.tsx): add error message and UI when file variable is null to inform user about the error

* 📝 (KeyPairInput.py): Add KeyPairInput component to handle dictionary input and return the input value as is
📝 (CSVOutput.py): Add CSVOutput component to handle CSV output with configurable separator
📝 (ImageOutput.py): Add ImageOutput component to handle image output
📝 (PDFOutput.py): Add PDFOutput component to handle PDF output
📝 (constants.ts): Add KeyPairInput to the list of supported input types
📝 (IOModal/index.tsx): Remove console.log statement

* 🔧 (KeyPairInput.py): Remove unused KeyPairInput component
🔧 (CSVOutput.py): Remove unused CSVOutput component
🔧 (ImageOutput.py): Remove unused ImageOutput component
🔧 (PDFOutput.py): Remove unused PDFOutput component

These components were deleted as they were no longer being used in the project and were causing unnecessary clutter in the codebase. Removing them improves code maintainability and reduces potential confusion for developers working on the project.

* 🔧 (IOModal/index.tsx): remove console.log statement for selectedViewField variable to clean up code and improve performance
2024-04-23 21:54:01 -03:00
Lucas Oliveira
1b0eb4f7f3 Global Variables Page created 2024-04-24 00:51:12 +02:00
Lucas Oliveira
ec94bed45e Added user icon even if the autologin is off 2024-04-24 00:27:38 +02:00
anovazzi1
34ac7f359a removed console.log 2024-04-23 16:53:38 -03:00
anovazzi1
bb6ad3939b first implementation, working but not stable 2024-04-23 16:48:00 -03:00
anovazzi1
ec0af06573 Add playground button to flow cards in MainPage (#1752)
* Add playground button to flow cards in MainPage

* Add IOModal component for playground functionality

* Update playground button styling

not working yet
2024-04-23 09:26:15 -03:00