News for hackers. Stuff that matters.
Re:You don't need a modal window by mock-possum on Wednesday May 24, 2023 @10:14AM (#36058373)
Fair, but there’s no reason a URL can’t resolve to a landing page and already open modal state populated with the content the other person shared to you. Deeplinking / permalinking works just as well with modals as it does with anchor named content blocks below the fold.
Re:You don't need a modal window by usrbinbash on Wednesday May 24, 2023 @11:02AM (#36059103)
> ut there’s no reason a URL can’t resolve to a landing page and already open modal state populated with the content the other person shared to you.

I can think of 2 very good reasons right away:

1. It increases the complexity of the webpage

2. It makes it impossible to simply download or integrate the resource elsewhere

Re:You don't need a modal window by zelphirkalt on Wednesday May 24, 2023 @11:06AM (#36059180)
Sure, if you want to put in the effort to make it work. Most however don't and then their websites suck in that regard.
Re:You don't need a modal window by avisser on Wednesday May 24, 2023 @11:15AM (#36059297)
Permalinking has worked since Netscape 1.0 w/o any code from the developer. Why fight the system?
Re:You don't need a modal window by Brian_K_White on Wednesday May 24, 2023 @11:23AM (#36059387)
So, something can intrinsically work by default, or it can possibly work only when and if you go out of your way to make it work. Two totally equal choices!
Re:You don't need a modal window by horsawlarway on Wednesday May 24, 2023 @03:47PM (#36063065)
> Two totally equal choices!

No, because in the one that intrinsically works, you're losing the user's context by navigating them away.

Which is what the modal is good for.

Whether that's worth it is a discussion, but at least this part of it is trivially easy to implement.

Re:You don't need a modal window by usrbinbash on Thursday May 25, 2023 @06:31AM (#36068995)
> you're losing the user's context

We're talking about BOOKMARKS, so what context do we lose? The users browsers home screen?