-
Notifications
You must be signed in to change notification settings - Fork 50.8k
chore(editor): DropdownMenu component specs (no-changelog) #22229
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
base: master
Are you sure you want to change the base?
Conversation
BundleMonUnchanged files (2)
No change in files bundle size Groups updated (2)
Final result: ✅ View report in BundleMon website ➡️ |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
1 issue found across 1 file
Prompt for AI agents (all 1 issues)
Understand the root cause of the following 1 issues and fix them.
<file name="packages/frontend/@n8n/design-system/src/v2/components/DropdownMenu/component-dropdown-menu.md">
<violation number="1" location="packages/frontend/@n8n/design-system/src/v2/components/DropdownMenu/component-dropdown-menu.md:106">
The “With badges and shortcuts” example listens for `@select="handleSelect"` even though no `handleSelect` function is declared in the script block, so the example won’t run as written.</violation>
</file>
Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR
| <template> | ||
| <N8nDropdownMenu | ||
| :items="dropdownItems" | ||
| @select="handleSelect" |
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.
The “With badges and shortcuts” example listens for @select="handleSelect" even though no handleSelect function is declared in the script block, so the example won’t run as written.
Prompt for AI agents
Address the following comment on packages/frontend/@n8n/design-system/src/v2/components/DropdownMenu/component-dropdown-menu.md at line 106:
<comment>The “With badges and shortcuts” example listens for `@select="handleSelect"` even though no `handleSelect` function is declared in the script block, so the example won’t run as written.</comment>
<file context>
@@ -0,0 +1,259 @@
+<template>
+ <N8nDropdownMenu
+ :items="dropdownItems"
+ @select="handleSelect"
+ />
+</template>
</file context>
|
E2E Tests: n8n tests passed after 9m 22.3s Run Details
Groups
This message was posted automatically by
currents.dev | Integration Settings
|
Summary
API specification for new design system component,
DropdownMenuthat should replaceActionToggleandActionDropdownRelated Linear tickets, Github issues, and Community forum posts
Closes ADO-4384
Review / Merge checklist
release/backport(if the PR is an urgent fix that needs to be backported)