Commit graph

2123 commits

Author SHA1 Message Date
Iván Ovejero a217866cef
fix(core): Account for retry of execution aborted by pre-execute hook (#9474) 2024-05-22 15:22:07 +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
Elias Meire a591f63e3f
feat(editor): Add examples for root expression methods (#9373) 2024-05-22 10:05:31 +02:00
Elias Meire 62df4331d4
fix(editor): Emit change events from filter component on update (#9479) 2024-05-22 09:40:09 +02:00
Alex Grozav 0cb977bf2f
fix(editor): Fix type errors for various utils files (no-changelog) (#9480) 2024-05-22 07:54:55 +03:00
Alex Grozav eef5479e96
fix(editor): Fix design system typecheck errors (no-changelog) (#9447) 2024-05-21 20:53:19 +03:00
Iván Ovejero d21ad15c1f
fix(core): Fix 431 for large dynamic node parameters (#9384) 2024-05-21 19:11:02 +02:00
Csaba Tuncsik 96cf41f851
fix(editor): Fix project settings layout (#9475) 2024-05-21 15:49:55 +02:00
Elias Meire 711c46f205
refactor: Fix type issues for parameter input components (#9449) 2024-05-21 15:04:20 +02:00
Csaba Tuncsik cd751e7cc8
fix(editor): Fix rundata type errors (no-changelog) (#9443) 2024-05-21 13:19:56 +02:00
oleg 277511a9b5
refactor(editor): Refactor code completions mixins to composables (no-changelog) (#9459)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-05-21 12:07:04 +02:00
Ricardo Espinoza 75919397d6
refactor(editor): Fix type errors in ResourcesListLayout.vue (no-changelog) (#9461) 2024-05-20 09:01:38 -04:00
Daniil Zobov 87f965e905
feat(Telegram Node): Add support for local bot api server (#8437)
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2024-05-20 13:47:01 +01:00
Csaba Tuncsik 04dd4760e1
fix(editor): Fix i18n translation addition (#9451) 2024-05-17 17:18:15 +02:00
Ricardo Espinoza 18933edff1
refactor(editor): Fix type errors in NodeDetailsView.vue (no-changelog) (#9431) 2024-05-17 10:57:14 -04:00
Ricardo Espinoza 3a5412850c
refactor(editor): Convert workflowActivate mixin into a composable (no-changelog) (#9423) 2024-05-17 10:03:39 -04:00
Milorad FIlipović 9c768a0443
fix(editor): Fix type errors in components/executions/workflow (#9448) 2024-05-17 15:14:59 +02:00
oleg 69bb745cac
refactor(editor): Fix types issues in src/components/Node/* (no-changelog) (#9444)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-05-17 14:46:11 +02:00
Milorad FIlipović aac19d3285
fix: Fix type errors in community nodes components (#9445) 2024-05-17 14:11:55 +02:00
Mutasem Aldmour b2c17034c2
refactor: Fix Enteprise type errors (#9442) 2024-05-17 13:58:26 +02:00
Elias Meire feba07ba8b
refactor: Fix type errors in completions code (#9439) 2024-05-17 13:36:34 +02:00
Alex Grozav db1a40635d
fix(editor): Fix External secrets typecheck (no-changelog) (#9434) 2024-05-17 14:16:00 +03:00
Giulio Andreini 2782534d78
feat(editor): Update Node Details View header tabs structure (#9425)
Co-authored-by: Elias Meire <elias@meire.dev>
2024-05-17 12:37:34 +02:00
Csaba Tuncsik a7d3e59aef
fix(editor): Fix type errors in i18n plugin (#9441) 2024-05-17 12:30:33 +02:00
Alex Grozav 6aec42069c
fix(editor): Fix RBAC type errors (no-changelog) (#9435) 2024-05-17 13:29:47 +03:00
Csaba Tuncsik bc05faf0a6
fix(editor): Fix workflow history TS errors (#9433) 2024-05-17 10:59:01 +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
Elias Meire 40bce7f443
feat(editor): Add examples for Luxon DateTime expression methods (#9361)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-05-16 14:53:22 +02:00
Iván Ovejero 38b498e73a
fix(editor): Fix outdated roles in variables labels (#9411) 2024-05-15 18:04:17 +02:00
Giulio Andreini aad43d8cdc
fix(editor): Secondary button in dark mode (#9401) 2024-05-15 17:57:21 +02:00
Iván Ovejero 14fe9f268f
fix(editor): Fix blank Public API page (#9409) 2024-05-15 17:35:30 +02:00
कारतोफ्फेलस्क्रिप्ट™ 1777f8cdb1
fix(editor): Temporarily disable tailwind (no-changelog) (#9394) 2024-05-14 17:20:31 +02:00
Elias Meire 52936633af
feat(editor): Add examples for object and array expression methods (#9360)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-05-14 16:32:31 +02:00
Elias Meire 7b45dc313f
feat(editor): Add examples for number & boolean, add new methods (#9358) 2024-05-13 16:28:27 +02:00
Michael Kret da6088d0bb
feat(core): Node hints(warnings) system (#8954) 2024-05-13 15:46:02 +03:00
oleg 359ade45bc
refactor: Implement LLM tracing callback to improve parsing of tokens usage stats (#9311)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-05-12 21:12:07 +02:00
कारतोफ्फेलस्क्रिप्ट™ 244520547b
feat(editor): Migrate codemirror-lang-n8n-expression into this monorepo (no-changelog) (#9087)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-05-10 18:49:22 +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
Elias Meire c92c870c73
feat(editor): Autocomplete info box: improve structure and add examples (#9019)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-05-10 14:39:06 +02:00
Elias Meire 4ed585040b
fix(editor): Render backticks as code segments in error view (#9352) 2024-05-10 11:23:23 +02:00
Michael Kret a00467c9fa
feat(core): Node version available in expression (#9350) 2024-05-10 09:51:26 +03:00
Elias Meire dc5994b185
feat(editor): Add item selector to expression output (#9281) 2024-05-09 14:45:31 +02:00
Csaba Tuncsik 1c1e4443f4
perf: Add tailwind to editor and design system (#9032) 2024-05-09 14:12:13 +02:00
Milorad FIlipović cda062bde6
feat(editor): Remove AI Error Debugging (#9337) 2024-05-08 14:13:47 +02:00
Alex Grozav f64a41d617
refactor(editor): Migrate workflows store to setup function with composition API (no-changelog) (#9270) 2024-05-08 14:35:29 +03:00
Michael Kret 6b6e8dfc33
feat(Simulate Node): New node (no-changelog) (#9109) 2024-05-08 12:02:36 +01:00
Milorad FIlipović 35b983b6df
feat(editor): Temporarily disable AI error helper (#9329) 2024-05-08 10:53:17 +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
Milorad FIlipović 491c6ec546
feat(editor): Implement AI Assistant chat UI (#9300) 2024-05-07 15:43:19 +02:00
Iván Ovejero e74c14ffbe
fix(editor): Fix shortcut issue on save buttons (#9309) 2024-05-07 09:09:09 +02:00
कारतोफ्फेलस्क्रिप्ट™ cf441e0294
ci: Remove gulp (no-changelog) (#9283)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2024-05-06 18:42:03 +02:00
Ricardo Espinoza 552cf8f3db
fix(editor): Fix type errors in the SettingsLdapView.vue (no-changelog) (#9308) 2024-05-06 11:20:55 -04:00
कारतोफ्फेलस्क्रिप्ट™ b65e0e2811
fix(editor): Show MFA section to instance owner, even when external auth is enabled (#9301) 2024-05-03 15:03:59 +02:00
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
Michael Kret ed98ca2fb7
fix(Jira Trigger Node): Update credentials UI (#9198) 2024-05-01 07:26:09 +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
oleg 96f02bd655
feat(Groq Chat Model Node): Add support for Groq chat models (#9250)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-04-30 09:37:30 +02: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
Iván Ovejero 11a3572144
fix(editor): Fix and report settings being null in workflow payloads (no-changelog) (#9227) 2024-04-26 15:30:51 +02:00
Elias Meire 99f384e2cf
fix(editor): Fix read-only mode in inline expression editor (#9232) 2024-04-26 15:12:06 +02:00
Iván Ovejero fec04d5f79
fix(editor): Throw expression error on attempting to set variables at runtime (#9229) 2024-04-26 14:03:27 +02: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
Elias Meire 29ee4fab61
fix(Google Sheets Node): Fix "Append or Update" on an empty sheet (#9175)
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-04-23 10:29:39 +02:00
oleg f5ccb5fe33
fix(editor): Fix sessionId for manual chat trigger execution (#9187)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-04-23 09:20:51 +02:00
Elias Meire 5acbfb4234
fix(editor): Prevent duplicate values in preview for SQL editor (#9129) 2024-04-22 14:57:41 +02:00
Elias Meire 85780eade5
fix(editor): Fix expression preview when previous node is selected (#9140) 2024-04-19 10:07:00 +02:00
Alex Grozav a3eea3ac5e
feat(editor): Refactor and unify executions views (no-changelog) (#8538) 2024-04-19 07:50:18 +02:00
Elias Meire 135ef75add
fix(editor): Fix parameter reset on credential change in Discord node (#9137) 2024-04-18 14:56:04 +02:00
Milorad FIlipović 53101960e6
fix: Update sales templates card content (no-changelog) (#9155) 2024-04-18 12:30:30 +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
oleg f1215cdb6b
feat(Google Gemini Chat Model Node): Add support for new Google Gemini models (#9130)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-04-15 13:56:44 +02:00
Elias Meire 064e8f4a1d
fix(editor): Render dates correctly in parameter hint (#9089) 2024-04-11 12:09:55 +02:00
Michael Kret c00150bb8f
fix(editor): Do not show overlapping trash icon in the node's settings (#9119) 2024-04-11 11:32:16 +03:00
Elias Meire 98bcd50bab
feat(editor): Add object keys that need bracket access to autocomplete (#9088) 2024-04-10 16:33:59 +02:00
Jon 4eb4ade3a8
docs: Update wording for Advanced AI in nodes panel (#9091) 2024-04-10 11:23:43 +01:00
कारतोफ्फेलस्क्रिप्ट™ d46635fdb9
fix(editor): Set browser-id on all relative urls (no-changelog) (#9097) 2024-04-09 15:12:23 +02:00
Tomi Turtiainen 8c2622549b
feat: Add telemetry event 'User clicked AI error helper button' (no-changelog) (#9096) 2024-04-09 14:33:15 +03:00
Ahsan Virani aa1370469e
feat(editor): Remove cloud deployment check from settings route middlewareOptions (no-changelog) (#9095) 2024-04-09 13:02:15 +02:00
Tomi Turtiainen 4ac02dd5f4
fix(editor): UX improvements to mfa setup modal (#9059)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-04-09 13:57:14 +03:00
कारतोफ्फेलस्क्रिप्ट™ 28261047c3
feat(core): Prevent session hijacking (#9057) 2024-04-09 11:20:35 +02:00
Michael Kret 5793e5644a
feat: Append item index suffix to an error message, if provided, and node has many input items (#9070) 2024-04-09 11:33:26 +03:00
Csaba Tuncsik 92f6cbfba3
fix(editor): Fix displaying logic of execution retry button (#9061) 2024-04-09 10:25:12 +02:00
Michael Kret 3dd70a17e2
fix(editor): Drop outgoing connections on order changed event for nodes with dynamic outputs (#9055) 2024-04-09 04:46:52 +03:00
Iván Ovejero 3bcfef95f6
fix(editor): Expand range of allowed characters in expressions (#9083)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-04-08 16:31:52 +02:00
Tomi Turtiainen 50dd90db1a
fix: Fix some vue warnings (no-changelog) (#9069) 2024-04-08 13:08:28 +03:00
Tomi Turtiainen 7467aa30e6
fix(editor): Fix issues in dark mode (#9068)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-04-08 09:21:54 +03:00
Milorad FIlipović f2143620ba
fix(editor): Connecting nodes to triggers when adding them together (#9042) 2024-04-05 15:46:02 +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
Ricardo Espinoza caea27dbb5
fix(editor): Fix issue with case insensitive tags (#9071) 2024-04-05 09:00:18 -04:00
Iván Ovejero b8ab049932
refactor(core, editor): Remove legacy nodesAccess (no-changelog) (#9016) 2024-04-05 13:17:34 +02:00
Iván Ovejero ba986fb018
refactor(editor): Remove legacy audit logs view (no-changelog) (#9053) 2024-04-05 10:23:27 +02:00
कारतोफ्फेलस्क्रिप्ट™ 637b6c4d3e
refactor(editor): Do not make rest api calls for disabled features (no-changelog) (#9046) 2024-04-04 15:53:34 +02:00
Csaba Tuncsik db4f8d49a3
fix(editor): Fix execution with wait node (#9051) 2024-04-04 12:33:29 +02:00
Ricardo Espinoza dff8f7ac94
fix(editor): Issue showing Auth2 callback section when all properties are overriden (#8999) 2024-04-04 05:30:37 -04: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
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
Tomi Turtiainen 71c54cba52
fix: Fix missing input panel in node details view (#9043) 2024-04-04 11:13:37 +03:00
Milorad FIlipović 3c9a1d2da3
fix(editor): Prevent saving workflow while another save is in progress (#9048) 2024-04-04 09:59:02 +02: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
Csaba Tuncsik ec9fe98a35
fix(editor): Make share modal content scrollable (#9025) 2024-04-03 16:50:25 +02:00
Tomi Turtiainen 77b359ada6
fix: Fix vue type warnings (no-changelog) (#9038) 2024-04-03 15:04:21 +03: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
Ricardo Espinoza 4668db20fb fix(editor): Issue with JSON editor getting cut off (#9000) 2024-04-03 12:15:19 +02:00
Milorad FIlipović 4619dec285 feat(editor): Update templates links (#9024) 2024-04-03 12:15:08 +02:00
Csaba Tuncsik aac77e1668 fix(editor): Fix execution debug button (#9018) 2024-04-03 12:15:07 +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
Ricardo Espinoza bead7eb840
fix(editor): Hover and active states not showing in execution list on dark mode (#9002)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-03-29 11:13:48 -04:00
Elias Meire 8788e2a35b
fix(editor): UI enhancements and fixes for expression inputs (#8996) 2024-03-29 16:01:32 +01:00
Iván Ovejero 2aab78b058
feat(core): Introduce AWS secrets manager as external secrets store (#8982) 2024-03-28 10:15:58 +01:00
Michael Kret ae75cf414a
fix: Get all parent nodes > useRunWorkflow (no-changelog) (#8992) 2024-03-28 11:12:36 +02:00
Elias Meire 295b650fb8
fix(editor): Make inputs in the filter component regular inputs by default (#8980) 2024-03-27 09:52:58 +01: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
Csaba Tuncsik 117b57ccc5
fix(editor): Fix accidental IDE code addition (#8971) 2024-03-26 10:50:31 +01:00
Giulio Andreini 264f918d97
fix(editor): Nodes connectors improvements (#8945)
Co-authored-by: Elias Meire <elias@meire.dev>
2024-03-26 09:54:04 +01:00
Iván Ovejero 69807a5efb
refactor(core): Unify failed and error execution status (no-changelog) (#8943) 2024-03-25 17:52:07 +01:00
Elias Meire 0e4216d7af
fix(editor): Use bracket notation for all invalid identifiers in expressions (#8933) 2024-03-22 13:53:06 +01:00
Milorad FIlipović 666867a236
feat: Fetch user cloud role and pass it on in website links (#8942) 2024-03-22 11:33:39 +01:00
Giulio Andreini 3f13d8f41a
fix(editor): Fix error message color in output panel for dark mode (no-changelog) (#8950) 2024-03-22 09:18:27 +01:00
Elias Meire 45461c8cb5
fix: Overhaul expression error messages related to paired item (#8765) 2024-03-21 16:59:22 +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 d7bfd45333
feat(editor): Add type information to autocomplete dropdown (#8843) 2024-03-19 18:10:14 +01:00
कारतोफ्फेलस्क्रिप्ट™ 669bd830e9
feat(editor): Block the frontend when trying to access n8n from another host over http (#8906) 2024-03-18 18:34:41 +01:00
Csaba Tuncsik 6955e8991c
fix(editor): Remove isOwner from IUser interface (#8888) 2024-03-18 11:39:15 +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 a5261d6ebb
fix(editor): Improve expression editor performance by removing watchers (#8900) 2024-03-15 15:14:20 +01:00
Csaba Tuncsik a92d8bfc6e
fix(editor): Fix source control docs link in add workflow button tooltip (#8891) 2024-03-15 12:46:25 +00:00
Omar Ajoue bcbff76055
fix(editor): Add proper scroll to Environments push modal (#8883) 2024-03-14 09:26:04 +00:00
Michael Kret 4861556a1c
fix: Chat Trigger exclude summarization node from valid ai nodes (#8875) 2024-03-14 09:43:56 +02:00
Alex Grozav 948c383999
feat: Add AI Error Debugging using OpenAI (#8805) 2024-03-13 16:48:00 +02:00
Elias Meire e78cc2d8d2
feat(editor): Help users discover expressions when using drag n drop (#8869) 2024-03-13 12:57:08 +01:00
Csaba Tuncsik dd40570056
fix(editor): Fix workflow card open action (#8839) 2024-03-12 11:32:34 +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
Omar Ajoue 261b9c73d6
fix: Display readable error when manual executions contains large payload (#8834) 2024-03-08 12:23:27 +00:00
Elias Meire 76fe960a76
fix: Improve filter component error handling (#8832) 2024-03-08 10:10:32 +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
Elias Meire 6e2aa405fc
fix(editor): Make inputs in the filter component expressions by default (#8784) 2024-03-07 17:01:56 +01:00
Elias Meire 9b4618dd5e
feat(editor): Add sections to autocomplete dropdown (#8720)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-03-07 17:01:05 +01:00
Michael Kret ed6dc86d60
feat: Add more AI node info to telemetry (#8827) 2024-03-07 12:46:07 +02:00
oleg 0f7ae3f50a
refactor: Update Langchain to 0.1.41 & add support for Claude 3 (#8825)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-03-07 11:36:36 +01:00
Omar Ajoue d778cae9f5
feat: Track self serve trial (no-changelog) (#8801) 2024-03-06 10:29:47 +00: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 bfda8ead0c
fix(editor): Fix retrieving of messages from memory in chat modal (#8807)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-03-05 13:53:46 +01:00
Elias Meire 8c993aa59d
fix(editor): Update assignment hint when user hovers table row (#8782) 2024-03-05 12:42:06 +01:00
Elias Meire 5d5466343e
fix(editor): Set correct type for right input in filter component (#8771) 2024-03-05 12:19:30 +01:00
Omar Ajoue 0d10befd60
refactor: Remove node access control (#8730) 2024-03-04 16:11:35 +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
Elias Meire f9a99ec029
feat: No expression error when node hasn’t executed (#8448)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-02-27 10:29:16 +01:00
Omar Ajoue 737170893d
feat: Allow instance owners and admins to edit all credentials (#8716)
Co-authored-by: Danny Martini <despair.blue@gmail.com>
2024-02-27 08:26:36 +00:00
Milorad FIlipović 27f3166272
fix: Send user id when setting up an account (#8639) 2024-02-27 09:21:16 +01:00
Alex Grozav c0be43bdbe
fix(editor): Fix various typecheck issues (no-changelog) (#8739) 2024-02-26 16:05:12 +02:00
oleg 2c172e9fb3
fix(editor): Remove NDVSubConnections component console.log (no-changelog) (#8737)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-02-26 10:22:51 +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
Alex Grozav 4b01335aa4
feat: Add env variables to support exposing /workflows/demo route and /nodes.json route (#8506)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-02-23 18:20:12 +02:00
Elias Meire 3ba2cdcadb
fix(editor): Update Filter component state when value is updated (#8684) 2024-02-23 13:45:42 +01:00
oleg 41b191e055
feat(editor): AI Floating Nodes (#8703)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-02-23 13:34:32 +01:00
Jan Oberhauser a29b41ec55
fix(core): Fix pairedItem issue with partial manual executions (#8575)
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-02-23 11:43:08 +01:00
कारतोफ्फेलस्क्रिप्ट™ 8a88d15684
fix(editor): Do not break NDV for version-less nodes (#8714) 2024-02-22 15:37:29 +01:00
oleg 246f8cfcc3
feat(editor): Retrieve previous chat message on arrow-up (#8696)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-02-22 09:32:34 +01:00
Elias Meire 23a1bc40a2
fix(editor): Correctly set condition operator when changed (#8700) 2024-02-21 14:53:42 +01:00
कारतोफ्फेलस्क्रिप्ट™ 059d281fd1
feat(core): Move execution permission checks earlier in the lifecycle (#8677) 2024-02-21 14:47:02 +01:00
Milorad FIlipović a573146135
fix(editor): Send protocol and n8n version in templates destination parameter, stop redirecting template preview page to website (#8691) 2024-02-21 13:09:16 +01:00
Elias Meire 890c2bd52b
fix(editor): Escape node names with quotes in autocomplete and drag'n'drop (#8663) 2024-02-21 10:43:34 +01:00
Omar Ajoue c346002cc6
feat: Allow product updates as well as security updates (no-changelog) (#8689) 2024-02-21 09:11:42 +00:00
Elias Meire e2f2fc910d
fix(editor): Wrap expressions in resource locator component (#8673) 2024-02-20 17:22:44 +01:00
Elias Meire 20446bdf11
feat(editor): Add chevron to filter component operator select (#8633) 2024-02-20 15:19:16 +01:00
Elias Meire c943a51a28
fix(editor): Handle drag-n-dropping from other nodes in assignment component (#8661) 2024-02-20 11:21:10 +01:00
Csaba Tuncsik 40c7f77a35
fix(editor): Fix node runData and pinned data check on manual run (#8669) 2024-02-19 13:02:20 +01:00
Csaba Tuncsik 46fe544b9a
fix(editor): Fix unnecessary execution of nodes when there is pin data (#8567)
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2024-02-16 16:24:07 +00:00
Csaba Tuncsik 9c0fe413d9
fix(editor): Use proper composable for localization (#8660) 2024-02-16 14:51:29 +01:00
Elias Meire 66cbe54e1d
fix(editor): Filter component: do not clear expression when changing operator (#8635) 2024-02-16 14:32:43 +01:00
Elias Meire 8e9d3106a5
fix(editor): Fix SQL editors not always re-rendering when query changes (#8621) 2024-02-16 11:26:43 +01:00
कारतोफ्फेलस्क्रिप्ट™ 8c665e4d20
refactor(editor): Re-organize n8n logo files (no-changelog) (#8483) 2024-02-16 10:42:32 +01:00
कारतोफ्फेलस्क्रिप्ट™ bf729aa2f0
refactor(editor): Do not use CodeNodeEditor anywhere except the Code node (no-changelog) (#8636) 2024-02-15 11:35:50 +01:00
Michael Kret 941278db68
feat(OpenAI Node): Overhaul (#8335) 2024-02-15 10:15:58 +02:00
Elias Meire 9c7e0266ee
fix(editor): Debounce expression changes (#8629) 2024-02-14 15:23:11 +01:00
Milorad FIlipović bf4f896373
feat: Add telemetry event when users click on templates link (#8625) 2024-02-14 13:26:44 +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
Mutasem Aldmour 64b10d7f5c
refactor: Remove any appcues events (#8597) 2024-02-09 15:15:59 +01:00
Milorad FIlipović 79b09fdf84
feat(editor): Use website as the main templates repository (#8591) 2024-02-09 13:47:43 +01:00
Omar Ajoue 7501ad8f3c
feat: Add support for AI log streaming (#8526)
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
2024-02-09 09:41:01 +00:00
Elias Meire de6d466e5e
refactor: Add lint rule for unsafe property access with lodash get/set (no-changelog) (#8587) 2024-02-08 15:32:04 +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
Elias Meire 994754bf39
feat(editor): Add delete and disable button to nodes on hover (#8482) 2024-02-02 16:02:41 +01:00
Elias Meire 612771e032
fix(editor): Prune values that are not in the schema in the ResourceMapper component (#8478) 2024-02-02 11:28:12 +01:00
Milorad FIlipović 2aed788dc3
feat(editor): Send template id as string in all telemetry events (#8498) 2024-01-31 13:34:11 +01:00
Milorad FIlipović e643a126f4
feat(editor): Implement loading and error states for dynamically loaded components in node parameter list (#8477) 2024-01-30 14:27:42 +01:00
oleg 79c9763122
refactor(editor): Prevent router.replace from computed property (no-changelog) (#8489)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2024-01-30 12:00:10 +01:00
Milorad FIlipović 327cc8df73
fix(editor): Send template id as a number in telemetry events (#8484) 2024-01-30 10:37:06 +01:00
Csaba Tuncsik eb27ed068b
fix(editor): Disable expression editor modal opening on readonly field (#8457) 2024-01-29 16:34:10 +01:00
Giulio Andreini 97b398871d
docs(editor): Copy and aliases tweaks (no-changelog) (#8465) 2024-01-29 10:13:30 +01:00
Mutasem Aldmour 56da2e4352
fix: Open executions with large number of execution items without crashing tab (#8423)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
2024-01-29 09:33:00 +01:00
Elias Meire c21c4b9178
feat: Add new 'is empty' and 'is not empty' operators to Filter (#8445)
Co-authored-by: Michael Kret <michael.k@radency.com>
2024-01-26 11:17:41 +01:00
Csaba Tuncsik ad4b298be3
fix(editor): Fix workflows filter resetting (#8411) 2024-01-26 06:55:08 +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 c3ec503836
feat: Add telemetry to become creator CTA (no-changelog) (#8429) 2024-01-25 10:24:13 +02:00
कारतोफ्फेलस्क्रिप्ट™ d6deceacde
refactor(core): Remove roleId indirection (no-changelog) (#8413) 2024-01-24 13:38:57 +01:00
कारतोफ्फेलस्क्रिप्ट™ 7386f79362
fix(editor): Fix copy to clipboard on insecure contexts (#8425) 2024-01-24 09:53:31 +01:00
Iván Ovejero 49b52c4f1d
refactor(core): Bring active executions into executions controller (no-changelog) (#8371) 2024-01-23 09:48:50 +01:00
Iván Ovejero 35449667bf
fix(editor): Fix secondary icon for environments on sidebar menu item (#8407) 2024-01-22 12:28:21 +01:00
Iván Ovejero 2ccb754e52
fix(editor): Fix invisible community package update button (#8406) 2024-01-22 10:33:08 +01:00
Giulio Andreini f4f496ae85
docs(editor): All buttons to sentence case (no-changelog) (#8399) 2024-01-22 09:20:02 +01:00
Alex Grozav b6d775768f
feat(editor): Migrate moveNodeWorkflow mixin to useCanvasPanning composable (#8322) 2024-01-19 16:27:44 +02:00
Ricardo Espinoza 75d3ecca1c
fix(editor): Rename Execute previous nodes label to Test previous nodes (no-changelog) (#8392) 2024-01-19 09:00:03 -05:00
Csaba Tuncsik 83228e26fb
fix(editor): Add pinned data for freshly added nodes (#8323) 2024-01-19 14:44:54 +01:00
Alex Grozav d2b3c1048e
feat(editor): Add additional email domains to our disallowed list for self-serve enterprise license (no-changelog) (#8161) 2024-01-19 15:21:49 +02: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 e606e841ee
fix(editor): Use web native <a> element in nav menus (#8385) 2024-01-19 12:52:39 +02:00
Tomi Turtiainen 6fcf5ddcdd
fix(editor): Use cursor pointer on close icon (no-changelog) (#8395) 2024-01-19 12:51:44 +02:00
Elias Meire ade7d30053
fix(editor): Open native context menu when editing Sticky (#8370) 2024-01-18 15:14:41 +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
Deborah 976fe2e6c8
fix: Change the UI text for some filter operations (#8360) 2024-01-18 08:50:54 +00:00
Tomi Turtiainen 99457019f7
feat: Nudge users to become template creators if eligible (#8357) 2024-01-17 19:07:34 +02:00
Iván Ovejero 159b328587
fix(editor): Capture indexed access expressions when building completions (#8331) 2024-01-17 11:02:40 +01:00
Tomi Turtiainen dfa486e4f2
fix: Change setup credentials modal title (no-changelog) (#8338) 2024-01-16 09:31:44 +02:00
Ricardo Espinoza 4277e92ec0
feat(editor): Add new /templates/search endpoint (#8227)
Updating n8n front-end to use the new search endpoint powered by TypeSense.

Endpoint is deployed on staging API so, in order to test it, use this env var:
```export N8N_TEMPLATES_HOST=https://api-staging.n8n.io/api```

**NOTE**: This PR should not be merged until [backend changes](https://github.com/n8n-io/creators-site/pull/118) are merged and released.

## Related tickets and issues
https://linear.app/n8n/issue/ADO-1555/update-in-app-search-to-work-with-the-new-back-end


## 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))
- [ ] 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-15 16:19:24 -05:00
Ricardo Espinoza 6b92d49ea5
fix(editor): Fix issue with synchronization table on LDAP not loading data (#8327)
## Summary

When we migrated to Vue3, we updated to a new component and did not provide the right props. 

before:

https://www.loom.com/share/ce12b21fdda44176b3e949a00c582252


now:

https://www.loom.com/share/354d1dcb51bd47a9910d5bfe34c7c9b8


## Related tickets and issues
https://linear.app/n8n/issue/PAY-1134/ldap-synchronization-table-in-ui-remains-empty-even-after-successful

## 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-15 09:03:10 -05:00
Tomi Turtiainen 135553bd6b
feat: Redirect users without feature flag from template cred setup (no-changelog) (#8302) 2024-01-12 12:10:39 +02:00
Alex Grozav 1824ff6a13
fix(editor): Add back missing computed prop (no-changelog) (#8306) 2024-01-11 16:56:42 +02:00
Alex Grozav 2b98835bf4
fix(editor): Remove pinData mixin (no-changelog) (#8303) 2024-01-11 15:04:52 +02:00
Csaba Tuncsik 3b8ccb9fb9
fix(editor): Properly set colors for connections and labels on nodes with pinned data (#8209)
Co-authored-by: Alex Grozav <alex@grozav.com>
2024-01-11 14:03:23 +01:00
Elias Meire dcc76f3480
fix(editor): Add read only mode to filter component (#8285) 2024-01-11 10:28:15 +01:00
Tomi Turtiainen d877d3ce92
fix: Adjust cred setup telemetry (no-changelog) (#8294) 2024-01-10 19:41:25 +02:00
Alex Grozav d32e6a60da
feat(editor): Migrate deviceSupportHelpers mixin to useDeviceSupport composable (no-changelog) (#8289) 2024-01-10 16:42:01 +02:00
Tomi Turtiainen 23abd8fb49
fix: Small ui fixes to workflow cred setup modal (no-changelog) (#8280) 2024-01-09 18:32:42 +02:00
Iván Ovejero 0dabe5c74e
fix: Fix user reinvites on FE and BE (#8261) 2024-01-09 13:52:34 +01:00
Alex Grozav af49e95cc7
feat: Add Chat Trigger node (#7409)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jesper Bylund <mail@jesperbylund.com>
Co-authored-by: OlegIvaniv <me@olegivaniv.com>
Co-authored-by: Deborah <deborah@starfallprojects.co.uk>
Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
Co-authored-by: Jon <jonathan.bennetts@gmail.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Mason Geloso <Mason.geloso@gmail.com>
Co-authored-by: Mason Geloso <hone@Masons-Mac-mini.local>
Co-authored-by: Mutasem Aldmour <mutasem@n8n.io>
2024-01-09 13:11:39 +02:00
Jesper Bylund 9d40ae8b74
fix(editor): Tweaking button sizes in execution preview (#8206) 2024-01-09 10:20:22 +00:00
Tomi Turtiainen 38d91c43e3
fix: Adjust set up template button styles (no-changelog) (#8259) 2024-01-08 16:34:28 +02:00
Tomi Turtiainen b6c42cc084
fix(editor): Unify canvas button positioning (#8258) 2024-01-08 14:44:56 +02:00
Tomi Turtiainen 04836e5c56
feat: Rename template cred setup feature flag (no-changelog) (#8257) 2024-01-08 14:33:21 +02:00
Alex Grozav 8c8caac4e8
feat(editor): Migrate debounce mixin to useDebounce composable (no-changelog) (#8244) 2024-01-08 14:00:49 +02:00
Tomi Turtiainen 8affdf680d
fix: Hide cred setup button from canvas (no-changelog) (#8255) 2024-01-08 13:59:04 +02:00
Tomi Turtiainen 7899f7aca5
fix: Adjust telemetry from canvas (no-changelog) (#8252) 2024-01-08 13:56:16 +02:00
Tomi Turtiainen 008fd5a917
test: Add e2e tests for cred setup on workflow editor (no-changelog) (#8245)
## Summary

Follow-up to https://github.com/n8n-io/n8n/pull/8240

Adds e2e tests for the template credential setup in workflow editor


## Related tickets and issues

https://linear.app/n8n/issue/ADO-1463/feature-enable-users-to-close-and-re-open-the-setup
2024-01-08 11:35:18 +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
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
Ricardo Espinoza 2d6e406e21
fix(editor): Vertically center workflow preview loading state (#8231)
## Summary

Title self explanatory

before:

<img width="1198" alt="image"
src="https://github.com/n8n-io/n8n/assets/16496553/26c29cad-b376-40fd-9881-343f5e722d58">

now:

<img width="1211" alt="image"
src="https://github.com/n8n-io/n8n/assets/16496553/9f2d4020-6bf8-481a-b69f-eddb57cfaaae">



## Related tickets and issues
[ado-1645-fix-center-loading-preview-loading-state

](https://linear.app/n8n/issue/ADO-1645/fix-center-loading-preview-loading-state)

## 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 09:04:39 -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
Tomi Turtiainen 6e78d2346e
fix: Adjust 'use template' feature telemetry (no-changelog) (#8232)
- Add extra params to 'User closed cred setup' event
- Fire 'User closed cred setup' only when template has creds
- Skip cred setup page if template has no creds required
- Fire 'User inserted workflow template' also in cred setup
2024-01-05 11:52:10 +02:00
Tomi Turtiainen 8a78ae1739
fix: Add template id to workflows created from templates (no-changelog) (#8226)
In #8088 template ID was added to workflow metadata, but it was missing
from workflows that were created using the template credential setup.
This fixes that.
2024-01-05 10:36:59 +02: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
Ricardo Espinoza 8f22a265d6
fix(editor): Only load suggested templates for owners (#8228)
## Summary
Title is self explanatory
2024-01-04 10:19:25 -05: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
Michael Kret f4092a9e49
feat(Switch Node): Overhaul (#7855)
Github issue / Community forum post (link here to close automatically):
https://community.n8n.io/t/switch-node-to-more-than-one-path/32791/2

https://community.n8n.io/t/switch-node-routing-same-value-multiple-output/29424

---------

Co-authored-by: Elias Meire <elias@meire.dev>
Co-authored-by: Giulio Andreini <andreini@netseven.it>
2024-01-04 11:03:03 +02:00
Tomi Turtiainen cd3f5b5b1f
fix: Fix template credential setup for nodes that dont have credentials (#8208)
Fix template credential setup for templates whose workflow includes
nodes that require credentials but the workflow definition does not have
them defined. Like for example
https://n8n.io/workflows/1344-save-email-attachments-to-nextcloud/
2024-01-04 10:21:36 +02:00
Ricardo Espinoza 4186884740
fix: Stop showing fake door templates when user clicks on "use template" (no-changelog) (#8219)
## Summary

We stop showing the fake-door templates when the user clicks on "notify
me when it's is available" (this notification is shown when the user
clicks on "use template"). This PR changes this behavior and stop
showing the fakedoor templates when the user clicks on "use template".
Additionally, also increases the "template coming soon" notification
time from 4.5 seconds to 10 seconds.

<img width="395" alt="image"
src="https://github.com/n8n-io/n8n/assets/16496553/2e643b1f-dd52-46f0-951f-29e630241f73">
2024-01-03 17:04:30 -05:00
Ricardo Espinoza 8a3c87f69c
fix(editor): Items count display in running workflow (#8148)
## Summary
> Describe what the PR does and how to test. Photos and videos are
recommended.

Every time the `MainHeader` component is created, we register a new
handler for the "push" messages. Unfortunately this becomes an issue if
you go multiple times to a page that renders the `MainHeader`, e.g
`/workflow/:id`, without refreshing the page; because all handlers will
be called, causing behavior duplication.

I added the possibility of passing an ID, and made impossible to have
multiple handlers with the same ID However, it does not seems to be
needed to support an array of handlers in the pushConnection store. If
that is the case:

1. We might want to have only one handler for the push connections at
all times, which would be a much simpler approach.
2. Register the handler on app.mount instead.

The issue seems to have been introduced
[here](https://github.com/n8n-io/n8n/pull/7763/files#diff-f5dae80a64b9951bb6691f1b9d439423cf84fa0cc9601b3f2c00904f3135e8deR48)

Before the change:

https://www.loom.com/share/85cf8ef896254d848a13a6c6438daa47

With the change:

https://www.loom.com/share/f5c4ffac421d46cc8e389364e1c357d3

## Related tickets and issues

https://linear.app/n8n/issue/ADO-1596/bug-items-count-display-in-running-workflow


## 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.
- [ ] 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-03 11:31:33 -05:00
Michael Kret 5e16dd4ab4
feat(core): Improvements/overhaul for nodes working with binary data (#7651)
Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Marcus <marcus@n8n.io>
2024-01-03 13:08:16 +02:00
कारतोफ्फेलस्क्रिप्ट™ 5c078f1b3d
fix(editor): Fix UI urls when hosted behind a path prefix (#8198)
fixes #8061
2024-01-03 11:37:01 +01:00
कारतोफ्फेलस्क्रिप्ट™ cfe9525dd4
fix(core): Better input validation for the changeRole endpoint (#8189)
also refactored the code to
1. stop passing around `scope === 'global'`, since this code can be used
only for changing globalRole.
2. leak less details when input validation fails.

## Review / Merge checklist
- [x] PR title and summary are descriptive
- [x] Tests included
2024-01-03 09:33:35 +01:00
Milorad FIlipović d01e42a2aa
fix(editor): Fix templates view layout (#8196)
## Summary
Recent changes to the template info carousel component broke the layout
of the templates way so it had excessive width when templates categories
carousel was visible.
This PR reverts disables CSS that held it in place.


## Related tickets and issues
Fixes ADO-1628


## 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.
2024-01-02 14:13:09 +01:00
Alex Grozav f5a4bfe40c
feat(editor): Migrate copyPaste mixin to composables (no-changelog) (#8179) 2023-12-29 12:13:24 +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
कारतोफ्फेलस्क्रिप्ट™ cf7f6688ba
fix(editor): Enable explicit undo keyboard shortcut across all code editors (#8178)
Fixes [ADO-801](https://linear.app/n8n/issue/ADO-801),
[PAY-632](https://linear.app/n8n/issue/PAY-632), and
[PAY-730](https://linear.app/n8n/issue/PAY-730)
Also fixes #5297

## Review / Merge checklist
- [x] PR title and summary are descriptive
2023-12-28 14:55:23 +01:00
Alex Grozav 405e26757e
fix(editor): Prevent storing pairedItem data inside of pinData (#8173)
## Summary
When pinning data after an execution, the pairedItem data gets stored in
the pinData field. This creates problems during executions.

Before:
<img width="1141" alt="image"
src="https://github.com/n8n-io/n8n/assets/6179477/e555d00a-6ff2-4601-8072-3194a0c5e1c2">

After: 
<img width="1140" alt="image"
src="https://github.com/n8n-io/n8n/assets/6179477/d97e9d90-28f5-4dcc-b63e-62497c646994">


## Related tickets and issues

https://linear.app/n8n/issue/PAY-812/wrong-error-shown-when-paireditem-fails-because-of-incorrect-pinned


## 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.
2023-12-28 12:59:01 +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ć 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
Mutasem Aldmour c83d9f45ba
fix(editor): Avoid sanitizing output to search node data (#8126)
## Summary
In search feature, output sanitization was added to support `<mark` tag
in output panel to highlight searched text. This removes any html like
data in the input/output panel..
This PR removes sanitization while keeping text highlights..


## Related tickets and issues
https://community.n8n.io/t/n8n-output/33997
https://community.n8n.io/t/html-tags-in-editor-rendered/34240
https://github.com/n8n-io/n8n/issues/8081
https://linear.app/n8n/issue/ADO-1594/node-output-view-not-consistent
https://linear.app/n8n/issue/ADO-1597/bug-xml-display-issue


## 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.
- [ ] 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:03:40 +01:00
Milorad FIlipović ab74bade05
feat(editor): Add node execution status indicator to output panel (#8124)
## Summary
Adding node execution status indicator to the output panel ([Figma
HiFi](https://www.figma.com/file/iUduV3M4W5wZT7Gw5vgDn1/NDV-output-pane-success-state)).

## Related tickets and issues
Fixes ADO-480

## 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 12:50:36 +01:00
कारतोफ्फेलस्क्रिप्ट™ 021add0f39
refactor(core): Move active workflows endpoints to a decorated controller class (no-changelog) (#8101)
This is a continuation of migrating all rest endpoints to decorated controller classes
2023-12-22 11:28:42 +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ć 711fa2b925
fix(editor): Fix operation change failing in certain conditions (#8114)
## Summary
This PR handles the case when there are multiple parameters with the
same name but different `options` and `displayOptions`. In this case, if
one of such fields is set, changing the dependent parameter value so the
other should be shown causes an error in case their options are not
compatible (this
[check](7806a65229/packages/workflow/src/NodeHelpers.ts (L786))).

#### Example:
LDAP node has two `options` properties with the same name:
1. `attributes` with predefined options (`add`, `replace`, `delete`).
Shown when **Update** operation is selected
2. `attributes` with a collection of `attribute` objects. Shows for the
**Create** operation

Setting one of these parameter values and switching operation so the
other is shown breaks the app.
This PR checks if there is a value saved for such parameter and removes
it before calling `getNodeParameters` in `valueChanged` handler.

## Related tickets and issues
Fixes ADO-1589

## 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 08:41:20 +01:00
Ricardo Espinoza e9c7fd7397
fix: Show public API upgrade CTA when feature is not enabled (#8109)
## Summary
> Describe what the PR does and how to test. Photos and videos are
recommended.

Shows the public API upgrade CTA when the feature is not enabled. Now
trialing users in cloud would see the API on the settings menu and can
upgrade from there.

When public API feature disabled: 

<img width="1863" alt="image"
src="https://github.com/n8n-io/n8n/assets/16496553/a9052f6b-151f-4ebb-80df-5ff2fa643e85">

When public API feature enabled with no API key:

<img width="1861" alt="image"
src="https://github.com/n8n-io/n8n/assets/16496553/fdfe7296-425e-4410-a8cb-f25535bc9df4">

When public API feature enabled with API key:

<img width="1423" alt="image"
src="https://github.com/n8n-io/n8n/assets/16496553/a8426cbf-ff73-43c4-8c60-b00274bca46e">



## Related tickets and issues
[> Include links to **Linear ticket** or Github issue or Community forum
post. Important in order to close *automatically* and provide context to
r](https://linear.app/n8n/issue/ADO-1282/feature-api-page-missing-for-trial-users)eviewers.



## 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] 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-21 09:06:54 -05:00
Iván Ovejero edfa78414d
feat(editor): Finalize workers view (#8052)
https://linear.app/n8n/issue/PAY-1065
2023-12-20 17:49:14 +01:00
Iván Ovejero d917dfe9f8
refactor(editor): Remove tracking for SAML test success (no-changelog) (#8108)
Follow-up to: https://github.com/n8n-io/n8n/pull/8102

It turns out that SAML test success cannot be tracked on the FE. We
might track on the BE, but after further discussion with Product, we do
not really need to track this property, so this PR simply removes it.
2023-12-20 15:23:00 +01:00
Elias Meire 8df49e134d
fix(editor): Make keyboard shortcuts more strict; don't accept extra Ctrl/Alt/Shift keys (#8024)
## Summary
Keyboard shortcuts such as Shift+S get triggered even when other keys
(Ctrl/Alt) are pressed, creating conflicts with browser or OS shortcuts.

This PR makes keyboard shortcuts more strict: the exact combination
needs to be pressed, no extra keys allowed.
--> Ctrl+Shift+S will no longer trigger the Shift+S shortcut to add a
sticky note

## Related tickets and issues
https://n8nio.slack.com/archives/C035KBDA917/p1702545933647959
2023-12-20 12:06:49 +01:00
Alex Grozav fcff34c401
fix(editor): Move versions check to init function and refactor store (no-changelog) (#8067) 2023-12-20 12:49:40 +02:00
Iván Ovejero faadfd6d4a
refactor(editor): Add telemetry for SSO/SAML (no-changelog) (#8102)
https://linear.app/n8n/issue/PAY-1142
2023-12-20 11:41:39 +01:00
Iván Ovejero 1d1cb0d3c5
fix(editor): Ensure execution data overrides pinned data when copying in executions view (#8009)
https://linear.app/n8n/issue/PAY-1063


https://community.n8n.io/t/execution-history-node-output-copy-to-clipboard-copies-pinned-data-instead-of-executed-node-output/33248?u=mutedjam
2023-12-20 10:42:26 +01:00
Mutasem Aldmour 4b86926752
fix(editor): Fix copy/paste issue when switch node is in workflow (#8103)
## Summary
Fix bug where copy/pasting a node breaks the view. Issue seems to be
that copied workflow does not have Switch node when workflow is
rerendering..

<img width="1942" alt="Screenshot 2023-12-19 at 18 16 23"
src="https://github.com/n8n-io/n8n/assets/4711238/ad53b8ae-3693-4733-8f6b-7bc9e7b9d216">




## Related tickets and issues
[Linear ticket
ADO-1504](https://linear.app/n8n/issue/ADO-1504/unwanted-nodes-connections-after-copypaste-of-n8n-form-trigger)


## 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-20 10:13:59 +01:00
Iván Ovejero 38d1336fa7
refactor: Add telemetry for RBAC (no-changelog) (#8056)
https://linear.app/n8n/issue/PAY-1142
2023-12-19 17:02:52 +01:00
कारतोफ्फेलस्क्रिप्ट™ 64eb9bbc36
fix: Upgrade axios to address CVE-2023-45857 (#7713)
[GH Advisory](https://github.com/advisories/GHSA-wf5p-g6vw-rhxx)
2023-12-19 16:17:01 +01:00
कारतोफ्फेलस्क्रिप्ट™ 9d22c7a278
feat(editor): Gracefully ignore invalid payloads in postMessage handler (#8096)
It's possible for browser extensions to send `message` events to an n8n window.
This change improves the already existing check to ignore invalid messages.

Fixes https://community.n8n.io/t/errors-in-the-browser-console-on-n8n-1-version/33910
2023-12-19 15:20:29 +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
Alex Grozav 5ed4d19059
feat: Add opt-in enterprise license trial checkbox (no-changelog) (#7826)
<img width="518" alt="image"
src="https://github.com/n8n-io/n8n/assets/6179477/6422a057-de94-49dc-90fd-7381b5642902">

---------

Co-authored-by: Omar Ajoue <krynble@gmail.com>
2023-12-19 14:58:30 +02:00
Iván Ovejero a7ffed245a
refactor(editor): Add telemetry for log streaming (no-changelog) (#8075)
https://linear.app/n8n/issue/PAY-1065
2023-12-19 13:18:13 +01: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
Mutasem Aldmour 63a6e7e034
fix(editor): Update image sizes in template description not to be full width always (#8037)
## Summary
Update image sizes in template description not to be full width always.


## Related tickets and issues

https://linear.app/n8n/issue/ADO-1506/bug-fix-images-in-template-descriptions


## 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-18 17:40:00 +01:00
Iván Ovejero 62ce962ec9
refactor(editor): Add telemetry for workflow history (no-changelog) (#8072)
https://linear.app/n8n/issue/PAY-1142
2023-12-18 16:10:45 +01:00
Iván Ovejero 8fc9888541
refactor(editor): Add telemetry for workers view (#8055)
https://linear.app/n8n/issue/PAY-1142
2023-12-18 12:21:13 +01:00
Csaba Tuncsik aad57e2da1
fix(editor): Update wording when an instance owner or admin is viewing a credential they do not own (no-changelog) (#8054)
## Summary
Now that instance admins and owners can share on credentials, we need to
tweak the wording so it's clear what they can do in the UI and the
access they have.

### Acceptance Criteria

When an instance owner/admin views a credential they do not own, we
should show the following text `You can view this credential because you
have permission to read and share (and rename or delete it too).`

When an instance owner/admin views a credential they do not own and has
NOT been shared with them, we should show the following text `You can
view this credential because you have permission to read and share (and
rename or delete it too). You can share it with yourself or other users
to use it in a workflow.`
2023-12-18 08:31:00 +00:00
Csaba Tuncsik 2689c37e87
fix(editor): Cleanup Executions page component (#8053)
## Summary
Remove duplicated `created` VUE component lifecycle method
2023-12-15 18:18:25 +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
Csaba Tuncsik fcb8b91f37
fix(editor): Disable auto scroll and list size check when clicking on executions (#7983)
## Summary
Auto scrolling to the active execution is unnecessary as well as
checking if more items can be loaded.

#### How to test the change:
1. Open a workflow with a long list of executions (preferably with more
executions that fits in the list when first rendered and need to use
infinite scroll to load more items)
2. Go to executions tabs
3. Scroll to the bottom
4. Click on an item that is visible only if the list is scrolled down.

The list should not be scrolled to the active item automatically
2023-12-14 12:37:03 +01:00
Alex Grozav 3436f15e82
fix(editor): Fix dialogVisibleChanged hooks event when meta.value is undefined (no-changelog) (#7986)
## Summary
Provide details about your pull request and what it adds, fixes, or
changes. Photos and videos are recommended.

In specific scenarios `meta.value` can come as `undefined`, causing the
hook to fail.

#### How to test the change:
1. Close Expression editor modal dialog with empty value


## 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-7084/typeerror-evalueslice-is-not-a-function-in-evalueslice1-evalueslice-is
https://n8nio.sentry.io/issues/4715787194/


## 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.
- [ ] 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-14 13:13:02 +02:00
oleg b780436a6b
perf(editor): Improve canvas rendering performance (#8022)
## Summary
- Refactor usage of `setSuspendDrawing`, removing it from loops and only
calling it after batch operations are done
- Batch adding of nodes to improve copy/paste and workflow load
performance
- Cache i18n calls
- Debounce connections dragging handler if there are more than 20 nodes


## Related tickets and issues
> Include links to **Linear ticket** or Github issue or Community forum
post. Important in order to close *automatically* and provide context to
reviewers.
- https://community.n8n.io/t/slow-ui-in-big-scenarios/33830/8

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-14 12:01:00 +01:00
Csaba Tuncsik e3c363d72c
fix(editor): Turn off executions list auto-refresh after leaving the page (#8005)
## Summary
Fixes the bug when users leave the executions page but there is still an
ongoing request for executions.

---------

Co-authored-by: Alex Grozav <alex@grozav.com>
2023-12-14 11:50:00 +01:00