News for hackers. Stuff that matters.
Re:An infinite canvas for code exploration by observationist on Monday May 06, 2024 @06:48PM (#40280378)
Hijacking the back button to lock me on the page is an unacceptable violation of my browser functionality. Don't do that. It's bad. When I click the back button, I want to go away from where I am, back to where I was before. I don't click the back button to remain in the same place.

I wanted to watch the demo video again; even if it's only on the initial signup page, the hijack is irritating. If it's intentional, that's offensive.

Re:An infinite canvas for code exploration by pst723 on Monday May 06, 2024 @06:51PM (#40280400)
That sound like a bug, definitely not intentional. Will look into that.
Re:An infinite canvas for code exploration by chaps on Monday May 06, 2024 @07:16PM (#40280566)
While you're at it, could you re-add controls to the video? Yeah I know two minutes is short, but.. I just want to see some screenshots!
Re:An infinite canvas for code exploration by cyxxon on Tuesday May 07, 2024 @08:06AM (#40284527)
Looks interesting to me - I am using the mouse button on the left side of the mouse which is bound to back by default. That just flickers the login page. Actually clicking the back button on the browser UI works, though (Edge Win10/64).
Re:An infinite canvas for code exploration by koito17 on Monday May 06, 2024 @07:19PM (#40280592)
Having worked as a frontend web developer, I can assure you that the back-button hijacking is sheer incompetence of the developers. They have to be mutating your browser history in a careless way to achieve this. That or they somehow picked a really bad client-side routing library. (Even just following a basic tutorial for react-router wont cause this behavior. It's almost always sloppy state management causing this)
Re:An infinite canvas for code exploration by pst723 on Monday May 06, 2024 @07:27PM (#40280641)
Thanks, forwarded to my frontend dev/cofounder ;)
Re:An infinite canvas for code exploration by monkaiju on Monday May 06, 2024 @11:20PM (#40282021)
Sort of a jerky way to say that
Re:An infinite canvas for code exploration by junon on Tuesday May 07, 2024 @02:26AM (#40282936)
Having worked as a frontend web developer, the history API is a minefield even to people who are proficient with it.

Chill.

Re:An infinite canvas for code exploration by anonzzzies on Tuesday May 07, 2024 @05:33AM (#40283767)
Well in this case it's the frontpage. That makes little sense. If it's further inside the application, it can become very difficult, but this is just when you click start now and you are stuck. That makes no sense.
Re:An infinite canvas for code exploration by kmoser on Tuesday May 07, 2024 @12:03AM (#40282230)
Video didn't play on Firefox. I had to hit the "pop-out" icon to show it separately, at which point it showed the regular video controls (which should have shown in the first place, right?). If I didn't read the comments here, I wouldn't have realized this was a video.

An audio track narrating what's happening would be nice, although it's pretty clear from the video what's happening, which is great!

One question: how do you display functions that are more than a dozen lines long? Do they get shown in a scrollable window, or does the window get auto-sized to show the entire function (which, IMHO, would be bad if the function was huge)?

Re:An infinite canvas for code exploration by pst723 on Tuesday May 07, 2024 @12:11AM (#40282259)
They are scrollable. We try to be smart with how we capture scroll/touchpad interactions for zoom/scroll so that they feel natural. Thanks for the feedback!
Re:An infinite canvas for code exploration by me_bx on Wednesday May 08, 2024 @03:40AM (#40295348)
+1, it's only thanks to parent comment that I realized the image is a video, and I need to right-click, select play to start playback.

On my device (Linux) no control is shown at all even in full screen.

I just thought this was a screenshot, and got disappointed that login is compulsory to try the tool, without showing anything about it beforehand.

Re:An infinite canvas for code exploration by pst723 on Tuesday May 07, 2024 @06:00AM (#40283898)
The back button seems to work fine for me, at least in Chrome. Could you provide more specific repro steps? Are you sure it's not just the OAuth redirect dance?
Re:An infinite canvas for code exploration by jihiggins on Tuesday May 07, 2024 @08:55AM (#40284889)
it happens for me if i click start now and try to use mouse button back, but if i click the back button it works? (also latest chrome)
Re:An infinite canvas for code exploration by kmoser on Tuesday May 07, 2024 @10:22AM (#40285819)
Back button works for me in Chrome but not Firefox (Windows, 125.0.3, 64-bit).
Re:An infinite canvas for code exploration by mrgoldenbrown on Tuesday May 07, 2024 @02:45PM (#40289868)
Broken for me on Firefox, android phone.