News for hackers. Stuff that matters.
Re:Twitter: A Clusterfuck of UI Mistakes by vertex-four on Monday September 12, 2016 @08:25AM (#12479063)
Wikipedia currently has a similarly annoying UX. If you click on an image, then copy/paste the link to someone else to open, it first loads the article you clicked on the image from, then a modal of the image.
Re:Twitter: A Clusterfuck of UI Mistakes by dawnerd on Monday September 12, 2016 @12:11PM (#12480916)
Oh yeah that's annoying. And when you close it they push a new history state so if you hit back the modal opens again. Personally I think modals shouldn't be a URL. If you want it to be a permalink then make it a standalone page.
Re:Twitter: A Clusterfuck of UI Mistakes by vertex-four on Monday September 12, 2016 @12:44PM (#12481246)
IMHO, it should pushState a proper URL to the image, then history.back() to close it.
Re:Twitter: A Clusterfuck of UI Mistakes by toomanybeersies on Monday September 12, 2016 @10:12AM (#12479801)
The image modal can be disabled by the settings on the right of the modal.