-
Notifications
You must be signed in to change notification settings - Fork 28.4k
fix: Community nodes - setting page empty state #15305
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: Community nodes - setting page empty state #15305
Conversation
…community-nodes-setting-page-empty-state
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 5 issues across 8 files. Review them in mrge.io
packages/frontend/editor-ui/src/components/Node/NodeCreator/Panel/CommunityNodeInfo.vue
Show resolved
Hide resolved
packages/frontend/editor-ui/src/components/Node/NodeCreator/Panel/CommunityNodeFooter.vue
Outdated
Show resolved
Hide resolved
packages/frontend/editor-ui/src/components/Node/NodeCreator/Panel/CommunityNodeFooter.vue
Show resolved
Hide resolved
@@ -25,6 +25,7 @@ import CommunityNodeDetails from './CommunityNodeDetails.vue'; | |||
import CommunityNodeInfo from './CommunityNodeInfo.vue'; | |||
import CommunityNodeDocsLink from './CommunityNodeDocsLink.vue'; | |||
import CommunityNodeFooter from './CommunityNodeFooter.vue'; | |||
import { useUsersStore } from '@/stores/users.store'; |
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.
Rule violated: Ensure every PR has unit tests for Vue files
Missing unit tests for the Vue component changes in NodesListPanel.vue
@@ -36,7 +36,19 @@ const communityNodesStore = useCommunityNodesStore(); | |||
const uiStore = useUIStore(); | |||
const settingsStore = useSettingsStore(); | |||
|
|||
const getEmptyStateTitle = computed(() => { |
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.
Rule violated: Ensure every PR has unit tests for Vue files
Missing unit tests for modified Vue component
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 5 issues across 8 files. Review them in mrge.io
packages/frontend/editor-ui/src/components/Node/NodeCreator/Panel/CommunityNodeInfo.vue
Show resolved
Hide resolved
<N8nText size="small" color="primary" bold> Manage </N8nText> | ||
</N8nLink> | ||
<N8nText size="small" color="primary" bold>|</N8nText> | ||
<div v-if="props.showManage"> |
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.
Unnecessary wrapper div element that could affect styling. Consider using Vue's template fragment () for conditional rendering without adding extra DOM elements.
@@ -8,6 +8,7 @@ import { N8nText, N8nLink } from '@n8n/design-system'; | |||
|
|||
export interface Props { | |||
packageName: string; | |||
showManage: boolean; |
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.
Rule violated: Ensure every PR has unit tests for Vue files
Missing unit tests for modified Vue component
@@ -25,6 +25,7 @@ import CommunityNodeDetails from './CommunityNodeDetails.vue'; | |||
import CommunityNodeInfo from './CommunityNodeInfo.vue'; | |||
import CommunityNodeDocsLink from './CommunityNodeDocsLink.vue'; | |||
import CommunityNodeFooter from './CommunityNodeFooter.vue'; | |||
import { useUsersStore } from '@/stores/users.store'; |
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.
Rule violated: Ensure every PR has unit tests for Vue files
Missing unit tests for the Vue component changes in NodesListPanel.vue
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.
affects only CommunityNodeFooter, tests added
@@ -36,7 +36,19 @@ const communityNodesStore = useCommunityNodesStore(); | |||
const uiStore = useUIStore(); | |||
const settingsStore = useSettingsStore(); | |||
|
|||
const getEmptyStateTitle = computed(() => { |
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.
Rule violated: Ensure every PR has unit tests for Vue files
Missing unit tests for modified Vue component
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.
will be addressed in ticket
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
✅ All Cypress E2E specs passed |
Got released with |
Summary
N8N_UNVERIFIED_PACKAGES_ENABLED
falseRelated Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)