Live data from Hacker News

Web Apps on macOS Sonoma 14 Beta

blog.tomayac.com

121–130 of 139 posts

Re: Web Apps on macOS Sonoma 14 Beta

#121

The slow death of Electron & Co? Electron apps like Discord, Slack, etc. don't seem to gain any benefit from being wrapped in Electron anymore. Have one codebase, one app, that works everywhere and can now even be "installed" with Safari.

I mean Discord, and Slack still need to run on non-Apple devices.

Re: Web Apps on macOS Sonoma 14 Beta

#122

I don't get why it is forced to be on the Dock. I like having a super slim dock that only has open apps in it.

It's not - it's just an app in your Applications folder that's automatically put in your dock. You can remove it. They just label it that way to make it easier for beginners to reason with.

Re: Web Apps on macOS Sonoma 14 Beta

#123

Can Web Apps use tabs? As in, if I command click a link, will it open in a native tab in the Web App? If they can't, then a bunch of apps I want to use as web apps will have to stay within the main browser unfortunately.

You should be aware of the tabbed application model proposal, which would allow PWAs to have tabs: https://web.dev/tabbed-application-mode

Re: Web Apps on macOS Sonoma 14 Beta

#124
post #46

Does using Slack as a Safari Web App reduce resource consumption vs the Electron app? This seems like a huge deal if so

> Does using Slack as a Safari Web App reduce resource consumption vs the Electron app? Yes. Yes it does. This is why “native” apps that use the operating system’s default WebView for the corresponding platform run seamlessly compared to apps packaged with Electron. Safari is has much better performance than any other web browser on macOS, and this change will allow users to access those benefits.

> Safari is has much better performance than any other web browser on macOS

Typical marketing BS. Browsers are probably very close to performance. Chrome said last year they are actually the fastest browser on M1/2. On Speedometer 2.0 (apple developed benchmark) with M2 Air Chrome currently has the highest score of 491.

https://blog.chromium.org/2023/06/how-chrome-achieved-high-s...

Re: Web Apps on macOS Sonoma 14 Beta

#125
post #45

Earlier quoted context omitted.

Thankfully many old timers aren't frozen in the 90's, we rather use our experience to write proper Web applications instead of being ChromeOS advocates. Can't say the same for the Electron generation.

here here. please excuse me while i adjust my suspenders and twist my beard as i yell get off my lawn. when i reference things from the 90s, it is far from my being stuck there. it is because i have the living memory of the pain from that time, and can see it being repeated by the people that have no living memory of that time. i lived that pain once, i don't need to relive it because someone else hasn't and is too s…

At least we weren't shipping browsers alongside the content.

Re: Web Apps on macOS Sonoma 14 Beta

#126
My main objection to PWAs is that I can't run an content blocker or other extensions inside of them. This renders them unacceptable to me.

For example, one main use would be YouTube. Right now I use a separate Firefox profile on my second monitor so I can run uBlock Origin and Sponsorblock.

It isn't solely about blocking advertisements. I use content blockers extensively to get rid of annoyances, popup banners, intrusive elements of websites like Reddit's incessant prompting to buy "coins" (whatever the heck those are) or join their social media push a la moment. I can't comfortably use the web without this functionality.

Re: Web Apps on macOS Sonoma 14 Beta

#127
post #49

> Let web apps programmatically trigger the Add to Dock flow, since the Share icon and the File menu install ways are hard to discover. Please, for the sake of all decency, no! We do NOT need new ways for web sites to badger users. (Sorry to focus on this one thing. This was a great and informative article, with 99% good ideas. I just had a visceral reaction to the idea of yet more ways for sites to harass me as a us…

It's just not good UX to programmatically trigger the dock flow either. But it does signal an important aspect about the current iteration: the share icon hides way too many choices that don't make any real sense for being under the share icon. This is something Apple should absolutely work on ASAP because it's becoming a bloated list. Seriously, why is find under the share icon? How absurd this has gone on for THIS…

Share became Export so slowly I never even realized it.

Re: Web Apps on macOS Sonoma 14 Beta

#128
post #124

Earlier quoted context omitted.

> Does using Slack as a Safari Web App reduce resource consumption vs the Electron app? Yes. Yes it does. This is why “native” apps that use the operating system’s default WebView for the corresponding platform run seamlessly compared to apps packaged with Electron. Safari is has much better performance than any other web browser on macOS, and this change will allow users to access those benefits.

> Safari is has much better performance than any other web browser on macOS Typical marketing BS. Browsers are probably very close to performance. Chrome said last year they are actually the fastest browser on M1/2. On Speedometer 2.0 (apple developed benchmark) with M2 Air Chrome currently has the highest score of 491. https://blog.chromium.org/2023/06/how-chrome-achieved-high-s...

What does fastest mean? Does it have the most responsive UI? Is it the fastest to open? Is it using less memory than the competition to achieve its speed?

To me, proof is in the pudding: Chrome feels large and bloated when I use it. Safari feels snappy.

Re: Web Apps on macOS Sonoma 14 Beta

#129

Extensions not running is disappointing. I would prefer my adblocker run in the app as well.

While I understand where you're coming from, I think it makes a lot of sense continuity-wise. A regular user doesn't care nor know how these apps work internally, as far as they're concerned, it's just another app. You wouldn't expect changing the settings of one of your apps to change the way random other apps work (power user tools notwithstanding).

Given I'm a developer who uses PWAs on every device, my opinion probably doesn't mean much compared to the general public.

But this means I'll never use YouTube in Web App.app, and just sounds like it's going to be annoying using my password manager (though to be fair, Safari alone makes it a pain to use my password manager)

Post reply on HN