Commit Graph

112 Commits

Author SHA1 Message Date
Alex Grozav
cc009559ee fix(editor): Set document title when renaming and loading workflow (no-changelog) (#11100) 2024-10-04 15:15:25 +03:00
कारतोफ्फेलस्क्रिप्ट™
bb2895689f feat(editor): Overhaul document title management (#10999) 2024-09-30 10:57:25 +02:00
कारतोफ्फेलस्क्रिप्ट™
a0af1d9a06 feat(editor): Show Collaboration pane only when there are multiple active users (#10772) 2024-09-11 18:18:19 +02:00
कारतोफ्फेलस्क्रिप्ट™
a1e011dd2a refactor(editor): Enable collaboration features only in NodeView v2 (no-changelog) (#10756) 2024-09-11 14:22:55 +02:00
Raúl Gómez Morales
00013a2069 perf(editor): Fix WorkflowDetails excessive re-rendering (#10767) 2024-09-11 11:46:18 +02:00
Tomi Turtiainen
2ea2bfe762 feat: Reintroduce collaboration feature (#10602) 2024-09-03 17:52:12 +03:00
Eugene
022ddcbef9 feat(core): Execution curation (#10342)
Co-authored-by: oleg <me@olegivaniv.com>
2024-09-02 15:20:08 +02:00
Csaba Tuncsik
4a125f511c fix(editor): Add tooltips to workflow history button (#10570)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-08-28 13:06:01 +02:00
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
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
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
Ricardo Espinoza
8debac755e refactor(editor): Migrate tags.store to use composition API (no-changelog) (#9891) 2024-07-02 14:15:20 -04:00
Ricardo Espinoza
41e06be6fd refactor(editor): Migrate n8nRootStore to use composition API (no-changelog) (#9770) 2024-06-18 13:15:12 -04: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
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
1c261f85a3 refactor(editor): Migrate header WorkflowDetails to composition api (no-changelog) (#9186) 2024-04-29 07:53:42 +03: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
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
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
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
Michael Auerswald
5835e055d3 fix(editor): Show nice error when environment is not set up (#7778)
Adds a nicer error message with a link for owners who press Push to Git
without having a repository connected yet.
2023-11-23 13:50:03 +01:00
Milorad FIlipović
77bc8ecd4b feat(editor): Show avatars for users currently working on the same workflow (#7763)
This PR introduces the following changes:
- New Vue stores: `collaborationStore` and `pushConnectionStore`
- Front-end push connection handling overhaul: Keep only a singe
connection open and handle it from the new store
- Add user avatars in the editor header when there are multiple users
working on the same workflow
- Sending a heartbeat event to back-end service periodically to confirm
user is still active

- Back-end overhauls (authored by @tomi):
  - Implementing a cleanup procedure that removes inactive users
  - Refactoring collaboration service current implementation

---------

Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2023-11-23 10:14:34 +01:00
Michael Auerswald
0d3d33dd1f fix(editor): Only show push to git menu item to owners (#7766)
Removes the menu entry of "Push to Git" from the workflow menu for
non-owners, since they would not be able to push in the first place.
2023-11-21 15:20:15 +01:00
Csaba Tuncsik
020042ef1a fix(editor): Redirect to workflow editor after saving in debug mode (#7645) 2023-11-08 14:04:02 +01:00
Csaba Tuncsik
12a89e6d14 fix(editor): Fix route component caching, incorrect use of array reduce method and enable WF history feature (#7434)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2023-10-26 20:47:42 +02:00
कारतोफ्फेलस्क्रिप्ट™
3c0a166f7f fix(editor): Allow importing the same workflow multiple times (#7458)
Fixes #7457
2023-10-20 13:58:30 +02:00
Csaba Tuncsik
53c3379282 feat(editor): Workflow history [WIP]- Create workflow history item preview component (no-changelog) (#7378)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
2023-10-11 10:13:04 +02:00
Omar Ajoue
7ed466db7f fix(editor): Make workflow history button available only for dev builds (#7392)
Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com>
2023-10-10 12:15:18 +02:00
Ricardo Espinoza
1dfa052301 feat(editor): Support autologin for upgrade path (#7316)
Github issue / Community forum post (link here to close automatically):
2023-10-06 13:16:27 +02:00
Csaba Tuncsik
cd12a5990a feat(editor): Workflow history [WIP]- Improve switching between workflow history and editor (no-changelog) (#7353) 2023-10-05 15:49:59 +02:00
Csaba Tuncsik
4bc9164032 feat(editor): Workflow history [WIP]- Add workflow history opening button to main header component (no-changelog) (#7310)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2023-10-04 16:45:18 +02:00