Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since navigating backwards in browser history resets you to the top of the topics view, I would recommend making the UX "cheaper" for the user by either (A) tracking scroll-depth for when the user navigates back or (B) rendering the chatroom in a modal on top of the topics list.

I've been experimenting with (B) a lot lately as a superior UX for the user. It makes clicking into individual views ultra-cheap since the user can always close the modal and continue scrolling with zero downtime.

While we tend to moan about modals done poorly (new Reddit), being able to deep dive on this sort of UX is something we get to do in rich clients (web clients, phone clients, desktop clients, ...) that we can't do when we're stuck rendering statelessly from the server. It's a pattern used widely in non-web clients.

Anyways, nice work. The list of features in your OP is not easy.



Hey thanks for the feedback, I agree with you and I've thought about that problem and ways to potentially solve it.

I was thinking it'd be nice to have a way to render a route, or maybe it's just in a modal as you say, and keep it around while you navigate other parts of the app. That way you can pop it back to the top when needed and it maintains state and doesn't need to rerender.

Is that sort of what you are talking about? Sounds like you've implemented it with success? Def sounds appealing!

Thank you for the comments, appreciated!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: