-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add external hook for mousemove
event
#196
Comments
mousemove
event
should should have signature like: I suppose getting this to work with touch would be bit of a pain. |
Another way might be to create regions (e.g. transparent svg rects) of configurable widths, and attach mouseenter/leave listeners. If you have a screenshot every 500ms, you ask for slices (and thereby events) at intervals of whatever 500ms corresponds to. |
I think you wanna match screenshots with the exact timeline in PerfCascade. So when firstPaint really happens you wanna see that. VisualMetrics today creates screenshots for every change that happens and I think we will do the same right? |
Sure, even slices was a simplified example. You'd ask for the intervals you need/have data for. |
yep cool. |
Hi @soulgalore & @tobli
I tried the overlays @tobli had suggested but I totally forgot that the events on items below will not fire (could not find any good work-around). |
thank you @micmro - super cool, I'll try it tonight! |
Or I tried now :) I got an error when I tried to get it up and running:
|
My fault, I cleaned node_modules ad installed again and it worked. Been trying out npm5 but it does do so good for me. |
I've been trying out different scenarios and I think I was wrong from the beginning. I have a hard time to figure out how the GUI would work, how we can make sure that you see the screenshot at the same time as you move the mouse over the waterfall. The waterfall could be so high so you need then to display the screenshot on top of the waterfall and I'm not sure that it would look good (need to find us a GUI person :)). WebPageTest do the other way around: You scroll the images and then draw a line over the waterfall https://www.webpagetest.org/video/compare.php?tests=170624_92_ZC2-r%3A1-c%3A0&thumbSize=200&ival=100&end=visual I think we need to discuss how we wanna do before you do too much @micmro ! Ping @tobli and @beenanner . |
Cool, np at all. I have not though about it too much but how about something like this (very rough outline)?: |
@micmro ah yes sounds like a really good idea! |
It would be super cool to open up for users of PerfCascade to add screenshots that change depending on where the mouse hovers on the graph. It would be a perfect fit for sitespeed.io if we could have events reporting the timing (or is there a better way to do it?). See #193 (comment)
The text was updated successfully, but these errors were encountered: