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): Check for when to show the community+ modal for the folder's feature #14146

Merged
merged 3 commits into from
Mar 25, 2025

Conversation

RicardoE105
Copy link
Contributor

@RicardoE105 RicardoE105 commented Mar 24, 2025

Summary

We were checking for usageStore.planName, which is set with the value from GET /license, to determine if the user is on a self hosted deployment, but no matter what the deployment type is we always return planName as community. You can see the check here, that we look for the planName in the license and if not found we default to community.

Conclusion its that we are likely not setting the planName as a feature in cloud.

Below a prod trailing instance.

CleanShot 2025-03-24 at 18 20 14@2x

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)

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Mar 24, 2025
@RicardoE105 RicardoE105 changed the title fix check for when to show the community+ modal for the folder's feature Fix: Check for when to show the community+ modal for the folder's feature Mar 24, 2025
Copy link

codecov bot commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@RicardoE105 RicardoE105 changed the title Fix: Check for when to show the community+ modal for the folder's feature fix(editor) Check for when to show the community+ modal for the folder's feature Mar 24, 2025
@RicardoE105 RicardoE105 changed the title fix(editor) Check for when to show the community+ modal for the folder's feature fix(editor): Check for when to show the community+ modal for the folder's feature Mar 24, 2025
@CharlieKolb CharlieKolb added the release/backport Changes that need to be backported to older releases. label Mar 25, 2025
CharlieKolb
CharlieKolb previously approved these changes Mar 25, 2025
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.

approving to kick off CI

Copy link
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

Copy link

cypress bot commented Mar 25, 2025

n8n    Run #9935

Run Properties:  status check passed Passed #9935  •  git commit 0092f079a1: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 RicardoE105 🗃️ e2e/*
Project n8n
Branch Review fix-check-for-community-plan
Run status status check passed Passed #9935
Run duration 04m 40s
Commit git commit 0092f079a1: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 RicardoE105 🗃️ e2e/*
Committer Milorad Filipovic
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 5
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 473
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@MiloradFilipovic MiloradFilipovic merged commit 9e3bfe2 into master Mar 25, 2025
37 checks passed
@MiloradFilipovic MiloradFilipovic deleted the fix-check-for-community-plan branch March 25, 2025 09:49
RicardoE105 added a commit that referenced this pull request Mar 25, 2025
@github-actions github-actions bot mentioned this pull request Mar 25, 2025
@janober
Copy link
Member

janober commented Mar 25, 2025

Got released with [email protected]

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 release/backport Changes that need to be backported to older releases. Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants