Commit graph

4,954 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
39320ae31e refactor: Update nodeColors and nodeNames in styleUtils.ts for consistency 2024-06-24 05:59:32 -07:00
Gabriel Luiz Freitas Almeida
7f94f5f5dd Update project documentation URLs to use the new domain 2024-06-24 05:43:40 -07:00
Gabriel Luiz Freitas Almeida
ef1e70d151 style: run prettier 2024-06-24 05:05:35 -07:00
ogabrielluiz
321ef411e5 Apply Prettier formatting 2024-06-24 04:38:39 -07:00
Lucas Oliveira
3f22a78c5a Fixed beta 2024-06-24 04:38:39 -07:00
anovazzi1
e71a63432d added beta foreground soft color 2024-06-24 04:38:39 -07:00
anovazzi1
4bd09b925e Apply Prettier formatting 2024-06-24 04:38:39 -07:00
anovazzi1
6ceb19b9dd feat: Add beta label to Experimental parent disclosure title 2024-06-24 04:38:39 -07:00
anovazzi1
b8581581ea Apply Prettier formatting 2024-06-24 04:28:48 -07:00
anovazzi1
07de1d6674 add warning to components with old codes 2024-06-24 04:28:48 -07:00
Nicolò Boschi
8f31291d97 fixes and refactory 2024-06-24 04:04:36 -07:00
anovazzi1
f6cc61053a Apply Prettier formatting 2024-06-23 18:40:09 -07:00
anovazzi1
6201035891 update getHealth function to work with stop button 2024-06-23 18:40:09 -07:00
cristhianzl
870193d595 🐛 (sideBarFolderButtons): prevent unnecessary folder name updates on blur 2024-06-23 18:39:51 -07:00
Gabriel Luiz Freitas Almeida
13d53a8533 refactor: Update GenericNode and related hooks to handle component type
This commit updates the GenericNode component and its related hooks to handle the component type. The code changes in the index.tsx file of the GenericNode directory include modifying the updateNodeCode function to accept an additional "type" parameter. The handleNodeClass function in the use-handle-node-class.tsx file has also been updated to handle the "type" parameter. These changes ensure that the GenericNode component can correctly handle different types of components and update the node code accordingly.
2024-06-23 15:25:13 -07:00
lucaseduoli
d07c2a6128 Apply Prettier formatting 2024-06-23 15:24:25 -07:00
Lucas Oliveira
b42d340787 Changed naming of some projects 2024-06-23 15:24:25 -07:00
lucaseduoli
1e1652280c Apply Prettier formatting 2024-06-23 15:24:25 -07:00
Lucas Oliveira
a8c474588c Removed markdown to not cause problems 2024-06-23 15:24:25 -07:00
cristhianzl
d4080b81f9 💄 (paginatorComponent): update button styles to include fixed height and width
 (paginatorComponent): add size prop to buttons for consistent styling
2024-06-23 15:21:26 -07:00
cristhianzl
4dd64e486b 💄 (paginatorComponent): remove fixed height and width from paginator buttons for better responsiveness 2024-06-23 15:21:26 -07:00
Gabriel Luiz Freitas Almeida
c06227e7d0 refactor: Simplify getJsApiCode utility function
Simplify the getJsApiCode utility function in the get-js-api-code.tsx file. The unnecessary replacement of JavaScript boolean literals has been removed, improving code readability and maintainability.
2024-06-23 12:00:48 -07:00
Gabriel Luiz Freitas Almeida
590ab5135e refactor: Update CodeTabsComponent to handle additional tabs
This commit updates the CodeTabsComponent to handle an additional tab in the code tabs display. The previous implementation had a condition that checked if the active tab index was less than 4, but it has been updated to check if the active tab index is less than 5. This change ensures that the component can handle the new tab and display the corresponding content correctly. The code has been modified in the index.tsx file of the CodeTabsComponent directory.
2024-06-23 12:00:48 -07:00
Gabriel Luiz Freitas Almeida
cdbf1a62df refactor: Add getJsApiCode utility function for generating JavaScript code
This commit adds a new utility function called getJsApiCode to the apiModal/utils/get-js-api-code.tsx file. The function generates JavaScript code for interfacing with an API using the LangflowClient class. It takes several parameters including the flowId, isAuth, tweaksBuildedObject, and endpointName. The function constructs a LangflowClient instance and defines methods for making API requests, handling streams, and running flows. It also includes a main function that demonstrates how to use the LangflowClient to initiate a session and handle stream updates. This utility function improves code organization and reusability.
2024-06-23 12:00:48 -07:00
ogabrielluiz
86f8b3e945 Apply Prettier formatting 2024-06-22 17:39:37 -07:00
Gabriel Luiz Freitas Almeida
8f2232575d refactor: Handle error updating Component code in GenericNode
When updating the Component code in GenericNode, handle any errors that occur. If an error occurs, display an error message with instructions to report the issue on Discord or GitHub. This improves the error handling and user experience when updating the Component code.
2024-06-22 17:39:37 -07:00
Gabriel Luiz Freitas Almeida
f4517b250e refactor: remove Prompt from ignored components list 2024-06-22 17:39:37 -07:00
ogabrielluiz
0f615e0b32 Apply Prettier formatting 2024-06-22 12:25:28 -07:00
anovazzi1
8e0b6cdf68 Apply Prettier formatting 2024-06-22 12:25:28 -07:00
anovazzi1
73c43ee529 refactor: Update editable prop in MessagesPage component 2024-06-22 12:25:28 -07:00
anovazzi1
cd02755f7d refactor: Update TextModal to use TextEditorArea for text input 2024-06-22 12:25:28 -07:00
anovazzi1
370f2dff6b refactor: Update TextModal to use TextEditorArea for text input 2024-06-22 12:25:28 -07:00
anovazzi1
eebaea3788 fix refresh on App 2024-06-22 12:25:28 -07:00
anovazzi1
7cf74e733b make onChange updatable 2024-06-22 12:25:28 -07:00
anovazzi1
6f0957aeac updating inside text modal but with bugs 2024-06-22 12:25:28 -07:00
Fendi
45c5e39661 fix: sidebar search input auto fill value when first loading 2024-06-22 11:44:52 -07:00
joaoguilhermeS
1def0fa9bc chore: Updating poetry lock file 2024-06-22 08:56:54 -07:00
italojohnny
0687f95d3d Apply Prettier formatting 2024-06-22 08:23:30 -07:00
anovazzi1
131062125f update display of stop button 2024-06-22 08:23:30 -07:00
anovazzi1
53bf1ce015 add window.stop() to stop current requests 2024-06-22 08:23:30 -07:00
anovazzi1
34333e1d50 add stop button on building 2024-06-22 08:23:30 -07:00
anovazzi1
ca3e8de432 feat: Add lockChat functionality to FlowStore
This commit adds the lockChat functionality to the FlowStore in order to control the chat lock state. The  method is implemented to update the  state variable. This feature enhances the user experience by allowing the chat to be locked or unlocked as needed.
2024-06-22 08:23:30 -07:00
Gabriel Luiz Freitas Almeida
716d2567bd refactor: Update Vite configuration to use port 3000 as default 2024-06-21 20:04:20 -07:00
Gabriel Luiz Freitas Almeida
e19d9c90ea refactor: Update logs to outputs in relevant classes and methods 2024-06-21 20:04:20 -07:00
Cristhian Zanforlin Lousa
74b8b98cb2
Two edges (#2249)
* fix error on port frontend variable .env

*  (constants.ts, vite.config.mts): add support for configurable LANGFLOW_HOST environment variable to allow dynamic backend URL configuration

* 🔧 (constants.ts, vite.config.mts): consolidate backend URL configuration into a single environment variable
2024-06-21 17:26:58 -03:00
cristhianzl
324b76d2d1 🐛 (index.tsx): remove unused parameter folderId from handleFolderChange function to fix potential bug 2024-06-21 14:45:20 -03:00
anovazzi1
d80df8e3c5 Apply Prettier formatting 2024-06-21 15:28:25 +00:00
anovazzi1
64eb2e0f99 refactor: Improve InputGlobalComponent behavior and data handling 2024-06-21 12:26:57 -03:00
ogabrielluiz
d092211375 Apply Prettier formatting 2024-06-21 00:28:53 +00:00
Gabriel Luiz Freitas Almeida
6b30238f61 refactor: Remove extraneous property from is-unicode-supported dependency 2024-06-20 21:27:38 -03:00