devtools-next icon indicating copy to clipboard operation
devtools-next copied to clipboard

Feature request: Events timeline panel

Open hakanedison opened this issue 1 year ago β€’ 4 comments

We really need the Events panel to track Vue events (the list of emitted events and the properties of selected event).

See also #538.

Currently, that's the only reason we can't switch from version 6 to 7. We really need to, because in version 6, some of our components can't be inspected because of an hard-to-pinpoint flaw, in DevTools or in our code).

Thanks for your great work!

hakanedison avatar Sep 12 '24 05:09 hakanedison

Thank you for your feedback. We believe this feature request makes sense. Previously, we did not implement it due to significant performance overhead and memory leaks. However, if users truly need it, we should find a way to enable it on-demand (or have it disabled by default and allow users to enable it manually).

webfansplz avatar Sep 12 '24 10:09 webfansplz

I would also find the component events timeline very useful. I agree that making it an on-demand, or configurable option makes sense.

yaffol avatar Sep 24 '24 09:09 yaffol

It would be really useful to have it at least as an option to activate it momentarily. I am currently working on a bug that would make it much easier to see the events emitted.

mreduar avatar Sep 27 '24 14:09 mreduar

Cooking πŸ§‘β€πŸ³

image

webfansplz avatar Oct 01 '24 14:10 webfansplz

See you soon 😊

timeline

webfansplz avatar Oct 13 '24 09:10 webfansplz

See you soon 😊

Nice!

mreduar avatar Oct 13 '24 15:10 mreduar

Great! πŸ‘πŸ»

hakanedison avatar Oct 14 '24 08:10 hakanedison

@webfansplz Looks really great! However, am I the only one expecting the "Enabled"/"Disabled" toggle to say the reverse of what they do currently?

rubjo avatar Oct 24 '24 05:10 rubjo

@webfansplz Looks really great! However, am I the only one expecting the "Enabled"/"Disabled" toggle to say the reverse of what they do currently?

A classic, and partly philosophical question; should the text indicate the current state or should it indicate what happens when you click? In my opinion, it partly depends on what kind of UI component it is, and partly on how the text is formulated (if it makes it clear whether it is state or action that is meant).

In general, I probably prefer that the text on a button refers to the action taken when clicked, but that's not a strong opinion.

hakanedison avatar Oct 24 '24 08:10 hakanedison

Agreed – the current text is neither showing active state nor action, it's showing state if clicked πŸ˜„

rubjo avatar Oct 24 '24 08:10 rubjo

Thanks for the feedback, I've submitted a PR to improve the UX about it.

webfansplz avatar Oct 24 '24 13:10 webfansplz

This still leaves room for confusion. I propose #642.

rubjo avatar Oct 25 '24 06:10 rubjo