Commit graph

11,390 commits

Author SHA1 Message Date
Rodrigo
b7a63154c3 chore: Update ChatInput.py to include Text import and modify return type 2024-06-11 15:27:57 -03:00
Lucas Oliveira
5dd0df05a0 Changed status circle to icon 2024-06-11 15:16:26 -03:00
Lucas Oliveira
4f47bf11cb Formatted flows 2024-06-11 15:11:45 -03:00
Lucas Oliveira
20f4620860 Changed .gitignore 2024-06-11 15:11:27 -03:00
Gabriel Luiz Freitas Almeida
aa94e42e0d
Release -> Output Inspection, Session Management, General Bug Fixing and UI Improvements (#2104) 2024-06-11 09:08:24 -07:00
ogabrielluiz
901e22de66 chore: Update package versions in pyproject.toml and poetry.lock 2024-06-11 13:05:48 -03:00
ogabrielluiz
60f446cb76 Refactor memory components to use updated Record schema 2024-06-11 13:05:48 -03:00
ogabrielluiz
3a3055479f Fix streaming 2024-06-11 13:05:48 -03:00
Lucas Oliveira
8e50859222 Fixed package lock and added cursor pointer to status icon 2024-06-11 13:03:00 -03:00
ogabrielluiz
2b2812f4df Merge remote-tracking branch 'origin/dev' into cz/mergeAll 2024-06-11 12:49:47 -03:00
Lucas Oliveira
4cf5f3ae0f Merge remote-tracking branch 'origin/dev' into cz/mergeAll 2024-06-11 12:46:51 -03:00
ming
ad23cac117
Improve SQLite performance (#2111)
* tune sqlite upon connection

* catch operational error

* use wal for journal_mode for faster performance
2024-06-11 08:44:48 -07:00
ogabrielluiz
89faa251ef chore: Update package versions in pyproject.toml and poetry.lock 2024-06-11 12:43:44 -03:00
Lucas Oliveira
d7fd36fade
Extensive UI Enhancements, Bug Fixes, and Code Refactoring (#2129)
## Pull Request Description

This pull request includes a comprehensive set of changes aimed at
improving the user interface, fixing bugs, and refactoring the code for
better maintainability and performance. The modifications encompass a
wide range of components and functionalities within the application.

## Changes Made

### Node Interaction
- Changed click to double-click when editing node information.
- Added node play on hover of entire node again.

### Modal Improvements
- Removed function that prevents `esc` on `codeAreaModal`.
- Changed `Name` to `Field Name` on `editNodeModal`.
- Refactored `BaseModal` and fixed overflow issues in various modals.
- Fixed buttons not submitting on `baseModal`.
- Fixed submit action on `baseModal` and state issue on Edit Node Modal.
- Fixed modal size and removed default size definition.
- Added input component to DOM with an event listener.

### UI Enhancements
- Fixed border being cut on Node Settings dropdown component.
- Fixed scrollbar colors and dropdown color when not global.
- Changed loading color and images to lighter ones, added animation to
grid.
- Fixed header profile image being shrunk and header alignment.
- Fixed padding and margin issues on buttons.
- Added gap to button and grabbing cursor when grabbing node.
- Added Status button and adjusted positioning of Node Header elements.
- Removed hover background from outline badge.

### Bug Fixes
- Fixed unused `console.log` statements and reset grid `console.log`.
- Fixed bug on `dictAreaModal` where state is kept without saving.
- Fixed dictionary component not being full width.
- Fixed scrollIntoView not always working.
- Fixed update shortcut not working.
- Fixed accordion not being disabled with no data on output.
- Fixed Memories badge overflow.
- Disabled output if it’s not valid.
- Removed pagination when it’s on the left side and fixed bug on opening
pagination.
- Fixed global variables not setting on EditNodeModal.
- Fixed Add New Variable button not working at the dropdown.

### Refactoring
- Updated `ChromaComponent` to show status.
- Refactored advanced options in `ChatComponent`, `URLComponent`, and
other components.
- Improved handling of `message.text` in `chat.py` to prevent errors.

### New Features
- Added image preloading hook and suspense image component.
- Added `EmbedComponent` and `PromptComponent` to langflow components.
- Added `Message` and `StoreMessage` components.

### Code Cleanup
- Removed unused classes and scale on hover.
- Added type definitions to global variables.
- Increased route history slice size for better navigation.

### Merge Details
- Merged multiple branches including `origin/cz/mergeAll` into
`fix/minor_ui_adjustments`.

### Contributors
- @lucaseduoli
- @rodrigosnader
- @Cristhianzl

---

These changes are crucial for improving the overall functionality and
user experience of the application. Please review and merge the pull
request. Thank you!
2024-06-11 12:42:45 -03:00
Lucas Oliveira
23e25cad7a Merge remote-tracking branch 'origin/cz/mergeAll' into fix/minor_ui_adjustments 2024-06-11 12:39:08 -03:00
Lucas Oliveira
af56de33e9 Fixed padding on buttons 2024-06-11 12:35:52 -03:00
Lucas Oliveira
c13800de5f Added grabbing cursor when grabbing node 2024-06-11 12:33:15 -03:00
Lucas Oliveira
9cde3ef1ee Added Status button and fixed positioning of Node Header elements 2024-06-11 12:32:58 -03:00
Lucas Oliveira
b2c09fc82c Removed hover bg from outline badge 2024-06-11 12:32:18 -03:00
Lucas Oliveira
a7f7530354 Formatting 2024-06-11 12:32:03 -03:00
Lucas Oliveira
15c28110c4 Added nocopy nowheel nopan classes on buttons 2024-06-11 12:31:54 -03:00
cristhianzl
c45c5da7e3 fix actions mains 2024-06-11 12:06:50 -03:00
cristhianzl
20724b8f50 fix actions mains 2024-06-11 12:06:05 -03:00
italojohnny
b7beeedccd update cassio dependency to be optional with extras 2024-06-11 11:50:17 -03:00
YAMON.IO
11b5aad3bd
add PythonCodeStructuredTool (#1747)
* Create PythonStructuredTool

This draft involves receiving two 'Code' types as inputs and creating a structured tool.

* Delete src/backend/base/langflow/components/experimental/PythonStructuredTool

* Create PythonCodeStructuredTool.py
2024-06-11 05:42:49 -07:00
Gabriel Luiz Freitas Almeida
e28962cbc4
Update Couchbase component and package versions (#2138)
* feat: Update Couchbase component to handle import errors

* chore: Update package versions in pyproject.toml and poetry.lock

* refactor: Fix encoding issue in read_text_file function

* 🐛 (parse.py): fix issue where method was always set to "post" when data or data binary was provided in curl command

* refactor: Fix string formatting in MonitorService delete_messages method

* fix: Update Couchbase import instructions in CouchbaseComponent

* refactor: Fix encoding issue in read_text_file function
2024-06-11 05:33:23 -07:00
cristhianzl
eee3475451 Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-11 09:13:15 -03:00
cristhianzl
34626f0531 merge dev 2024-06-11 09:12:52 -03:00
Jordan Frazier
a5752cdc14
fix: ensure tweaks object exists (#2134)
* ensure tweaks object exists

* Make similar change for python code
2024-06-11 05:05:31 -07:00
Nicolò Boschi
1110494615
feat: multi arch docker images (#2123) 2024-06-11 10:12:31 +02:00
Rodrigo
39c7494f40 add markdown to description 2024-06-11 00:28:43 -03:00
igorrCarvalho
33b1ee8365 Feat: Add shortcut for output inspection and play component 2024-06-10 23:24:57 -03:00
Rodrigo
49bdbef548 refactor: Improve advanced options in ChatComponent, URLComponent, and MessageHistoryComponent 2024-06-10 21:27:47 -03:00
Rodrigo
6cc31da766 feat: Add EmbedComponent and PromptComponent to langflow components 2024-06-10 21:26:21 -03:00
igorrCarvalho
1aca27e5f3 Fix: update shortcut not working 2024-06-10 20:50:35 -03:00
igorrCarvalho
e9f63edacd Refactor: update shortcut name 2024-06-10 20:41:10 -03:00
igorrCarvalho
b1d399662c Refactor: change default API modal shortcut 2024-06-10 20:38:18 -03:00
igorrCarvalho
420bf4ba4d Refactor: Decrease visual shortcut font size 2024-06-10 20:32:45 -03:00
cristhianzl
79615816a4 Merge branch 'cz/mergeAll' into fix/minor_ui_adjustments 2024-06-10 20:07:26 -03:00
cristhianzl
3cda01b9c6 Merge branch 'fix/minor_ui_adjustments' of https://github.com/langflow-ai/langflow into fix/minor_ui_adjustments 2024-06-10 20:06:41 -03:00
cristhianzl
972f44ce7b 🐛 (chat.py): add check for message.text being a string to prevent errors
♻️ (index.ts): refactor variable names for clarity and add debug logging
♻️ (IOModal/index.tsx): reformat code for better readability and consistency
 (IOModal/index.tsx): add excluded fields parameter to getMessagesTable calls
2024-06-10 20:06:31 -03:00
igorrCarvalho
fe49ba9e23 Refactor: remove delete visual shortcut background color on hover 2024-06-10 19:57:55 -03:00
ogabrielluiz
9b99aeda36 refactor: Generate unique names for flows and folders with the same name 2024-06-10 19:51:18 -03:00
Lucas Oliveira
50aa95a0b7 Fixed Add New Variable button not working at the dropdown 2024-06-10 19:41:39 -03:00
Lucas Oliveira
40f42db9a8 Fixed global variables not setting on EditNodeModal 2024-06-10 19:39:15 -03:00
Lucas Oliveira
387ec2304e removed margin from button 2024-06-10 19:18:26 -03:00
Edwin Jose
4f2e582cf7
Update get-python-api-code.tsx (#2130) 2024-06-10 15:06:06 -07:00
Jordan Frazier
11ef216c0a
feat: add cassandra components (#2056)
* Add cassandra store component

* Add cassandra search component

* revert poetry changes

* fix type

* Add cassandra icon

* Add Cassandra Message Writer

* Add cassandra message reader

* poetry

* Fix init of cass reader

* move cassio import to base project and inline imports in backend

* running make format

* remove file

* remove cassio import

* update lockfile

* Actually update lockfile:

* merge fixes
2024-06-10 15:04:24 -07:00
Lucas Oliveira
752ae3a41b Changed from API Keys to Langflow API 2024-06-10 18:57:15 -03:00
Lucas Oliveira
2113e32d84 Merge remote-tracking branch 'origin/cz/mergeAll' into fix/minor_ui_adjustments 2024-06-10 18:50:46 -03:00