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): Don't render pinned icon for disabled nodes #10712

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

r00gm
Copy link
Contributor

@r00gm r00gm commented Sep 6, 2024

Summary

Before After
image image

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/N8N-7683/decativated-pinned-node-still-shows-icon

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)

@r00gm r00gm marked this pull request as ready for review September 6, 2024 11:27
@r00gm r00gm requested review from alexgrozav and elsmr September 6, 2024 11:29
Copy link
Member

@alexgrozav alexgrozav left a comment

Choose a reason for hiding this comment

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

Works as expected. Left a small remark, feel free to adress if you want.

@@ -45,7 +46,7 @@ const hideNodeIssues = computed(() => false); // @TODO Implement this
</N8nTooltip>
</div>
<div
v-else-if="hasPinnedData && !nodeHelpers.isProductionExecutionPreview.value"
v-else-if="hasPinnedData && !nodeHelpers.isProductionExecutionPreview.value && !isDisabled"
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should extract this into a isPinnedDataStatusVisible at this point 😅

Copy link

cypress bot commented Sep 6, 2024

n8n    Run #6772

Run Properties:  status check passed Passed #6772  •  git commit 8dfbbf3fee: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 r00gm 🗃️ e2e/*
Project n8n
Branch Review n8n-7683-decativated-pinned-node-still-shows-icon
Run status status check passed Passed #6772
Run duration 04m 44s
Commit git commit 8dfbbf3fee: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 r00gm 🗃️ e2e/*
Committer r00gm
View all properties for this run ↗︎

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

Copy link
Contributor

github-actions bot commented Sep 6, 2024

✅ All Cypress E2E specs passed

@r00gm r00gm merged commit 879b837 into master Sep 6, 2024
33 checks passed
@r00gm r00gm deleted the n8n-7683-decativated-pinned-node-still-shows-icon branch September 6, 2024 12:48
MiloradFilipovic added a commit that referenced this pull request Sep 10, 2024
* master:
  feat(benchmark): New options for n8n benchmark (#10741)
  fix(Chat Trigger Node): Fix auth in "Embedded Chat" mode (#10734)
  fix(Webflow Node): Update scopes to include forms (#10554)
  test(editor): Add unit tests for `sanitizeHtml` (#10737)
  fix(editor): Fix xss issues in toast usages (#10733)
  fix(OpenAI Chat Model Node): Prevent filtering of fine-tuned models in model selector (#10662)
  feat: Filter parameter: Improve loose type validation for booleans (#10702)
  test: Add scaling n8n setup (multi-main) (#10644)
  refactor(editor): Migrate NodeWebhooks to Composition API (no-changelog) (#10710)
  fix(editor): Fix broken executions view (no-changelog) (#10714)
  fix(editor): Don't render pinned icon for disabled nodes (#10712)
@github-actions github-actions bot mentioned this pull request Sep 11, 2024
@Joffcom
Copy link
Member

Joffcom commented Sep 11, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants