Vue warnings in extensions action menu #13553
Labels
kind/tech-debt
Technical debt
mixin
A smaller issue that's a good candidate to mixin with other issues in a sprint
QA/None
research-needed
Label for design issue that requires more technical research than what is in the issue description
Milestone
Opening the action menu on the Extensions page prints the following warning to the console:
Details
This warning occurs because events emitted for custom actions are defined bye the actions object passed as a prop to
ActionMenuShell.vue
:dashboard/shell/components/ActionMenuShell.vue
Lines 63 to 71 in 2279072
This implementation makes it difficult explicitly specify which events the component will emit, as they are user defined.
Proposed solution
Refactor
ActionMenuShell.vue
so that it emits a 'selected' event that contains a key/value pair to help consumers identify which item was selected. Consumers ofActionMenuShell.vue
will need to be refactored to adhere to this new pattern.The text was updated successfully, but these errors were encountered: