-
Notifications
You must be signed in to change notification settings - Fork 7.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
fix(editor): Usage and plans page on Desktop #5045
Conversation
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. Only minor comments so feel free to merge.
@@ -53,34 +53,36 @@ const onLicenseActivation = async () => { | |||
}; | |||
|
|||
onMounted(async () => { | |||
usageStore.setLoading(true); | |||
if (route.query.key) { | |||
if (!usageStore.isDesktop) { |
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.
Nit - inverting the check and returning early would prevent the nesting and shorten the diff.
|
||
const openPricingPage = () => { | ||
sendUsageTelemetry('desktop_view_plans'); | ||
window.open('https://n8n.io/pricing', '_blank'); |
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.
Ideally the URL in a constant.
Thanks @ivov , agree but I have to leave now. If you have time now please update otherwise I'll just merge |
Got released with |
* master: ci: Fix linting on builds (no-changelog) (#5062) refactor: Lint for no interpolation in regular string (#5060) (no-changelog) ci: Fix lint for build (no-changelog) (#5059) perf: Prevent oclif from loading ts-node and typescript (#5047) (no-changelog) fix(editor): Make node title non-editable in executions view (#5046) refactor: Lint for no unneeded backticks (#5057) (no-changelog) fix(core): Fix full manual execution for error trigger as starter of 2+ node workflow (#5055) fix(editor): Support tabbing away from inline expression editor (#5056) refactor(editor): Usage and plans page on Desktop (#5051) 📚 Update CHANGELOG.md and main package.json to 0.209.4 🔖 Release [email protected] ⬆️ Set [email protected] on n8n 🔖 Release [email protected] fix(editor): Usage and plans page on Desktop (#5045) feat(editor): Switch to expression on `=` input (#5044) fix(editor): Fix trigger node type identification on add to canvas (#5043)
Github issue / Community forum post (link here to close automatically):