-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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): Execute sub-workflow UX and copy updates (no-changelog) #12834
feat(editor): Execute sub-workflow UX and copy updates (no-changelog) #12834
Conversation
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
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.
Love the resourceMapper tests 🙌 Happy to do the one copy change from notion as a follow up if you want to merge this first
packages/nodes-base/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.ts
Show resolved
Hide resolved
packages/nodes-base/utils/workflowInputsResourceMapping/GenericFunctions.ts
Outdated
Show resolved
Hide resolved
n8n Run #8980
Run Properties:
|
Project |
n8n
|
Branch Review |
ADO-3103-workflow-inputs-copy-updates
|
Run status |
Failed #8980
|
Run duration | 04m 25s |
Commit |
10ac7e370a: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 MiloradFilipovic 🗃️ e2e/*
|
Committer | Milorad FIlipović |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
2
|
Flaky |
1
|
Pending |
1
|
Skipped |
7
|
Passing |
225
|
View all changes introduced in this branch ↗︎ |
Tests for review
45-workflow-selector-parameter.cy.ts • 1 failed test
Test | Artifacts | |
---|---|---|
Workflow Selector Parameter > should render sub-workflows list |
Test Replay
Screenshots
Video
|
48-subworkflow-inputs.cy.ts • 1 failed test
Test | Artifacts | |
---|---|---|
Sub-workflow creation and typed usage > works with type-checked values |
Test Replay
Screenshots
Video
|
The first 5 failed specs are shown, see all 50 specs in Cypress Cloud.
e2e/45-ai-assistant.cy.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
AI Assistant::enabled > should resize assistant chat down |
Test Replay
Screenshots
Video
|
|
|
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.
Nice refactoring!
@@ -0,0 +1,25 @@ | |||
import type { ILocalLoadOptionsFunctions, ResourceMapperFields } from 'n8n-workflow'; |
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.
Should this go into the GenericFunctions
file we ended up putting all the shared logic? This is straight up duplication otherwise I think?
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.
Oh, the second sentence in the emptyFieldNotice is different, I see :o I'll leave this up to you then
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.
Yeah, it ended up being 50-50 reusable so I decided to leave the two implementations since it's in the spirit of this refactor (leaving the message definition to each node).
|
Got released with |
Summary
LoadWorkflowNodeContext
Related Linear tickets, Github issues, and Community forum posts
Closes ADO-3103
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)