Commit graph

2,988 commits

Author SHA1 Message Date
Lucas Oliveira
1bade7e718 Fixed group nodes appearing at tooltip 2024-02-15 22:06:59 +01:00
Gabriel Luiz Freitas Almeida
fbc3f24440
Bump vite from 4.5.1 to 4.5.2 in /src/frontend (#1360)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 4.5.1 to 4.5.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->4.5.2 (2024-01-19)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)
(<a href="eeec23b">eeec23b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15653">#15653</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d0360c1247"><code>d0360c1</code></a>
release: v4.5.2</li>
<li><a
href="eeec23bbc9"><code>eeec23b</code></a>
fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite/commits/v4.5.2/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=4.5.1&new-version=4.5.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/logspace-ai/langflow/network/alerts).

</details>
2024-02-15 10:51:24 -03:00
cristhianzl
33d05a23f3 Merge branch 'add_emoji_icon' into dev 2024-02-08 18:08:24 -03:00
cristhianzl
b9570b9c32 add emoji icon 2024-02-08 18:06:59 -03:00
Gabriel Luiz Freitas Almeida
f48b4468f6 Add icon property to APIClassType 2024-02-08 10:02:33 -03:00
Cristhian Zanforlin Lousa
034312d2a2
Refactor: make new flow create as "Untitled document" instead of random name (#1408) 2024-02-07 20:00:21 -03:00
igorrCarvalho
d0865a2580 Refactor: remove flow if there is no changes 2024-02-06 14:27:23 -03:00
dependabot[bot]
e617d36387
Bump vite from 4.5.1 to 4.5.2 in /src/frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 22:03:43 +00:00
Gabriel Luiz Freitas Almeida
392b81b519 Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
This reverts commit f3b3d2cf68.
2024-02-05 19:02:34 -03:00
Gabriel Luiz Freitas Almeida
7b5225f857
Merge branch 'main' into dev 2024-02-05 18:34:19 -03:00
anovazzi1
ee22000c52 Fix output type separator in GenericNode component 2024-02-05 18:33:11 -03:00
Gabriel Luiz Freitas Almeida
f3b3d2cf68
Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 18:29:03 -03:00
anovazzi1
6fcc754704 Update Playwright configuration and fix Select component 2024-02-05 17:32:43 -03:00
anovazzi1
8023332260
add vectara icon (#1389)
* adding vectara icon

* Add field_typing imports and source parameter to VectaraComponent

* Refactor Vectara imports and update dependencies

* Refactor VectaraSelfQueryRetriverComponent class and update field_config

* Remove None values and update template strings

* Add get_output_types_from_code method to DirectoryReader

* Refactor directory_reader.py and handle exception when getting output types from code

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2024-02-02 18:01:29 -03:00
Gabriel Luiz Freitas Almeida
c0c64c99c9 Update imports to use langchain_core.documents 2024-02-01 09:37:37 -03:00
Gabriel Luiz Freitas Almeida
7efa79af69 Fix formatting issues and update code style 2024-02-01 09:35:46 -03:00
Gabriel Luiz Freitas Almeida
e61e4ac51b
Update Langchain to 0.1 and migrate most components to CustomComponent (#1382)
This PR updates Langchain to 0.1.* and move components previously
created automatically to start using the CustomComponent framework.

This will improve maintainability and move Langflow to be closer to the
framework.
2024-01-31 17:43:18 -03:00
Gabriel Luiz Freitas Almeida
2076f32704 Merge branch 'dev' into update_lc 2024-01-31 15:57:16 -03:00
Lucas Oliveira
b49e0578d7 fix cursor position on safari 2024-01-31 11:54:08 +01:00
Lucas Oliveira
5984a45178 removed unused utils function 2024-01-31 11:37:11 +01:00
Lucas Oliveira
911257c92f Fix console error on code component 2024-01-31 11:31:24 +01:00
Lucas Oliveira
abe597823b Fixed undoing not fixing group edges 2024-01-31 11:23:16 +01:00
Lucas Oliveira
f93724eb44 Fixed takeSnapshot deleting history if snapshot was equal to the previous 2024-01-31 11:18:33 +01:00
Lucas Oliveira
7ba2610184 refactored number of handles 2024-01-31 11:10:42 +01:00
Lucas Oliveira
cc548ba604 removed unused createFlowComponent 2024-01-31 10:56:55 +01:00
Lucas Oliveira
30709221ef removed direct attribution of official attribute 2024-01-31 10:54:47 +01:00
Lucas Oliveira
b3f5b25eba Removed direct attribution on data on updateFlowPosition 2024-01-31 10:52:36 +01:00
anovazzi1
2aa273166d Fix input fields behavior when node is not selected 2024-01-29 17:36:00 -03:00
Gabriel Luiz Freitas Almeida
87d2db11ac Merge remote-tracking branch 'origin/dev' into update_lc 2024-01-24 19:22:22 -03:00
Lucas Oliveira
16e959b639 Fixed not saving on drop 2024-01-24 18:57:47 +01:00
anovazzi1
fd25788a9b fix(codeTabsComponent): set readonly prop to true for CodeAreaComponent to prevent editing when node template field is dynamic 2024-01-18 18:50:57 -03:00
cristhianzl
0f0488e59a fix(parameterComponent): update id and data-testid for textarea component to use the name of the parameter instead of index
fix(EditNodeModal): update id and data-testid for textarea component to use the name of the template parameter instead of index
fix(promptModalComponent.spec): update data-testid for textarea components to use the name of the prompt instead of index
fix(group.spec): update data-testid for textarea component to use a more descriptive name instead of index
fix(saveComponents.spec): update data-testid for textarea component to use a more descriptive name instead of index
2024-01-18 18:18:18 -03:00
anovazzi1
276329edf0 Add unselectAll function to CodeTabsComponent and FlowStore 2024-01-18 14:47:43 -03:00
anovazzi1
3b60133639 Fix readonly prop in CodeTabsComponent and update setNodeClass in GenericModal 2024-01-18 14:26:31 -03:00
anovazzi1
291e5f42c0 Update embeddings and conversation chains 2024-01-18 13:38:23 -03:00
anovazzi1
454e80f6d8 fix(GenericNode/index.tsx): import useUpdateNodeInternals from reactflow to fix missing dependency
feat(GenericNode/index.tsx): add useUpdateNodeInternals hook to update node internals when isMinimized changes
2024-01-18 13:37:42 -03:00
cristhianzl
06bc86142a Merge branch 'dev' into cz/bug/state/zustand 2024-01-18 09:35:09 -03:00
Lucas Oliveira
6ab7bbf46c Fixed chat button appearing even if build failed 2024-01-18 13:23:44 +01:00
cristhianzl
a6f25e97b8 fix(parameterComponent): add isMinimized prop to ParameterComponent to control the display of a component when minimized
feat(GenericNode): add isMinimized state to control the display of components when the node is minimized
fix(nodeToolbarComponent): set isMinimized state based on showNode prop to control the display of components when the node is minimized
2024-01-17 20:40:39 -03:00
anovazzi1
35a0a344dd Fix drag and click behavior in nestedComponent.spec.ts 2024-01-17 19:01:32 -03:00
anovazzi1
84160ce86e Fix formatting and remove unused code 2024-01-17 17:29:15 -03:00
anovazzi1
7b889fe651 Refactor sidebar draggable component 2024-01-17 17:27:05 -03:00
cristhianzl
e48c5d06c0 merge fix 2024-01-17 16:57:58 -03:00
cristhianzl
bd0d0cb1b2 fix(sideBarDraggableComponent): fix alignment and positioning of select trigger and select content
feat(sideBarDraggableComponent): add support for download option in select content
feat(sideBarDraggableComponent): add support for delete option in select content for non-official items
2024-01-17 16:57:02 -03:00
Lucas Oliveira
7ada6f20ac Merge branch 'cz/bug/state/zustand' into update_lc 2024-01-17 19:44:30 +01:00
igorrCarvalho
a2096b8e0b Fix: Add value prop initial value to prevent it from breaking when open edit node modal 2024-01-17 19:29:25 +01:00
igorrCarvalho
65d8b59885 Fix: Add select trigger to Saved components to make toolbar open again 2024-01-17 19:29:21 +01:00
igorrCarvalho
cb956e68d0 Fix: Transform empty object to array without opening 'editNode' modal to prevent flow build breakage. 2024-01-17 19:29:14 +01:00
igorrCarvalho
8d86d6208c Fix: Input list doesnt show up when template value are empty 2024-01-17 19:28:50 +01:00
Lucas Oliveira
c3a0dfbd97 Fixed handles not showing when changing the output of the custom code 2024-01-17 19:27:58 +01:00