Skip to content
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

fix(editor): Fix opening 'Schema' view by default after opening binary nodes #13676

Conversation

Cadiac
Copy link
Contributor

@Cadiac Cadiac commented Mar 4, 2025

Summary

The default RunData NDV tab to open should be schema on non binary nodes, even after a binary node has been opened. If user opened a node with binary inputs the default would switch to table, and this PR changes that back to schema.

default-tab.mp4

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/ADO-3220/schema-view-opening-a-ndv-with-binary-inputs-changes-the-default-view

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@Cadiac Cadiac marked this pull request as ready for review March 4, 2025 13:25
@Cadiac
Copy link
Contributor Author

Cadiac commented Mar 4, 2025

Should some e2e test be added for this scenario?

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Contributor

@CharlieKolb CharlieKolb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I'd consider this more of a config change than a (code) bug, so I personally am happy without a new test here

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Mar 4, 2025
Copy link

cypress bot commented Mar 4, 2025

n8n    Run #9639

Run Properties:  status check passed Passed #9639  •  git commit 6a13445a8e: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Cadiac 🗃️ e2e/*
Project n8n
Branch Review ado-3220-schema-view-opening-a-ndv-with-binary-inputs-changes-the
Run status status check passed Passed #9639
Run duration 04m 47s
Commit git commit 6a13445a8e: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 Cadiac 🗃️ e2e/*
Committer Jaakko Husso
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 5
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 440
View all changes introduced in this branch ↗︎

Copy link
Contributor

github-actions bot commented Mar 4, 2025

✅ All Cypress E2E specs passed

@Cadiac Cadiac merged commit 3cd34b5 into master Mar 5, 2025
56 of 59 checks passed
@Cadiac Cadiac deleted the ado-3220-schema-view-opening-a-ndv-with-binary-inputs-changes-the branch March 5, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants