You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Vue component events are now extracted from vue-component-meta and appear in the Controls panel.
But when an event is emitted, it doesn't appear in the Actions panel. For that, it needs to be listed in the story's argTypes, which may lead inconsistency with time, as the story event list is manually duplicated from the component. Also, events that contain : (like update:modelValue) can't be listed in argTypes and never appear in Acitons.
Describe the solution you'd like
Make the Actions addon to get the event list from vue-component-meta.
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is your feature request related to a problem? Please describe.
Vue component events are now extracted from
vue-component-meta
and appear in theControls
panel.But when an event is emitted, it doesn't appear in the
Actions
panel. For that, it needs to be listed in the story'sargTypes
, which may lead inconsistency with time, as the story event list is manually duplicated from the component. Also, events that contain:
(likeupdate:modelValue
) can't be listed inargTypes
and never appear inAcitons
.Describe the solution you'd like
Make the Actions addon to get the event list from
vue-component-meta
.Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions