Commit Graph

196 Commits

Author SHA1 Message Date
Milorad FIlipović
6dd90c8764 feat(editor): Add more telemetry for workflow inputs (no-changelog) (#12862) 2025-01-27 15:36:59 +01:00
Elias Meire
aa1f3a7d98 fix(editor): Make sure code editors work correctly in fullscreen (#12597) 2025-01-14 17:16:41 +00:00
Shireen Missi
6711cbcc64 fix(editor): Fix parameter input validation (#12532) 2025-01-09 12:58:46 +00:00
Elias Meire
52ae02abaa feat(editor): New Code editor based on the TypeScript language service (#12285) 2025-01-08 11:28:56 +01:00
Shireen Missi
452a7bfe2c fix(editor): Fix Multi option parameter expression when the value is an array (#12430) 2025-01-06 08:51:13 +00:00
Ivan Atanasov
d4116630a6 feat: (Execute Workflow Node): Inputs for Sub-workflows (#11830) (#11837)
Co-authored-by: Charlie Kolb <charlie@n8n.io>
Co-authored-by: Milorad FIlipović <milorad@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-12-20 17:01:22 +01:00
oleg
8c635993bd fix(editor): Unify disabled parameters background color (#12306) 2024-12-19 17:42:52 +01:00
Ricardo Espinoza
3f9127955a refactor(editor): Stop using $locale in favor of the i18n composable (#11731)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-11-15 19:11:58 -05:00
oleg
565f8cd8c7 feat(editor): Improve how we show default Agent prompt and Memory session parameters (#11491) 2024-11-12 11:33:20 +01:00
Ricardo Espinoza
38fefff348 refactor(editor): Migrate ndv.store to composition API (#11574) 2024-11-08 08:11:36 -05:00
Charlie Kolb
db94f169fc fix(editor): Prevent NodeCreator from swallowing AskAssistant enter event (#11532) 2024-11-07 16:22:13 +01:00
Shireen Missi
499c54b29a refactor(editor): Migrate FixedCollectionParameter to composition API (#11555)
Co-authored-by: Elias Meire <elias@meire.dev>
2024-11-06 14:40:49 +00:00
Elias Meire
ff14dcb3a1 fix(editor): Hide data mapping tooltip in credential edit modal (#11356) 2024-10-24 13:22:15 +01:00
Michael Kret
643d66c0ae feat(n8n Form Page Node): New node (#10390)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-10-17 14:59:53 +01:00
Michael Kret
4bd4b6977a feat: Enable code capture in ai transform node (no-changelog) (#11241) 2024-10-14 14:53:16 +01:00
Eugene
9fc3699beb feat(editor): Do not show error for remote options when credentials aren't specified (#10944) 2024-09-26 12:03:29 +02:00
Elias Meire
1b973dcd8d fix(editor): Fix schema view pill highlighting (#10936) 2024-09-25 13:33:49 +01:00
कारतोफ्फेलस्क्रिप्ट™
60ee0d4ce7 refactor(editor): Correct some prop types (no-changelog) (#10907) 2024-09-23 09:19:37 +02: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
54ab2b14e4 fix(editor): Auto-focus expression input when switching from "fixed" mode (#10686) 2024-09-06 09:17:46 +02:00
Milorad FIlipović
95a9cd2c73 feat(editor): Implement new app layout (#10548) 2024-08-28 14:01:05 +02:00
Ricardo Espinoza
609bc4d97d refactor(editor): Standardize components sections order (no-changelog) (#10540) 2024-08-24 09:24:08 -04:00
oleg
84e54beac7 feat(editor): Implement workflowSelector parameter type (#10482) 2024-08-22 16:59:12 +02:00
Michael Kret
4d222ac19d feat(AI Transform Node): New node (#10405)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-08-14 16:20:02 +03:00
Shireen Missi
bae0116d78 fix: Remove node AI Transform node (no-changelog) (#10400) 2024-08-14 13:01:14 +02:00
Elias Meire
71b6c67179 feat(editor): Add schema view to expression modal (#9976) 2024-08-12 16:47:14 +02:00
Michael Kret
0de9d56619 feat(AI Transform Node): New node (#9990)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
2024-08-07 18:07:48 +03:00
Eugene
c0e37439a8 fix(editor): Fix parameter input glitch when there was an error loading remote options (#10209) 2024-07-29 10:50:05 +02:00
oleg
c4c25eadfd feat(editor): Refactor several smaller components to composition API (no-changelog) (#10038) 2024-07-12 15:43:07 +02:00
Ricardo Espinoza
cef177455e refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934) 2024-07-04 10:30:51 +03:00
Elias Meire
5bc58efde9 fix(editor): Show error state correctly in options parameter with remote options (#9836) 2024-06-26 12:35:55 +02:00
Milorad FIlipović
63990f14e3 fix(editor): Prevent updating node parameter value if it hasn't changed (#9535) 2024-05-29 16:13:54 +02:00
Elias Meire
711c46f205 refactor: Fix type issues for parameter input components (#9449) 2024-05-21 15:04:20 +02:00
Elias Meire
0ee4b6c860 fix(editor): Fix multi-select parameters with load options getting cleared (#9324) 2024-05-08 10:43:04 +02:00
Elias Meire
1c7acbb629 refactor: Refactor ParameterInput to composition API + fix all TS errors (no-changelog) (#9006) 2024-04-18 11:48:52 +02:00
कारतोफ्फेलस्क्रिप्ट™
072c3db97d refactor(core): Rename push sessionId to pushRef (#8905) 2024-04-03 13:43:14 +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
Elias Meire
0c179e4e51 feat(editor): Refactor expression editors and mixins to composition API (#8894)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-03-15 18:40:37 +01:00
Elias Meire
e78cc2d8d2 feat(editor): Help users discover expressions when using drag n drop (#8869) 2024-03-13 12:57:08 +01:00
Alex Grozav
3cbe1e2136 feat(editor): Migrate workflowRun mixin to useRunWorkflow composable (no-changelog) (#8711) 2024-02-27 11:39:45 +02:00
oleg
510bf8905d refactor(editor): Refactor workflowHelpers mixin to composable (no-changelog) (#8600) 2024-02-12 10:45:05 +01:00
Elias Meire
2799de491b feat: Add assignment component with drag and drop to Set node (#8283)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-02-06 18:34:34 +01:00
Alex Grozav
8c8caac4e8 feat(editor): Migrate debounce mixin to useDebounce composable (no-changelog) (#8244) 2024-01-08 14:00:49 +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
Elias Meire
071e6d6b6e feat(editor): Add fullscreen view to code editor (#8084)
## Summary

<img width="1240" alt="image"
src="https://github.com/n8n-io/n8n/assets/8850410/2819f4ce-c343-431a-8a88-a1bc9c4b572a">
<img width="2649" alt="image"
src="https://github.com/n8n-io/n8n/assets/8850410/36862aaf-cc4c-4668-bdc8-cf5a6f00babe">

1. Add code node and open it
3. Click the fullscreen button in the bottom right
4. A fullscreen dialog should appear and allow editing the code
5. Changes made in the fullscreen dialog should be applied to the
original code editor when closed

It should work the same way for HTML/SQL/JSON editors

⚠️ Modal layout was updated so that modals/dialogs are centered, try to
test some modals

## Related tickets and issues
https://linear.app/n8n/issue/NODE-1009/add-fullscreen-view-to-code-node



## Review / Merge checklist
- [ ] 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))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [ ] 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.

---------

Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-01-04 17:23:24 +01: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
Elias Meire
8a5343401d feat(editor): Filter component + implement in If node (#7490)
New Filter component + implementation in If node (v2)

<img width="3283" alt="image"
src="https://github.com/n8n-io/n8n/assets/8850410/35c379ef-4b62-4d06-82e7-673d4edcd652">

---------

Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Michael Kret <michael.k@radency.com>
2023-12-13 14:45:22 +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