Commit Graph

139 Commits

Author SHA1 Message Date
Csaba Tuncsik
117e2d968f fix(editor): Connect up new project viewer role to the FE (#9913) 2024-08-13 16:45:28 +03:00
Alex Grozav
2580a5e19e feat(editor): Enable NodeView version switcher by default on internal (no-changelog) (#10356) 2024-08-12 16:14:40 +03:00
Csaba Tuncsik
557a76ec23 fix(editor): Update tags filter/editor to not show non existing tag as a selectable option (#10297) 2024-08-06 15:29:55 +02:00
Alex Grozav
fe1a1d80c6 feat(editor): Enable NodeView.switcher by default in dev mode (no-changelog) (#10165) 2024-07-24 11:02:42 +03:00
Elias Meire
2e5c548452 feat(editor): Add duplicate and copy/paste to canvas v2 (no-changelog) (#10112) 2024-07-19 14:49:52 +02:00
Ricardo Espinoza
ba27c987dc refactor(editor): Migrate settings.store to composition API (no-changelog) (#10022)
Co-authored-by: Elias Meire <elias@meire.dev>
2024-07-19 08:35:36 -04:00
Alex Grozav
4559e3ae18 feat(editor): Cleanup unused keymap functions and add additional onSave events in new canvas (no-changelog) (#10106) 2024-07-19 14:40:00 +03:00
कारतोफ्फेलस्क्रिप्ट™
0d12f0a6b3 fix(editor): Remove push event listeners when migrating away from the canvas (#10063) 2024-07-15 17:25:32 +02:00
Alex Grozav
4e2f0adb2a feat(editor): Add workflow action to switch between new and old canvas (no-changelog) (#9969) 2024-07-09 15:58:36 +03: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
Ricardo Espinoza
f64ca621e1 refactor(editor): Migrate ui.store to use composition API (no-changelog) (#9892) 2024-07-03 15:11:40 -04:00
कारतोफ्फेलस्क्रिप्ट™
22990342df refactor(core): Delete all collaboration related code (no-changelog) (#9929) 2024-07-03 18:46:24 +02:00
कारतोफ्फेलस्क्रिप्ट™
7f8857f69b refactor(editor): Upgrade frontend typing (no-changelog) (#9915) 2024-07-03 14:19:24 +02:00
Ricardo Espinoza
8debac755e refactor(editor): Migrate tags.store to use composition API (no-changelog) (#9891) 2024-07-02 14:15:20 -04:00
Csaba Tuncsik
1ba656ef4a fix(editor): Properly update workflow info in main header (#9789) 2024-06-24 15:08:24 +02:00
Iván Ovejero
11fe48b3dc fix(editor): Revert header toggle fix (#9800) 2024-06-19 10:03:09 +02:00
Ricardo Espinoza
41e06be6fd refactor(editor): Migrate n8nRootStore to use composition API (no-changelog) (#9770) 2024-06-18 13:15:12 -04:00
Iván Ovejero
551fb6d7a2 fix(editor): Active toggle incorrectly displayed as inactive in execution view (#9778) 2024-06-17 18:24:56 +02:00
Mutasem Aldmour
50bd5b9080 feat: Update NPS Value Survey (#9638)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-06-11 10:23:30 +02:00
Ricardo Espinoza
22bdb0568e refactor(editor): Fix remaining FE type check errors (no-changelog) (#9607)
Co-authored-by: Alex Grozav <alex@grozav.com>
2024-06-10 16:23:06 +03:00
Tomi Turtiainen
1e15f73b0d fix(editor): Remove template creds setup from workflow when copied (no-changelog) (#9673) 2024-06-10 13:36:42 +03:00
Csaba Tuncsik
ed963011c9 fix(editor): Move projects and rbac files (no-changelog) (#9651) 2024-06-06 15:30:17 +02:00
oleg
68420ca6be refactor(editor): Fix NodeView/Canvas related TS errors (#9581)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-06-03 16:33:20 +02:00
Csaba Tuncsik
4eb6edc73a refactor(editor): Fix type errors (no-changelog) (#9584) 2024-06-03 14:24:26 +02:00
Csaba Tuncsik
e68a3fd6ce fix(editor): Show workflow data in header when execution page is hard reloaded (#9529) 2024-05-30 16:47:02 +02:00
Milorad FIlipović
cadb59fecb fix(editor): Redirect to workflows list after deleting a workflow (#9546) 2024-05-30 11:12:56 +02:00
Csaba Tuncsik
596c472ecc feat: RBAC (#8922)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Val <68596159+valya@users.noreply.github.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Valya Bullions <valya@n8n.io>
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Danny Martini <despair.blue@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: oleg <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: Elias Meire <elias@meire.dev>
Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Ayato Hayashi <go12limchangyong@gmail.com>
2024-05-17 10:53:15 +02:00
Alex Grozav
aa397b9730 fix(editor): Fix unwanted side effects from tailwind components (no-changelog) (#9359) 2024-05-10 18:12:04 +03:00
Iván Ovejero
e74c14ffbe fix(editor): Fix shortcut issue on save buttons (#9309) 2024-05-07 09:09:09 +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
c6b4c6dbf2 refactor(editor): Rewrite TabBar to composition API (no-changelog) (#9231) 2024-04-29 16:10:48 +03:00
Alex Grozav
1c261f85a3 refactor(editor): Migrate header WorkflowDetails to composition api (no-changelog) (#9186) 2024-04-29 07:53:42 +03:00
Alex Grozav
a3eea3ac5e feat(editor): Refactor and unify executions views (no-changelog) (#8538) 2024-04-19 07:50:18 +02:00
Ricardo Espinoza
f6ce81e7da fix(editor): Canvas showing error toast when clicking outside of "import workflow by url" modal (#9001) 2024-04-04 05:15:37 -04:00
Milorad FIlipović
3c9a1d2da3 fix(editor): Prevent saving workflow while another save is in progress (#9048) 2024-04-04 09:59:02 +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
Csaba Tuncsik
6955e8991c fix(editor): Remove isOwner from IUser interface (#8888) 2024-03-18 11:39:15 +01: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
oleg
510bf8905d refactor(editor): Refactor workflowHelpers mixin to composable (no-changelog) (#8600) 2024-02-12 10:45:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
d6deceacde refactor(core): Remove roleId indirection (no-changelog) (#8413) 2024-01-24 13:38:57 +01:00
Tomi Turtiainen
e43cf2fd71 fix(editor): Enable ctrl/cmd click in workflow editor header (#8387) 2024-01-19 14:28:44 +02:00
Tomi Turtiainen
3cf6704dbb feat: Enable cred setup for workflows created from templates (no-changelog) (#8240)
## Summary

Enable users to open credential setup for workflows that have been
created from templates if they skip it.

Next steps (will be their own PRs):
- Add telemetry events
- Add e2e test
- Hide the button when user sets up all the credentials
- Change the feature flag to a new one

## Related tickets and issues

https://linear.app/n8n/issue/ADO-1637/feature-support-template-credential-setup-for-http-request-nodes-that
2024-01-05 18:07:57 +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
कारतोफ्फेलस्क्रिप्ट™
68cff4c59e refactor(editor): Improve linting for component and prop names (no-changelog) (#8169) 2023-12-28 09:49:58 +01:00
Milorad FIlipović
517b050d0a feat(editor): Add template Id to workflow metadata (#8088)
## Summary
Adding a link between the workflow and the template it originated from
by saving `templateId` in the workflow metadata

## Related tickets and issues
ADO-1537

## 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))
- [ ] [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.
2023-12-22 15:07:05 +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
Csaba Tuncsik
132d691cbf fix(editor): Replace isInstanceOwner checks with scopes where applicable (#7858)
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-12-04 10:02:54 +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
152883eed1 build: Upgrade lint related packages (#7790) 2023-11-27 09:11:52 +01:00