-
Notifications
You must be signed in to change notification settings - Fork 39.1k
fix(editor): Data in input/output panel incorrectly mapped #14878
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
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.
mrge found 6 issues across 16 files. View them in mrge.io
packages/frontend/@n8n/design-system/src/components/N8nRadioButtons/RadioButton.vue
Show resolved
Hide resolved
packages/frontend/editor-ui/src/components/CanvasChat/future/components/LogsOverviewPanel.vue
Show resolved
Hide resolved
packages/frontend/@n8n/design-system/src/components/N8nRadioButtons/RadioButtons.vue
Show resolved
Hide resolved
packages/frontend/@n8n/design-system/src/components/N8nRadioButtons/RadioButtons.vue
Show resolved
Hide resolved
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
describe('Logs', () => { | ||
// TODO: the test can be written without AI nodes once https://linear.app/n8n/issue/SUG-39 is implemented | ||
it('should open NDV with the run index that corresponds to clicked log entry'); | ||
it('should show input and output data of correct run index and branch', () => { |
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.
looking forward to seeing more tests here. Created a ticket like we discussed before https://linear.app/n8n/issue/SUG-47/tech-debt-write-tests-for-new-logs-view
|
|
✅ All Cypress E2E specs passed |
Got released with |
Summary
This PR fixes the bug in showing input data in the new logs view, specifically the bug when the input of a node's run comes from one of branches of the previous node (e.g., true/false branch of "If" node). The fix is implemented by utilizing
source
field where the previous node name, output branch and run index is stored.Also styling tweaks for radio button and tab component is added based on the latest feedback from the designer.
To run locally, set
N8N_LOGS_2025_SPRING
totrue
in local storage and refresh the browser.Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/SUG-46/bug-data-in-inputoutput-panel-incorrectly-mapped
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)