Live data from Hacker News

Show HN: Traquer – Records and reproduces user's in-page behavior

github.com

21–24 of 24 posts

Re: Show HN: Traquer – Records and reproduces user's in-page behavior

#21
post #16

I saw something really nice with Elm elm-lang.org where one could record the user behavior, Push it to Google Firebase and replay it on a developer machine for debugging.

Do you have a link to that resource? Sounds really awesome. Thanks!

Re: Show HN: Traquer – Records and reproduces user's in-page behavior

#22
post #19

Hey, can you explain how your heatmap handles scrolling? I expect a heatmap to show what elements of a page were interacted with a lot, if scrolling isn't handled correctly, it might look that the user was interacting with another part of the page than he actually was.

Nice catch, interacted elements (if scrolled) should appear on their place, but heatmap is not scrollable.

I guess this is pretty buggy, but I already mentioned that heatmap is pretty naive, and should be taken care of sometime in future.

Re: Show HN: Traquer – Records and reproduces user's in-page behavior

#23
I would be really interested to be able to use the playback part of this for unit testing. I have code that can click buttons, but it would be great to have a library I could just load inside a page and then play back a series of events.

I am poking through the source... seems like it should be pretty easy to programmatically build a stream of events to load, but I can't quite find the code that actually plays them back?

Re: Show HN: Traquer – Records and reproduces user's in-page behavior

#24

I would be really interested to be able to use the playback part of this for unit testing. I have code that can click buttons, but it would be great to have a library I could just load inside a page and then play back a series of events. I am poking through the source... seems like it should be pretty easy to programmatically build a stream of events to load, but I can't quite find the code that actually plays them b…

Hey, sorry for late response. I've just saw your comment.

You can look at https://github.com/nenadg/traquer/blob/master/public/lib/tra... (core method).

You can find `play` function in it. `play` function calls for `eventsScheduler` that does replay part by calling actions (events) on saved objects in pre-saved time (ie. time you moved your mouse and clicked here and there).

If you have any further questions email me. I've attached my email to my hn profile.

Post reply on HN