Commit graph

10,622 commits

Author SHA1 Message Date
anovazzi1
6fcf99aed9 workin session managment in playground, need to add tooltips 2024-06-06 18:54:00 -03:00
anovazzi1
2888c2c30b almost fixing, miss delte session and delete session message 2024-06-06 16:54:41 -03:00
anovazzi1
cca6478040 Refactor IOModal to improve session display and functionality 2024-06-05 22:26:09 -03:00
anovazzi1
302ff9cc6a Refactor: Update IOModal to handle missing session IDs in flow_sessions 2024-06-05 18:36:17 -03:00
anovazzi1
b32c02671d add hsitory tab section to playground 2024-06-05 15:46:52 -03:00
anovazzi1
be919f1bca Refactor: Remove commented code for chat history tab in IOModal 2024-06-04 17:06:16 -03:00
igorrCarvalho
91e3bd9151 Refactor: Remove select from delete session button 2024-06-04 16:33:05 -03:00
igorrCarvalho
83b837966d Refactor: Make Reset Column button reset columns order 2024-06-04 15:53:51 -03:00
anovazzi1
254a2c423c Refactor: Add ResetColumns component to improve table functionality 2024-06-04 14:38:40 -03:00
anovazzi1
5275126e64 chore: Update description text in SettingsPage 2024-06-04 14:06: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
002475331e update editable fields 2024-06-03 18:27:35 -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
anovazzi1
41c2d7feb5 start history in playgroundModal 2024-06-03 14:48:05 -03:00
cristhianzl
93568b4c0d (tableComponent): add editable prop to TableComponent for column editing
 (API): add updateMessageApi function to update messages via API
 (chatView): add select dropdown for clearing builds and sessions
♻️ (use-messages-table): refactor to use messages store for setting messages
♻️ (use-remove-messages): remove setRows and use messages store for deletion
 (use-updateMessage): add hook for updating messages with API integration
📝 (headerMessages): update header message text in messages page

 (messagesPage): add cell edit request handling for message updates
♻️ (messagesPage): refactor state management and hooks usage
 (types): add new types for chat and message handling
2024-06-03 10:31:46 -03:00
cristhianzl
21a8545ddb ♻️ (monitor.py): change POST to DELETE for delete_messages endpoint
♻️ (schemas.py): remove unused MessageIds schema
♻️ (api.tsx): add missing commas in ApiInterceptor function
🐛 (api.tsx): fix duplicate request check to include method "get"
♻️ (index.ts): change deleteMessagesFn to use DELETE method instead of POST
♻️ (use-remove-messages.tsx): clean up comments and improve error handling
2024-06-03 10:29:58 -03:00
anovazzi1
f3922dfff6 refactor: Move editable attribute to TableComponent
add update function, need to fix backend
2024-06-02 19:38:33 -03:00
anovazzi1
1a65af7602 move editable attribute to table Component 2024-06-02 18:07:45 -03:00
anovazzi1
729150a5a4 refactor(headerMessages): update text content in HeaderMessagesComponent 2024-05-31 22:40:53 -03:00
anovazzi1
1d06969364 Merge remote-tracking branch 'origin/ic/flow_eraser_dropdown' into SessionManagment 2024-05-31 17:47:08 -03:00
cristhianzl
57c38acace 💡 (schemas.py): add newline at end of file to follow PEP 8 guidelines 2024-05-31 13:43:41 -03:00
cristhianzl
602ebf7b15 (monitor.py): add MessageIds schema for structured message deletion
♻️ (monitor.py): change delete_messages endpoint to POST for better semantics
♻️ (monitor.py): update delete_messages to use MessageIds schema
 (schemas.py): add MessageIds schema for structured message deletion
🐛 (service.py): fix SQL query in delete_messages to use correct column name
 (index.tsx): add toTitleCase utility to format column headers
 (API/index.ts): add deleteMessagesFn to handle message deletion via API
 (headerMessages): add HeaderMessagesComponent for message management UI
 (use-messages-table): add useMessagesTable hook to fetch and manage messages
 (use-remove-messages): add useRemoveMessages hook to handle message deletion

♻️ (messagesPage): refactor messages page to use new messages store
 (messagesStore): create zustand store for managing messages state
 (types): add types for messages and zustand messages store
2024-05-31 13:43:28 -03:00
ogabrielluiz
f79289f966 feat: Add API endpoints for managing messages
This commit adds new API endpoints for managing messages. It includes the ability to delete messages by their IDs, update a specific message, and delete all messages associated with a session. These changes are implemented in the `monitor.py`, `schema.py`, and `service.py` files.
2024-05-31 09:38:05 -03:00
anovazzi1
a99d0c7eb0 refactor(tableComponent): update column definitions to include checkbox selection logic for first column
feat(API): add support for excluding specific columns in getMessagesTable function

fix(flowLogsModal): pass excludedFields parameter to getMessagesTable function

refactor(GlobalVariablesPage): remove unnecessary checkbox selection properties from column definitions

fix(messagesPage): pass excludedFields parameter to getMessagesTable function

refactor(utils): add support for excluding specific columns in extractColumnsFromRows function
2024-05-29 17:48:12 -03:00
anovazzi1
022ef7c028 feat: Add Messages page to SettingsPage
Refactor the SettingsPage component to include a new "Messages" page. This page will be accessible through the "/settings/messages" route and will display messages related to user settings. The necessary changes have been made to the index.tsx file of the SettingsPage component and the routes.tsx file.
2024-05-29 17:15:21 -03:00
ogabrielluiz
6e9b5661c8 feat: Update langflow-base to version 0.0.53 and langflow to 1.0.0a42 2024-05-29 11:07:10 -03:00
Gabriel Luiz Freitas Almeida
92a11b7ce4
Fixed Ollama base url handling and Qdrant component (#2007)
This pull request includes several code refactorings to improve the
readability and maintainability of the codebase. The changes include
reordering and organizing the initialization parameters in the
QdrantComponent class, removing unused imports and cleaning up code
formatting in the OllamaModel.py file, updating comments and docstrings
for clarity and consistency in the OllamaModel.py file, and refactoring
the logic for setting the base URL in the get_model method of the
OllamaModel.py file to improve maintainability and readability. These
changes aim to make the codebase more organized and easier to understand
for future development and maintenance.
2024-05-29 06:40:17 -07:00
ogabrielluiz
32e8da3bf4 ♻️ (OllamaModel.py): Remove unused imports and clean up code formatting for better readability
📝 (OllamaModel.py): Update comments and docstrings for clarity and consistency
🔧 (OllamaModel.py): Refactor the logic for setting the base URL in the get_model method to improve maintainability and readability
2024-05-29 10:33:12 -03:00
ogabrielluiz
642acf8172 ♻️ (Qdrant.py): refactor QdrantComponent class to improve code readability and maintainability by reordering and organizing the initialization parameters. 2024-05-29 10:09:45 -03:00
ogabrielluiz
f9026ba8f6 build(pre-release.yml): dynamically set artifact name based on release type input to ensure correct artifact is downloaded 2024-05-28 22:08:49 -03:00
ogabrielluiz
861955bebe chore: Update dependencies to latest versions 2024-05-28 21:52:31 -03:00
Gabriel Luiz Freitas Almeida
36a6d8d23a
chore: Add domain attribute to cookies in login.py and auth.py (#2003) 2024-05-28 17:45:52 -07:00
ogabrielluiz
2a2483d0ee chore: Add domain attribute to cookies in login.py and auth.py 2024-05-28 21:45:29 -03:00
ogabrielluiz
a112d72fc1 chore: Update docker volume mount path for langflow-data in pre.docker-compose.yml 2024-05-28 20:46:46 -03:00
ogabrielluiz
8bc241267d chore(create-release.yml): remove unnecessary version check step to simplify workflow and improve readability 2024-05-28 19:47:46 -03:00
ogabrielluiz
969ac6eb49 chore(create-release.yml): Update Poetry version to 1.8.2 2024-05-28 19:44:50 -03:00
ogabrielluiz
9df2dc72ac chore(create-release.yml): add 'needs: release' to ensure the 'create_release' job runs after the 'release' job 2024-05-28 19:43:07 -03:00
ogabrielluiz
546dd3dbdf feat(create-release.yml): add support for building and uploading different project versions based on release type (base or main) to streamline release process 2024-05-28 19:40:03 -03:00
ogabrielluiz
ce797dbfa0 chore(create-release.yml): update workflow name to 'pre-release.yml' for consistency and clarity 2024-05-28 19:32:54 -03:00
ogabrielluiz
4f684c851c chore(create-release.yml): update action to download artifact to dawidd6/action-download-artifact@v3 for compatibility with workflow Langflow Pre-release (Unified) and add github_token and workflow inputs for authentication and artifact retrieval. 2024-05-28 19:28:42 -03:00
ogabrielluiz
8902b6d09e chore(create-release.yml): rename job name to 'Create Release Job' for clarity
chore(create-release.yml): rename step name to 'Download Artifact' for better readability
chore(create-release.yml): rename step name to 'Create Release Notes' for better understanding of the action's purpose
2024-05-28 19:24:52 -03:00