I still see websites doing that shit where you click back and end up on a page that redirects you to where you where.
Comment on Youtube's web UX team is a joke.
grue@lemmy.world 4 months ago
- go back
- video gone
That part is the worst. I am sick and tired of websites breaking the back button! When I click back it’s because I wanted to see the thing that was there before. If I wanted it to just refresh from scratch I would reload the page instead!
JackbyDev@programming.dev 4 months ago
RedStrider@lemmy.world 4 months ago
YouTube had a solution not too long ago, when you hovered on a thumbnail it would show a little button that queues up the video on a temporary playlist while you keep browsing. But for whatever reason they hid that in a menu.
grue@lemmy.world 4 months ago
That’s not really the issue. The issue is that it doesn’t give you a proper URL with enough information to uniquely identify the set of results it loaded for you, so if you reload the page it re-runs the query and you get a new set of results instead of the same set you had before. That fundamentally breaks how the Internet is supposed to work: any particular URL should always go to the same resource.
The fact that Youtube also does lazy-loading infinite scroll bullshit makes it even harder to show examples about, so I’ll switch to Lemmy now. Take this URL, for example:
(That’s from navigating to page 2 of my feed, which is set to “all” and “top 6 hours”.)
If I go to that URL now, and then I go to it again, say, six hours from now, it ought to still show the same list of posts. But it doesn’t. Instead, it re-runs the query and shows me the new results from six hours in the future, which is an entirely different result set. That’s not what I want! I want to be able to keep navigating back and forth through the old result set until I explicitly ask for a new one e.g. by clicking on the instance logo or choosing a new search from the [posts|comments], [subsribed|local|all], and [sort type list] controls.
intensely_human@lemm.ee 4 months ago
Just generally speaking, I think of this as “concreteness”.
Software should seek to mimic real spaces, in the sense that one step back takes you to the place you were one step ago.
One pattern that breaks this in my opinion is when a menu appears as soon as you scroll up. It’s just a minor inconvenience, but 95% of the time I scroll up on an article, it’s because I want to re-read a line of text that just disappeared under the top of my screen. This menu reappear crap means I have to scroll up like three inches to get something that’s only a quarter inch under the upper edge.
I think it’s a matter of mental health to have software that faithfully mimics real world causality.
It’s all very vague in my head, but I would love to articulate this fully into a design spec.
It’s kind of like Google’s Material Design spec in its idea, but it’s about the effects of navigation rather than just how UI elements behave.
It kind of relates to the concept of a State Function in math and science.
hex@programming.dev 4 months ago
They could cache the results you receive on your last visit of the home page which would fix this
grue@lemmy.world 4 months ago
It would not fix it. I also want to be able to do things like send the URL to someone else and have confidence that it would load the same content for them, too.
intensely_human@lemm.ee 4 months ago
All the lemmy clients I’ve tried do this.
I see a thing, try to get back to it, and it just refreshes the whole thing from square one.
I’ve built react apps before, I get how that’s kind of easier because “when in doubt, goto 10” (I’ve written code from BASIC through jsx) but damn.
KingJalopy@lemm.ee 4 months ago
Jerboa doesn’t do that in my experience.
kionite231@lemmy.ca 4 months ago
That’s why I always middle click the links.
Tanoh@lemmy.world 4 months ago
…and it drives me insane when it is not real links but some javascript/button/div-with-onclick/etc and middle click won’t work
sacbuntchris@lemmy.world 4 months ago
JavaScript frameworks give front end devs enough rope to hang themselves with