Commit Graph

98 Commits

Author SHA1 Message Date
Iván Ovejero
d92f994913 fix(editor): Resolve $vars and $secrets in expressions in credentials fields (#9289) 2024-05-03 14:39:31 +02:00
Alex Grozav
ff0955c995 refactor(editor): Migrate pushConnection mixin to composable and remove collaboration store side effects (no-changelog) (#9249) 2024-05-03 10:26:15 +03:00
Alex Grozav
cd9bc44bdd feat: Add Ask AI to HTTP Request Node (#8917) 2024-05-02 13:52:15 +03:00
Iván Ovejero
426a12ac0e fix(editor): Prevent excess runs in manual execution with run data (#9259) 2024-04-30 15:00:17 +02:00
Alex Grozav
1c261f85a3 refactor(editor): Migrate header WorkflowDetails to composition api (no-changelog) (#9186) 2024-04-29 07:53:42 +03:00
Michael Kret
2bf0a3933e feat(Webhook Node): Setting to enable multiple outputs/methods (#9086)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-04-24 08:46:16 +03:00
Alex Grozav
a3eea3ac5e feat(editor): Refactor and unify executions views (no-changelog) (#8538) 2024-04-19 07:50:18 +02: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
Omar Ajoue
bc6575afbb fix(editor): Rerun failed nodes in manual executions (#9050)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-04-04 11:28:35 +02:00
Tomi Turtiainen
71c54cba52 fix: Fix missing input panel in node details view (#9043) 2024-04-04 11:13:37 +03:00
Iván Ovejero
042aa62fc2 fix(editor): Make Webhook node pinnable (#9047) 2024-04-03 17:41:15 +02:00
Iván Ovejero
bcd39a110b fix(editor): Add fallback for expression resolution in multi-output case (#9045) 2024-04-03 17:07:58 +02:00
कारतोफ्फेलस्क्रिप्ट™
072c3db97d refactor(core): Rename push sessionId to pushRef (#8905) 2024-04-03 13:43:14 +02:00
Tomi Turtiainen
eaaefd76da feat: Allow workflow execution even if it has errors (#9037) 2024-04-03 14:35:06 +03:00
Milorad FIlipović
02219dde2f fix: Stop listening button not working in NDV (#9023) 2024-04-03 12:18:50 +02:00
Michael Kret
3fd97e4c72 fix: Prevent chat modal opening on 'Test workflow' click (#9009)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
2024-04-01 17:08:00 +03:00
Elias Meire
8788e2a35b fix(editor): UI enhancements and fixes for expression inputs (#8996) 2024-03-29 16:01:32 +01:00
Michael Kret
ae75cf414a fix: Get all parent nodes > useRunWorkflow (no-changelog) (#8992) 2024-03-28 11:12:36 +02:00
Elias Meire
160dfd383d feat(editor): Show tip when user can type dot after an expression (#8931) 2024-03-26 15:23:30 +01: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
oleg
5f53d76e39 fix(editor): Fix opening of chat window when executing a child node (#8789)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-03-21 09:23:15 +01:00
Elias Meire
5e84c2ab89 feat(editor): Add missing extension methods for expressions (#8845) 2024-03-20 12:05:54 +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
Michael Kret
e10fa379d3 fix: Disable pinning for root nodes from canvas (#8848) 2024-03-11 15:36:03 +02:00
Omar Ajoue
bde4c6c7a1 fix: Allow sharee to use workflows with http request node without credential access (#8841) 2024-03-11 09:43:30 +00:00
Michael Kret
0481e6e6e7 fix(n8n Form Trigger Node): Do not open pop up when data is pinned in trigger (#8781) 2024-03-01 12:43:10 +02:00
Alex Grozav
3cbe1e2136 feat(editor): Migrate workflowRun mixin to useRunWorkflow composable (no-changelog) (#8711) 2024-02-27 11:39:45 +02:00
Alex Grozav
c0be43bdbe fix(editor): Fix various typecheck issues (no-changelog) (#8739) 2024-02-26 16:05:12 +02:00
Csaba Tuncsik
9c0fe413d9 fix(editor): Use proper composable for localization (#8660) 2024-02-16 14:51:29 +01:00
oleg
f5274302f8 fix: Fix resolving of expressions of deeply nested sub-nodes (#8612) 2024-02-14 10:42:55 +01:00
Elias Meire
3b2078c3ca fix(HTTP Request Node): Handle special characters in pagination expressions + improve hint text (#8576)
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-02-12 17:32:27 +01:00
oleg
510bf8905d refactor(editor): Refactor workflowHelpers mixin to composable (no-changelog) (#8600) 2024-02-12 10:45:05 +01:00
Elias Meire
994754bf39 feat(editor): Add delete and disable button to nodes on hover (#8482) 2024-02-02 16:02:41 +01:00
कारतोफ्फेलस्क्रिप्ट™
7386f79362 fix(editor): Fix copy to clipboard on insecure contexts (#8425) 2024-01-24 09:53:31 +01:00
Alex Grozav
b6d775768f feat(editor): Migrate moveNodeWorkflow mixin to useCanvasPanning composable (#8322) 2024-01-19 16:27:44 +02:00
Csaba Tuncsik
83228e26fb fix(editor): Add pinned data for freshly added nodes (#8323) 2024-01-19 14:44:54 +01:00
Tomi Turtiainen
e606e841ee fix(editor): Use web native <a> element in nav menus (#8385) 2024-01-19 12:52:39 +02: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
Alex Grozav
d32e6a60da feat(editor): Migrate deviceSupportHelpers mixin to useDeviceSupport composable (no-changelog) (#8289) 2024-01-10 16:42:01 +02:00
Alex Grozav
8c8caac4e8 feat(editor): Migrate debounce mixin to useDebounce composable (no-changelog) (#8244) 2024-01-08 14:00:49 +02:00
Ricardo Espinoza
df5d07bcb8 feat(editor): Update copy: Execute --> Test (#8137)
## Summary

Title self explanatory


## Related tickets and issues
https://linear.app/n8n/issue/ADO-129/update-copy-execute-test

## 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))
2024-01-05 10:23:51 -05: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
Alex Grozav
f5a4bfe40c feat(editor): Migrate copyPaste mixin to composables (no-changelog) (#8179) 2023-12-29 12:13:24 +02:00
कारतोफ्फेलस्क्रिप्ट™
68cff4c59e refactor(editor): Improve linting for component and prop names (no-changelog) (#8169) 2023-12-28 09:49:58 +01:00
Milorad FIlipović
39e45d8b92 fix(editor): Prevent canvas undo/redo when NDV is open (#8118)
## Summary
Preventing canvas undo/redo while NDV or any modal is open. We already
had a NDV open check in place but looks like it was broken by unreactive
ref inside `useHistoryHelper` composable.
This PR fixes this by using store getter directly inside the helper
method and adds modal open check.

## Related tickets and issues
Fixes ADO-657

## 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.
2023-12-22 08:42:53 +01:00
Milorad FIlipović
36a923cf7b feat(editor): Add lead enrichment suggestions to workflow list (#8042)
## Summary
We want to show lead enrichment template suggestions to cloud users that
agreed to this. This PR introduces the front-end part of this feature
- Handoff document
- Figma Hi-fi
- [How to
test](https://linear.app/n8n/issue/ADO-1549/[n8n-fe]-update-workflows-list-page-to-show-fake-door-templates#comment-b6644c99)

Tests are being worked on in a separate PR

## Related tickets and issues
Fixes ADO-1546
Fixes ADO-1549
Fixes ADO-1604

## 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: ricardo <ricardoespinoza105@gmail.com>
2023-12-19 09:10:03 -05:00
Iván Ovejero
d44602913f refactor(editor): Add telemetry for debug in editor (no-changelog) (#8073)
https://linear.app/n8n/issue/PAY-1142
2023-12-19 12:23:30 +01:00
Csaba Tuncsik
329e5bf9ee fix(editor): Add back credential use permission (#8023)
## Summary
A shared credential is not selectable in NDV

Aim

If a credential is shared with a user they should be able to select it
in node details view
2023-12-14 13:36:36 +01:00
Jan Oberhauser
26f0d57f5f fix(editor): Fix bug with node names with certain characters (#8013)
## Summary
Fixes the issue that dots and other special characters can not be used
in node-names


## Related tickets and issues

https://linear.app/n8n/issue/ADO-1244/nodes-wont-output-data-if-the-name-contains-some-characters

https://community.n8n.io/t/bug-report-name-of-node-affects-output-data/31674
https://community.n8n.io/t/stripe-output-data/32418/1
https://community.n8n.io/t/monday-com-returning-items-but-no-data/31834
https://community.n8n.io/t/no-data-while-there-is-actually-data/32563
https://community.n8n.io/t/bug-report-periods-in-node-names/34119
https://github.com/n8n-io/n8n/issues/7896


## 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: Alex Grozav <alex@grozav.com>
2023-12-13 14:57:01 +00:00