Live data from Hacker News

An experiment in UI density created with Svelte

cybernetic.dev

261–267 of 267 posts

Re: An experiment in UI density created with Svelte

#261

Some very cool looking UI elements here, but I'm also wondering what the experiment was and what conclusions you drew from it. On sheer number of interactive elements, my experience (Svelte 4) is that the rendering usually starts to cause problems before the interactivity, i.e. you run into performance problems at the same number of elements regardless of whether they're interactive. As you implemented for the some o…

Svelte can be used with renderless components. https://imfeld.dev/writing/svelte_domless_components Svelte can also draw on a canvas. There is Threlte: https://threlte.xyz/ As for performance within Svelte, I don't think it needs something like Jotai as much as React does to prevent unnecessary re-rendering.

Also a Svelte component just takes JavaScript… so you can just create and use a canvas and interact with the DOM normally.

Re: An experiment in UI density created with Svelte

#262
post #225

Earlier quoted context omitted.

I think it started with Apple when switching from OS 9 to OS X, I couldn’t explain it at the time and still feel disappointed with so much waste of expensive screen estate.

It's a weird turn of event that OS X stayed a much more classic os than what Windows 8 was becoming. I remember that for a long time OS X was wasting less screen estate than Windows 8 and all that mix that was Windows 10. But since Big Sure it means that it got even worse than what It was with the first version of OS X. I remember how crazy it was it setup a mac emulator, set it's resolution to my mac's resolution, f…

> weird turn of event that OS X stayed a much more classic os than what Windows 8 was becoming

Indeed.-

At the time - I seem to recall - it really felt like Win8 was trying to "out-Mac" the Mac.-

Re: An experiment in UI density created with Svelte

#263

I deal with a lot of data in tabular form, and I like to have as much of it in front of me at once as I can. The biggest influence on my report design has been, believe it or not, iTunes: no more padding than necessary, zebra striping, fast and easy sorting, and something like a column browser if possible. I've been using DataTables happily for years. One thing I've been experimenting with lately is sorting vs. showi…

I've also been experimenting with mac app development for interfacing with Jira and other work that's ongoing but async. Less so on the data viewing side, and moreso on having agency over what I'm alerted to and when, but your comment and this UI has inspired me to try other ideas, since I kind of got stuck on a main data view

Re: An experiment in UI density created with Svelte

#264

On mobile, if I zoom out to 85% everything gets smaller and more things fit on the screen (great!). Zooming out further to 75% makes everything larger... 50% and things get larger still (more so than they were at their default size at 100%). The layout works remarkably well on mobile regardless, but I wasn't expecting such unintuitive zoom behaviour.

Are you on iOS perhaps?

Yes, an iPhone. As an occasional writer of CSS, I assume the behaviour is the result of using font-size as the basis for sizing elements. As the font-size increases due to various media breakpoints triggering, so too do the elements on the page.

Re: An experiment in UI density created with Svelte

#265
post #58

Earlier quoted context omitted.

> It's an interesting question (how much density is "right" for productivity apps). Between extremes of GUI presenting all functions at once and accessing all functions through memorized keyboard shortcuts, there must lay large lands of possible, experimental GUIs which unfortunately never get tested in popular software (which defaults to sub-menus + some keyboard access). I mean zoomable UIs, radial menus, 3d concep…

> I was leaving this temp gig I showed this solution to some guy in accounting, whose life was basically opening these dropdowns all day long. Lol, that is such a tragic story that must happen millions of times across the world today. At a previous job, one department was spending 3-4 hours a day manually copying & pasting customer contacts from emails into their CRM. This was in an org with tens of developers, but n…

Unfortunately universal solutions are often not enough. Good thing is for non-programmers to code a little, script a little.

Good luck with tuning your PS a bit. It should pay off somehow, me thinks.

Re: An experiment in UI density created with Svelte

#267

Earlier quoted context omitted.

> ...pioneered by Solid Excuse me what?

it is specifically the signals-based approach pioneered by Solid, https://youtu.be/82dzMKZzHrY?t=12314

Aren’t all these techniques a lot older coming from functional reactive programming?
Post reply on HN