4 ms·
That's true, but when you roll a "one size fits all" HTML app across all platforms, it's much much less likely to follow operating system conventions and very e
by wlesieutre 11y ago
That's true, but when you roll a "one size fits all" HTML app across all platforms, it's much much less likely to follow operating system conventions and very easy to get layout details wrong.
For example, Hipchat's settings overlay (https://i.imgur.com/V3UOyMI.png https://i.imgur.com/V3UOyMI.png) which should:
• Be a separate window
• Be sized properly for its contents instead of having to scroll
• Use tabs along the top for the settings categories
• Not have clipped left edges on all of the checkboxes
• Put the close button in the top left corner of the window like the rest of the OS
Compare to settings in Textual, which is an actual native application: https://i.imgur.com/5GFURBk.png https://i.imgur.com/5GFURBk.png
Beyond the design aspects, there's also the issue of performance (the OS's UI layout system is well optimized for doing UI layout) and battery impact.
The average "Energy Impact" of Hipchat as measured by Activity Monitor is 24x as high as Textual's. Twenty four! That puts it in 3rd place, beaten only by Google Chrome and Spotify (which IIRC is a similar "wrapped our webapp in CEF or electron). Hipchat does a bit more than Textual (inline image display), but not enough to justify its abuse of my battery life.
- oblio 11y agoAren't most of those application bugs? For example, I don't see why the check boxes should be clipped in any web application, since in their default configuration (no CSS), they aren't. So the Hipchat CSS borked the default widget.
- wlesieutre 11y agoYes, the check boxes are a bug in HipChat. That's part of my point: I have literally never seen a native OS X application that couldn't lay out checkboxes properly. Working in html/electron opens you up to making these UI bugs a lot more easily than native development.
- oblio 11y agoThat's the risk of customizing the UI in any cross platform toolkit. I'd rather have slightly wonky cross platform apps than native apps for a very limited subset of platforms.
- kccqzy 11y agoI think transmission did the right thing: a single core shared across all platforms, tailored UI for different platforms. And yes, the existence of a web app makes it available absolutely everywhere, and the existence of fully native UIs make it a joy to use. EDIT: spelling
- deleted 11y ago[deleted]
- deleted 11y ago[deleted]
- yeahrightfam 11y agoThere are no good/bad languages/tools, there are only good/bad developers.