by divan · 4y ago · 0 comments
Tabs make sense for document viewers. Web browsers are not hypertext documents viewers anymore. They are full-fledged virtual machines for apps (only those that can be written in JS and use typesetting engine as a UI platform - which is nuts, but okay).
The point is, web apps, like normal apps, require proper window manager. Why the hell I should not be able to switch to app when popup alert is shown in another app? Why I can't put two apps side by side inside this VM? Why can't I switch between web apps opened in browser in a similar way as in KDE, Windows or MacOS (Stage Manager type switching would be great).
There so much space for experimentation here. But no, we keep pretending that web apps are documents that need to be shown in tabs.
The app tabs are the ones that profit the least from the hypertext paradigm; other tabs tend to spawn new sub tabs which are more or less short lived. I use tree style tabs to manage that.
It's easy enough to use my actual window manager to manage the app style tabs, by putting them in their own window. But for the most part, this hasn't been necessary. The Firefox popout video player has been more useful than I would have thought, though.
Could you support this with arguments?
Other websites are not app-like at all: Wikipedia articles, blogs like substack, API documentation; these are documents. And they still make up a significant portion of my browsing -- so yes, my browser is still a hypertext viewer. YMMV, like I said, maybe you mostly have apps open; I don't.
And many websites are in-between: project management tools like JIRA and shopping websites like Amazon are document-based (tickets, product pages), but offer actions on top of those documents, like an app would have. They also have external links like, you know, hypertext.
And the latter is true for even the app-iest of apps, which makes it useful to have them in the browser (for the same reason, some desktop apps end up embedding browsers). And conversely, even the document websites have actions that are more or less central to the experience, e.g. Wikipedia has editing, blogs have comments.
So there isn't a clear line between app and document, that's a false dichotomy.
Yes, it's true that sometimes the line between document and app is blurred. But I would argue it's blurred exactly because we use things designed for document to make apps.
Take "links" for example. In web apps, practically every action item is a "link" - either a "<a href=" or <button " that opens another link. But it's not because these things are links - it's because there is no other option to do it without links. If all is you have is a hammer, everything becomes a nail. In a normal app (made in a UI framework designed for that, and not in hypertext engine), instead of links you would use events or function calls or some similar concept.
Likewise, "external" links. You can open external links from normal apps. You don't need to make app a HTML page for that.
So it's not a false dichotomy. If you have ever used desktop/tablet/mobile apps that have blog/comments functionality, you unlikely to think about those screens and functionality "as a document". No, it's just another screen of the app, that renders pixels and handles user input. You only think about it as a document when everything you have is "HTML documents".
Is it really a better solution to have a window manager in an app that's already in an OS with its own window manager?
Side-by-side tab tiling is an interesting idea to explore, a lot of IDEs have done that for years. But I don't know about a full-on window manager.
However the always open tabs I work with most of the time work better in full screen mode on my 15" laptop. Sentry, TeamCity, YouTrack, Bitbucket, AWS (more than one tab), Google Cloud Console, the web apps I'm working on. Little space for tiling.
Firefox had this as an addon before Quantum. I used it often, even with a tiling window manager, because the tab tiles didn't have their own toolbars/etc - it saved a lot of space. Its modern replacement isn't very useful, it just arranges multiple windows into tiles, each with their own toolbars/etc.
Now, since basically everything is an Internet app, perhaps the distinction between local and remote isn't too important anymore for most people.
Sounds like the the browser could behave much the same way for me.
TL;DR: I agree.
I disagree. They still very much fulfill that purpose.
> we keep pretending that web apps are documents that need to be shown in tabs.
Browsers do both web apps and documents (and honestly, blur the lines between them all of the time).
Also, I for one wholeheartedly want tabs for both of those use cases (and I don't think I am by any means alone in wanting that).
There is a thing called web-development, emerged in the last couple of decades. It's whole purpose is to develop apps using this hypertext document rendering engine. You're not wrong by saying that browsers' main job is still rendering HTML documents. But most of the web pages that people use day to day are not "documents", they are apps.
Here are tabs I have open at the moment:
- HN (board app, not a document)
- Soma.fm DefCon radion (music streaming app, not a document)
- Facebook (social network app, not a document)
- Eurosport Player (video player, not a document)
- research paper (PDF, document, but not HTML)
- another forum (board app, not a document)
- Canva (graphics editing app, not a document)
- Miro (whiteboard app, not a document)
So you're disagreeing that those apps are apps and not the documents?As someone who does web development, and has been doing it for longer than the last couple of decades, that statement seems unnecessarily dismissive.
> But most of the web pages that people use day to day are not "documents", they are apps.
While I would agree that the quantity of web pages people visit today that are 'apps' is substantially larger than it used to be, I do think there are a lot more plain HTML documents in use (particularly in boring corporate environments) than many who frequent HN would think.
Of course, if you are going to call anything that executes a significant amount of Javascript an 'app', I am not sure I'm interested in the argument.
My original response wasn't arguing about what was most common anyway -- you said "Web browsers are not hypertext documents viewers anymore." I was just pointing out that they still do a lot of that (and for things that I would not consider to be an 'app'). Admittedly the line between 'app' and 'document' is a bit fuzzy in some cases, but there are enough cases where (in my mind) it is not fuzzy that I still don't see your original comment as accurate.