-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(editor): Do not automatically add manual trigger on node plus #5644
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n8n-assistant
bot
added
n8n team
Authored by the n8n team
ui
Enhancement in /editor-ui or /design-system
labels
Mar 8, 2023
RicardoE105
approved these changes
Mar 8, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Also tested it and worked fine.
MiloradFilipovic
added a commit
that referenced
this pull request
Mar 10, 2023
* master: (358 commits) refactor: Remove n8n-core dependency in nodes-base (no-changelog) (#5649) 🚀 Release 0.219.0 (#5659) fix(core): Fix trying to pipe a non stream on errors (no-changelog) (#5660) ci: Fix e2e tests (no-changelog) (#5658) fix(core): Fix issues with LDAP reset and LDAP init (no-changelog) (#5657) feat(HTTP Request Node): Move from Binary Buffer to Binary streaming (#5610) feat(editor): Only redirect new users to blank canvas (no-changelog) (#5654) feat(editor): Do not automatically add manual trigger on node plus (#5644) feat(core): Allow using middlewares with decorators on a per-route basis (no-changelog) (#5656) refactor(core): Convert more routes to use the decorator pattern (no-changelog) (#5611) fix: Fetch credentials on workflows view to include in duplicated workflows (#5532) ci: Add PR checklist (#5628) feat(Mindee Node): Add support for v4 API (#5559) feat(Microsoft SQL Node): Add support for self signed certificates (#5160) fix(editor): Only fetch new versions at app launch (#5647) fix(core): Use new version of riot-tmpl in workflow package (no-changelog) (#5619) feat(core): Refactor and add SAML preferences for service provider instance (#5637) docs(Github Trigger Node): Add notice and more meaningful error around permissions (#5551) feat(Cal Trigger Node): Update to support v2 webhooks (#5331) feat(editor): Redirect users to canvas if they don't have any workflows (#5629) ...
Got released with |
sunilrr
pushed a commit
to fl-g6/qp-n8n
that referenced
this pull request
Apr 24, 2023
…8n-io#5644) * feat(editor): Do not add manual trigger node if node creator trigger via canvas actions * Add e2e tests * Install cypress-plugin-tab, do not use cy.realPress as it hangs the tests * Exclude tab tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We have recently implemented a logic where a manual trigger is appended if a user adds a regular node (or action) and there is no trigger present on the canvas. However, we now want to prevent this behavior if the node creator is opened from one of the canvas sources such as node plus, node output drop, or plus between nodes.
To achieve this, I have created a constant
NODE_CREATOR_OPEN_SOURCES
which includes all the possible sources from where the node creator can be opened. I have also disabled the addition of the manual trigger in the methodgetNodeTypesWithManualTrigger
by checking if the node creator open source matches any of the sources inNODE_CREATOR_OPEN_SOURCES
.The sources that we wish to prevent the manual trigger append for:
Github issue / Community forum post (link here to close automatically):