Commit graph

12,533 commits

Author SHA1 Message Date
Lucas Oliveira
cad4c508a9 Fixed button layout to have loading the same size as the original button 2024-06-04 11:35:37 -03:00
Lucas Oliveira
5b83bde64e Returned loader to default, fixed buttons not working with asChild 2024-06-04 11:17:17 -03:00
cristhianzl
aed7d2eeca ♻️ (reactflowUtils.ts): reorder imports for better readability
♻️ (reactflowUtils.ts): remove unnecessary console.log statements
♻️ (reactflowUtils.ts): fix formatting issues and improve code consistency

💡 (reactflowUtils.ts): remove trailing commas to improve code consistency and readability

♻️ (utils.ts): use toTitleCase function for headerName to improve readability
2024-06-04 11:10:30 -03:00
Lucas Oliveira
2c851a9d5c Fix naming of endpoint 2024-06-04 11:09:00 -03:00
Lucas Oliveira
f1aaa162e2 Changed strategy to not have to apply classes to different div elements, not breaking the other buttons. 2024-06-04 10:49:36 -03:00
Lucas Oliveira
c36053dc55 Fixed button not being able to handle multiple children when asChild is done 2024-06-04 10:26:52 -03:00
Lucas Oliveira
9eacd3f9d6 Fixed sidebar button to not look strange with the new Button classes 2024-06-04 10:15:24 -03:00
Lucas Oliveira
b5d9e0608d Fixed classes on Button to work with all of the current buttons 2024-06-04 10:15:02 -03:00
Lucas Oliveira
59c8eba132 Fixed Button classes to allow loading 2024-06-04 09:58:44 -03:00
Lucas Oliveira
3d8a0acbc1 Fixed sidebar buttons not being different when path is equal 2024-06-04 09:37:23 -03:00
ogabrielluiz
8c89efd08f run codespell 2024-06-04 09:26:13 -03:00
ogabrielluiz
e4f4401d75 📝 (tests/conftest.py): Remove duplicate imports and organize imports for better readability
♻️ (tests/test_custom_component.py): Refactor CustomComponent to Component for better naming consistency
♻️ (tests/test_endpoints.py): Refactor test functions to improve readability and maintainability by simplifying assertions and organizing code
2024-06-04 09:25:27 -03:00
Lucas Oliveira
eefac9ef48 Added Store API Key configuration on General Settings page 2024-06-04 09:20:55 -03:00
Lucas Oliveira
65ae9f04e4 Fixed bottom padding on settings pages 2024-06-04 09:20:32 -03:00
ogabrielluiz
433ea80ab6 refactor: Update Langflow Twitter handle in community.md
The Langflow Twitter handle in the community.md file has been updated from "@langflow_ai" to "@LangflowAI". This change ensures consistency and reflects the correct Twitter handle for Langflow.

Note: The commit message has been generated based on the provided code changes and recent commits.
2024-06-04 09:17:22 -03:00
ogabrielluiz
cfe5428dfe chore: Update .gitignore to ignore src/frontend/temp
The .gitignore file has been updated to ignore the "src/frontend/temp" directory. This change ensures that the temporary files generated in the "src/frontend/temp" directory are not tracked by Git.

Note: The commit message has been generated based on the provided code changes and recent commits.
2024-06-04 09:15:25 -03:00
Lucas Oliveira
1f2cd32340 Modularized Loading on buttons 2024-06-04 09:12:28 -03:00
Lucas Oliveira
5b2791a2c4 Formatting 2024-06-04 08:19:10 -03:00
ogabrielluiz
1775fee61f Fix components update and tests 2024-06-03 22:52:38 -03:00
anovazzi1
fb27528a00 Merge branch 'SessionManagment' of personal:langflow-ai/langflow into SessionManagment 2024-06-03 22:17:15 -03:00
igorrCarvalho
3369b54b83 Refactor: remove page size directly in css file 2024-06-03 20:03:40 -03:00
igorrCarvalho
c8fad13a3c Refactor: Remove “Page size” from table pagination 2024-06-03 19:42:06 -03:00
igorrCarvalho
49882e4201 Remove unnused imports 2024-06-03 19:34:43 -03:00
igorrCarvalho
cd36ff8ad7 Merge SessionManagement into SessionManagement 2024-06-03 19:28:44 -03:00
igorrCarvalho
cdf9d77b45 Feat: Make the table last column non-resizable and add a restore columns button 2024-06-03 19:25:47 -03:00
anovazzi1
12b3a9b717 refactor: Remove console.log statements from ParameterComponent and fix clean edges 2024-06-03 18:59:43 -03:00
cristhianzl
3925d15eaa (index.tsx): add data-testid attribute to save button for better testability
 (flowSettings.spec.ts): update test to use data-testid for save button click
2024-06-03 18:47:57 -03:00
anovazzi1
002475331e update editable fields 2024-06-03 18:27:35 -03:00
ogabrielluiz
8b4d5ec21a update starter projects 2024-06-03 18:26:15 -03:00
ogabrielluiz
a91e97ca30 refactor: Update ChatInput record_response method to use "text" key instead of "message" 2024-06-03 18:26:01 -03:00
cristhianzl
1940b8947d 🔧 (settings/base.py): increase max_overflow from 10 to 20 to allow more connections beyond the pool size 2024-06-03 18:24:19 -03:00
italojohnny
f1b5abd704 fix bug: flow_id 2024-06-03 18:18:10 -03:00
cristhianzl
adeaf4db91 Merge branch 'SessionManagment' of https://github.com/langflow-ai/langflow into SessionManagment 2024-06-03 18:17:19 -03:00
cristhianzl
d670ec8d64 🐛 (service.py): add missing 'id' column in SQL query to fix data retrieval issue
💡 (service.py): add print statement for debugging SQL query
♻️ (index.tsx): reorder imports for better readability and maintainability

♻️ (flowStore.ts): remove trailing commas to improve code consistency and readability

💡 (index.ts, storeUtils.ts): format type definitions for better readability
2024-06-03 18:17:15 -03:00
anovazzi1
818696a661 refactor: Add getSessions function to fetch available sessions in IOModal 2024-06-03 17:37:14 -03:00
cristhianzl
895df8c050 ♻️ (monitor.py, service.py): remove trailing whitespace to improve code cleanliness 2024-06-03 17:05:50 -03:00
cristhianzl
0e56617e26 ♻️ (monitor.py): refactor update_message to return MessageModelResponse
♻️ (service.py): update SQL query to use index instead of id
♻️ (api.tsx): refactor duplicate request check logic
 (check-duplicate-requests.ts): add helper to check and store duplicate requests
🐛 (messagesStore.ts): fix message update logic to use index instead of id
2024-06-03 17:05:39 -03:00
Lucas Oliveira
6874f380f9 Merge remote-tracking branch 'origin/dev' into fix/minor_bugs 2024-06-03 17:04:42 -03:00
ogabrielluiz
a396ecbcfe update starter projects 2024-06-03 16:07:10 -03:00
cristhianzl
9d033c9e34 merge 2024-06-03 15:49:51 -03:00
cristhianzl
999ce405c4 ♻️ (playwright.config.ts): increase workers to 10 for faster parallel tests
♻️ (playwright.config.ts): set headless to false for better debugging

♻️ (addNewVariableButton.tsx): add data-testid to save button for testing
🐛 (addNewVariableButton.tsx): fix optional chaining in error handling

♻️ (sideBarFolderButtons/index.tsx): add data-testid to input for testing
♻️ (sideBarFolderButtons/index.tsx): remove unnecessary commas

🐛 (api.tsx): fix duplicate request check to include method "get"
♻️ (api.tsx): remove unnecessary commas in function calls

♻️ (index.tsx): reorder import statements for better readability
💡 (index.tsx): remove trailing commas to adhere to coding standards
 (chatInputOutput.spec.ts): update file path for ChatTest.json for consistency
🐛 (darkStore.ts): add null check for GitHub stars to prevent potential errors

 (tests): update chatInputOutputUser.spec.ts to add new test for output inspection
🔧 (tests): fix path for collection.json in dragAndDrop.spec.ts

 (filterEdge.spec.ts): fix locator strings and remove redundant code
 (floatComponent.spec.ts): correct checkbox state expectations and remove redundant tests

 (folders.spec.ts): update folder creation and editing flow for consistency
 (globalVariables.spec.ts): remove redundant 'Save Variable' click action
 (inputComponent.spec.ts): fix incorrect locator for server port and improve readability

 (intComponent.spec.ts): add additional test steps for more options modal
 (saveComponents.spec.ts): update file path for flow_group_test.json
2024-06-03 14:52:03 -03:00
anovazzi1
41c2d7feb5 start history in playgroundModal 2024-06-03 14:48:05 -03:00
ogabrielluiz
94c5fa56c8 Merge remote-tracking branch 'origin/dev' into two_edges 2024-06-03 14:28:19 -03:00
ogabrielluiz
23d3c45a1b refactor: Update Dockerfile and render.yaml for pre-release deployment
The Dockerfile `render.pre-release.Dockerfile` has been added to the repository, which sets the base image to `langflowai/langflow:1.0-alpha`. Additionally, the `render.yaml` file has been modified to use the new Dockerfile path `./docker/render.pre-release.Dockerfile` for the `langflow` web service. This change ensures that the pre-release version of the application is deployed correctly.

Note: The commit message has been generated based on the provided code changes and recent commits.
2024-06-03 14:05:33 -03:00
ogabrielluiz
25b99ef590 📝 (README.md): Update deployment links to point to the correct branches for deployment purposes 2024-06-03 14:03:23 -03:00
ogabrielluiz
8043a8855e refactor: Update ChatInput record_response method to use "text" key instead of "message"
The ChatInput class in ChatInput.py has been updated to use the "text" key instead of the "message" key when creating a Record object in the record_response method. This change improves the clarity and consistency of the code.

Note: The commit message has been generated based on the provided code changes and recent commits.
2024-06-03 14:01:46 -03:00
ogabrielluiz
daedaae820 📝 (text.py): Rename CustomComponent to Component for better clarity and consistency
📝 (ChatInput.py, TextInput.py, ChatOutput.py, RecordsOutput.py, TextOutput.py): Refactor code to use Input and Output classes for defining inputs and outputs
📝 (CustomComponent.py): Update method to get the build method for custom components to consider classes inheriting from Component or CustomComponent
📝 (DirectoryReader.py): Remove check for missing build function as it is no longer necessary
📝 (base.py): Add properties to easily access outgoing edges, incoming edges, and source names of edges in a Vertex object

♻️ (types.py): Refactor code to improve readability and maintainability by adding type hinting and organizing imports
📝 (types.py): Add missing documentation and comments to clarify the purpose of methods and classes
♻️ (loading.py): Refactor code to remove redundant code and improve code structure for better maintainability
📝 (loading.py): Add comments to explain the purpose of functions and the flow of the code
♻️ (base.py): Refactor code to improve consistency and readability by updating class names and method calls to match the intended functionality
2024-06-03 13:49:03 -03:00
Gabriel Luiz Freitas Almeida
d2f144829d
Update uvicorn server configuration and add pool config (#2052)
The Makefile has been updated to add support for specifying the number
of workers for the uvicorn server. The pyproject.toml file has also been
updated to upgrade the uvicorn dependency to version 0.30.0.
Additionally, the DatabaseService class in service.py has been
refactored to use the pool_size and max_overflow settings from the
SettingsService. This change allows for better control over the number
of connections in the connection pool and the number of connections that
can be opened beyond the pool size. The create_engine function has also
been modified to pass the pool_size and max_overflow parameters.
2024-06-03 09:10:02 -07:00
ogabrielluiz
5ea2699b29 refactor: Update DatabaseService to use settings_service for database URL 2024-06-03 13:08:12 -03:00
ogabrielluiz
ced4fd0800 refactor: Update OpenAIModelComponent to use float type for temperature parameter
The OpenAIModelComponent class in OpenAIModel.py has been updated to use the float type for the temperature parameter instead of the Optional[float] type. This change ensures consistency and improves code readability. The default value for the temperature parameter remains unchanged at 0.1.

Note: The commit message has been generated based on the provided code changes and recent commits.
2024-06-03 13:05:37 -03:00