Commit Graph

182 Commits

Author SHA1 Message Date
Michael Kret
bdc0622f59 feat: Page size 1 option (#10957) 2024-09-25 11:15:10 +03:00
Ricardo Espinoza
30261bdc91 fix(editor): Stop adding error message to event User encounted an error (no-changelog) (#10905) 2024-09-20 10:11:53 -04:00
Csaba Tuncsik
44e5fb9b06 fix(editor): Replace v-html with custom directive to sanitize html (#10804)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-09-18 09:49:41 +03:00
oleg
50459bacab fix(editor): Fix error rendering and indexing of LLM sub-node outputs (#10688) 2024-09-11 16:17:13 +02:00
Michael Kret
37a808896e fix: More hints to nodes - regression for sub nodes (no-changelog) (#10690) 2024-09-05 17:54:36 +01:00
Michael Kret
66ddb4a6f3 feat: More hints to nodes (#10565)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-09-04 16:33:10 +03:00
Ricardo Espinoza
c4eb3746d7 refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595) 2024-08-29 09:55:53 -04:00
Ricardo Espinoza
609bc4d97d refactor(editor): Standardize components sections order (no-changelog) (#10540) 2024-08-24 09:24:08 -04:00
Alex Grozav
334d11175e fix(editor): Fix lazy loaded component not using suspense (no-changelog) (#10454) 2024-08-16 13:29:32 +03:00
Elias Meire
4dee7cc36e fix(editor): Show item count in output panel schema view (#10426) 2024-08-15 16:11:46 +01:00
Elias Meire
71b6c67179 feat(editor): Add schema view to expression modal (#9976) 2024-08-12 16:47:14 +02:00
Eugene
57d1c9a99e feat(core): Show sub-node error on the logs pane. Open logs pane on sub-node error (#10248) 2024-08-02 16:00:09 +02:00
Alex Grozav
f2ad1222b1 feat(editor): Add support for unplugin-icons and auto-importing components (no-changelog) (#10055) 2024-07-23 13:30:29 +03:00
oleg
a8b5551331 refactor(OpenAI Model Node Node, Google PaLM Language Model Node, Google PaLM Chat Model Node): Mark nodes as deprecated (#10119) 2024-07-19 17:57:50 +02:00
Elias Meire
ab5688c582 fix(editor): Handle disabled nodes in schema view (#10052)
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-07-17 11:18:13 +02:00
Elias Meire
e51de9d391 feat(editor): Show multiple nodes in input pane schema view (#9816) 2024-06-24 18:09:28 +02:00
Ricardo Espinoza
41e06be6fd refactor(editor): Migrate n8nRootStore to use composition API (no-changelog) (#9770) 2024-06-18 13:15:12 -04:00
oleg
fb73ec3994 refactor(editor): Refactor BinaryDataDisplay components to Vue 3 syntax (no-changelog) (#9753)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-06-18 10:50:28 +02:00
Elias Meire
4918ac81de fix(editor): Improve large data warning in input/output panel (#9671) 2024-06-11 12:08:55 +02:00
Mutasem Aldmour
e520f8a98f fix: Reset pagination when output size changes (#9652) 2024-06-06 17:14:55 +02:00
Milorad FIlipović
a8bb53f4e3 fix(editor): Improve error messages around pinned data (#9632) 2024-06-05 13:48:55 +02:00
Elias Meire
c0ec990f4c feat(editor): Overhaul input selector in NDV (#9520) 2024-05-31 18:04:57 +02:00
Csaba Tuncsik
8566301731 fix(editor): Show input panel with not connected message (#9495) 2024-05-23 06:39:05 +02:00
Elias Meire
62ee796895 fix(editor): Fix node execution errors showing undefined (#9487) 2024-05-22 15:54:25 +02:00
Michael Kret
870412f093 feat(core): Node hints improvements (no-changelog) (#9387)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-05-22 13:35:29 +03:00
Csaba Tuncsik
cd751e7cc8 fix(editor): Fix rundata type errors (no-changelog) (#9443) 2024-05-21 13:19:56 +02:00
Michael Kret
da6088d0bb feat(core): Node hints(warnings) system (#8954) 2024-05-13 15:46:02 +03:00
oleg
32df17104c fix(editor): Allow pinning of AI root nodes (#9060)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-04-05 15:00:31 +02:00
कारतोफ्फेलस्क्रिप्ट™
072c3db97d refactor(core): Rename push sessionId to pushRef (#8905) 2024-04-03 13:43:14 +02:00
Ricardo Espinoza
4668db20fb fix(editor): Issue with JSON editor getting cut off (#9000) 2024-04-03 12:15:19 +02:00
कारतोफ्फेलस्क्रिप्ट™
372d5c7d01 ci: Upgrade eslint, prettier, typescript, and some other dev tooling (no-changelog) (#8895)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-03-26 14:22:57 +01:00
Giulio Andreini
5301323906 feat(editor): Improve errors in output panel (#8644)
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-03-07 18:08:01 +02:00
Michael Kret
35f6826150 feat: Track node errors on PostHog (#8774)
Co-authored-by: Marcus <marcus@n8n.io>
2024-03-05 16:58:14 +02:00
Elias Meire
c7c17673cb fix(editor): Fix NDV output tabs resetting on any click (#8808) 2024-03-05 15:45:41 +01:00
oleg
a973b9c077 fix(editor): Hide previous execution data for sub-nodes in debug mode if it has execution error (#8710)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-02-26 10:22:42 +01:00
Csaba Tuncsik
caab97e667 fix(editor): Show pin button on binary output but disable it with tooltip (#8388) 2024-01-26 06:54:49 +01:00
Tomi Turtiainen
1aa35b190a fix: Set '@typescript-eslint/return-await' rule to 'always' for FE (no-changelog) (#8373) 2024-01-18 11:28:01 +02:00
oleg
184ed8e17d refactor: Migrate genericHelpers mixin to composable (#8220)
## Summary
- Moved out canvas loading handling to canvas store
- Tag editable routes via meta to remove router dependency from generic
helpers
- Replace all occurrences of `genericHelpers` mixin with composable and
audit usage
- Moved out `isRedirectSafe` and `getRedirectQueryParameter` out of
genericHelpers to remove dependency on router

Removing the router dependency is important, because `useRouter` and
`useRoute` compostables are only available if called from component
instance. So if composable is nested within another composable, we
wouldn't be able to use these. In this case we'd always need to inject
the router and pass it through several composables. That's why I moved
the `readonly` logic to router meta and `isRedirectSafe` and
`getRedirectQueryParameter` out as they were only used in a single
component.

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-01-05 12:23:28 +01:00
Alex Grozav
b50d8058cf feat(editor): Migrate pinData mixin to usePinnedData composable (no-changelog) (#8207)
## Summary
Required as part of NodeView refactoring:
- Migrates `pinData` mixin to `usePinnedData` composable.
- Adds `useActiveNode` and `useNodeType` composables 

## Related tickets and issues
https://linear.app/n8n/issue/N8N-6355/pindata

## Review / Merge checklist
- [x] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [x] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [x] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again.
   > A feature is not complete without tests.
2024-01-04 11:22:56 +02:00
कारतोफ्फेलस्क्रिप्ट™
216ec079c9 feat(editor): Create separate components for JS and JSON editors (no-changelog) (#8156)
## Summary
This is part-1 of refactoring our code editors to extract different type
of editors into their own components.
In part-2 we'll
1. delete a of unused or duplicate code
2. switch to a `useEditor` composable to bring more UX consistency
across all the code editors.

## Review / Merge checklist
- [x] PR title and summary are descriptive
- [x] Tests included
2023-12-29 10:49:27 +01:00
कारतोफ्फेलस्क्रिप्ट™
68cff4c59e refactor(editor): Improve linting for component and prop names (no-changelog) (#8169) 2023-12-28 09:49:58 +01:00
oleg
35fbc37c8e refactor(editor): Refactor nodeHelpers mixin to composable (#7810)
- Convert `nodeHelpers` mixin into composable and fix types
- Replace usage of the mixin with the new composable
- Add missing store imports in components that were dependent on opaque
imports from nodeHelpers mixin
- Refactor the `CollectionParameter` component to the modern script
setup syntax
Github issue / Community forum post (link here to close automatically):

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-08 16:59:03 +01:00
Alex Grozav
885dba6f12 refactor: Migrate externalHooks mixin to composables (no-changelog) (#7930)
## Summary
Provide details about your pull request and what it adds, fixes, or
changes. Photos and videos are recommended.

As part of NodeView refactor, this PR migrates all externalHooks calls
to `useExternalHooks` composable.

#### How to test the change:
1. Run using env `export N8N_DEPLOYMENT_TYPE=cloud` 
2. Hooks should still run as expected


## Issues fixed
Include links to Github issue or Community forum post or **Linear
ticket**:
> Important in order to close automatically and provide context to
reviewers

https://linear.app/n8n/issue/N8N-6349/externalhooks


## Review / Merge checklist
- [x] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [x] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [x] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again. A feature is not complete without tests.
  >
> *(internal)* You can use Slack commands to trigger [e2e
tests](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#a39f9e5ba64a48b58a71d81c837e8227)
or [deploy test
instance](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#f6a177d32bde4b57ae2da0b8e454bfce)
or [deploy early access version on
Cloud](https://www.notion.so/n8n/Cloudbot-3dbe779836004972b7057bc989526998?pvs=4#fef2d36ab02247e1a0f65a74f6fb534e).
2023-12-06 17:28:09 +02:00
कारतोफ्फेलस्क्रिप्ट™
117962d473 feat(core): Update LLM applications building support (no-changelog) (#7710)
extracted out of #7336

---------

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-11-28 16:47:28 +01:00
कारतोफ्फेलस्क्रिप्ट™
753cbc1e96 refactor(editor): Delete some barrel files and reduce circular dependencies (no-changelog) (#7838) 2023-11-28 12:15:08 +01:00
Csaba Tuncsik
18817651ec feat(editor): Node IO filter (#7503)
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-11-15 16:19:48 +01:00
Mutasem Aldmour
151e60f829 fix(editor): Fix local storage flags defaulting to undefined string (#7603)
useStorage takes the default value `undefined` and sets it in local
storage.. also returns "undefined" as string which breaks onboarding
flows

Github issue / Community forum post (link here to close automatically):
2023-11-07 10:06:08 +01:00
Csaba Tuncsik
85e1a10021 refactor(editor): Simplify data count in NDV (no-changelog) (#7568) 2023-11-03 12:07:04 +01:00
Alex Grozav
721a36637c feat(editor): Handle pin data edge cases and unify validation (no-changelog) (#6685)
Github issue / Community forum post (link here to close automatically):
2023-11-02 10:43:02 +02:00
Giulio Andreini
0746783e02 refactor(editor): Color palette updates, introduce dark mode (#6980)
Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Mutasem <mutdmour@gmail.com>
2023-11-01 13:33:36 +01:00