TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

An experiment in UI density created with Svelte

882 点作者 1100110010 个月前

51 条评论

SloopJon10 个月前
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&#x27;ve been using DataTables happily for years.<p>One thing I&#x27;ve been experimenting with lately is sorting vs. showing. If I&#x27;m pulling data from Jira, and an issue is blocked, do I need a separate boolean column to sort or filter, or is it enough to style another column (say, age)? In a table with a hundred or more rows, will an orange, red, or bold red value in a single cell stand out enough for me to recognize something I need to address now?<p>Looking at the table view of this experiment, the things I like are:<p>* live updating<p>* stable sorting for multiple columns<p>* row highlight on hover<p>* dimming the trailing zeros<p>* colors aren&#x27;t overdone; basically just three pairs of colors<p>* graph in the 24H Low&#x2F;High column, kind of like a sparkline<p>The things that don&#x27;t land as well with me:<p>* horizontal scroll bar is almost invisible<p>* the wide vertical scroll bar with the graph<p>* how does 24H Low&#x2F;High actually sort?<p>* no filtering (although it may not be essential for this data source)<p>The other thing I notice, comparing this to some of my own reports, is that there isn&#x27;t much variance in the width of the values. It&#x27;s harder to manage column widths with text than a bunch of numbers.
评论 #41095247 未加载
评论 #41089868 未加载
评论 #41102399 未加载
评论 #41090156 未加载
btbuildem10 个月前
I quite like how you extended the table scrollbar to carry extra information -- akin to a minimap in code editors. At a glance it helps orient the data on screen in context of the larger dataset.<p>The helix I find hard to read and not useful. These types of graphs are better suited for periodic data where the period is much shorter than the span of the dataset.<p>The cube made me curious, but I couldn&#x27;t quite see the advantage. Usually using a 3D viz is not as effective as using three 2D equivalent graphs (here would be 3 scatter plots) -- simply because the projection from 3D to 2D distorts things and messes with our innate ability to compare locations (and a bit less so, areas). What was the effect you were after here?
评论 #41088771 未加载
评论 #41090714 未加载
Bluestein10 个月前
I&#x27;d like to think projects like these are somehow signaling a return to well designed but <i>information dense</i>, space saving interfaces ...<p>The amount of bloat, whitespace, extra spacing, &quot;air&quot; and other such waste - starting with (now Google-dead) &quot;Material Design&quot; has been egregious.-<p>(One can dream ...)
评论 #41089768 未加载
评论 #41091784 未加载
评论 #41093501 未加载
pavlov10 个月前
In my opinion this experiment is missing a key element of designing for UI density: typography.<p>These screens use a fixed-width font at a single size. It’s a retro 1980 text-mode UI look, and it’s fine if that was the design constraint they wanted.<p>But you can squeeze a lot more information on screen if you can have a proper hierarchy of typefaces and sizes.<p>(As a basic example, the “About” box now consumes almost a quarter of the screen on a phone. A change to a smaller proportional font could fit this information in half the space and still remain readable on a phone.)<p>If you look at the works of an accomplished information designer like Edward Tufte, he often obsesses about getting the typography right. His books use many typographic elements and scales even for the body text, outside of the visualizations.
评论 #41096734 未加载
encodedrose10 个月前
Would an accurate comparison be something like perspective? (<a href="https:&#x2F;&#x2F;perspective.finos.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;perspective.finos.org&#x2F;</a>)<p>Is the focus on density around performance, visualization, or something else?
评论 #41090709 未加载
评论 #41089615 未加载
electroly10 个月前
One thing I especially like about developing data-heavy financial apps in Windows Forms is the DataGridView control. High density and high performance with filtering, sorting, and drag-and-drop column reordering and resizing. No paging required; if you want to stick 10,000 rows in there, that&#x27;s fine. Most of the UIs we write are screens full of DataGridView panes. Ugly? Yes. Fast? Also yes.<p>My attempts to write similar UIs in React have mostly been failures due to poor performance. I resorted to bypassing React entirely for data tables in order to get acceptable render performance. Even then, I have to minimize the number of DOM elements per row so that the browser rendering itself isn&#x27;t unacceptably slow.
评论 #41090320 未加载
breck10 个月前
I love information density!<p>I collect old newspapers and back then info density was way higher (for an _amazing_ coffee table book, google &quot;nytimes complete front pages&quot;). So much critical info above the fold.<p>I think high information density === high intelligence. Getting sort priorities right is very valuable and important.<p>The past few years the web seemed to be going the other way. Good to see people still rowing in the other direction.<p>Other examples:<p>I designed my blog to allow one to zoom in&#x2F;zoom out to see ~20 years of posts at once (<a href="https:&#x2F;&#x2F;breckyunits.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;breckyunits.com&#x2F;</a>).<p>I&#x27;ve got some stuff coming out to promote (and make it easier to build) highly information dense cheat sheets (I&#x27;m trying to get the name &quot;Leet Sheet&quot; to catch on - <a href="https:&#x2F;&#x2F;pldb.io&#x2F;blog&#x2F;leetSheets.html" rel="nofollow">https:&#x2F;&#x2F;pldb.io&#x2F;blog&#x2F;leetSheets.html</a>)
评论 #41088796 未加载
ecjhdnc202510 个月前
This is interesting because it proves something to me about my vision and visual comprehension.<p>The &quot;Grid&quot; view is absolutely fine for me. The &quot;Table&quot; view is unworkable.<p>I have a lot of trouble scanning across lines like this, where I will lose which line I am on (when my glance shifts). This, I have realised, is due to the tendency to shift eye dominance slightly across to the right. (My eyes are subtly misaligned so I have some prism correction; a recent change to my prism correction has improved this situation for me.)<p>This particular presentation has the indicator line in the low&#x2F;high column placed so that it makes this accidental row shifting (which is always upwards) even worse.<p>For me, the line graph would be better off either as the background to the cell, or towards the bottom of the cell. And the rows would need zebra-striping, subtly.<p>The lesson from me, a fast and able reader who is not vision- or cognitively-impaired is: don&#x27;t assume that you can put stuff across wide lines in tables like this. Provide affordances so people can hold onto the &quot;row&quot; as they scan across. The keyline separators are not enough, and the hover-over background change is not usable on a touch device.<p>As it is, when I encounter stuff like this, I often have to un-maximise the window and reduce the window height so I can scroll and use the bottom of the window or the title bar of another one to provide a consistent &quot;edge&quot; to see the data on. If I am using my iPad, I have been known to use a piece of paper or card.
评论 #41090473 未加载
daemonologist10 个月前
Some very cool looking UI elements here, but I&#x27;m also wondering what the experiment was and what conclusions you drew from it.<p>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&#x27;re interactive. As you implemented for the some of these pages, the solution is to go to a canvas.
评论 #41088610 未加载
评论 #41088551 未加载
评论 #41091695 未加载
karaterobot10 个月前
That helix chart is very sexy. I&#x27;m not really sure I could use it, but danged if it isn&#x27;t cool looking.<p>If this is an experiment, what were your conclusions?
评论 #41091593 未加载
gorgoiler10 个月前
I absolutely love it, very intelligently put together. The gold standard for this in the terminal is btop. Check it out if you’re into this sort of thing:<p>Example: <a href="https:&#x2F;&#x2F;terminalroot.com.br&#x2F;assets&#x2F;img&#x2F;cpp&#x2F;btop.png" rel="nofollow">https:&#x2F;&#x2F;terminalroot.com.br&#x2F;assets&#x2F;img&#x2F;cpp&#x2F;btop.png</a><p>Repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;aristocratos&#x2F;btop">https:&#x2F;&#x2F;github.com&#x2F;aristocratos&#x2F;btop</a>
评论 #41095302 未加载
jonahx10 个月前
I love this -- dense but still easy to read.<p>Also beautiful and polished as a piece of design, apart from the dataviz.
hliyan10 个月前
One thing we may still haven&#x27;t realised is that UI designs are subject to fashion cycles, just like clothing. Except enough time hasn&#x27;t elapsed for us to observe a full cycle similar to peak-bell-bottoms or peak-low-riders or peak-sideburns. We may be in a low-contrast &#x2F; low-density peak, but we won&#x27;t know until we pass it. However, looking back, we did seem to have passed at least one peak-skeuomorphic cycle (remember all the toolbars, icons, drawers and Microsoft Bob?). We may see another high contrast monochrome text-heavy cycle yet.
andrewstuart10 个月前
<a href="https:&#x2F;&#x2F;static.crowdwave.link&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;static.crowdwave.link&#x2F;index.html</a><p>Above is the evidence that react can handle this sort of thing just fine.<p>I hacked&#x2F;converted the page in question to React to show something similar.<p>Its randomly generating updates to the table and then resorting the table and repeating.<p>You can grab the source here but I warn you it&#x27;s hacked together in less than an hour:<p><a href="https:&#x2F;&#x2F;static.crowdwave.link&#x2F;sveltetest.zip" rel="nofollow">https:&#x2F;&#x2F;static.crowdwave.link&#x2F;sveltetest.zip</a>
评论 #41097912 未加载
评论 #41098924 未加载
kibwen10 个月前
Reminiscent of the Bloomberg Terminal: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bloomberg_Terminal" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bloomberg_Terminal</a>
评论 #41098183 未加载
Waterluvian10 个月前
Having to support mobile throws a big wrench in all design. You suddenly have to worry about a very different viewport and now you’re significantly limited or designing two UIs.
评论 #41090702 未加载
评论 #41090419 未加载
ctippett10 个月前
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%).<p>The layout works remarkably well on mobile regardless, but I wasn&#x27;t expecting such unintuitive zoom behaviour.
评论 #41089227 未加载
评论 #41088942 未加载
评论 #41097866 未加载
jbrimble10 个月前
Is there a code repo for this site? I can&#x27;t seem to see one, and I&#x27;m curious to see the svelte source.
severak_cz10 个月前
DAWs and video editing programs can be very information dense.
zongitsrinzler10 个月前
Reminds me of the Tron Legacy boardroom scene UI!
jbs78910 个月前
I’m curious about what the objective and conclusion is. Admittedly I’m in the “less technical” audience, so less focused on the “sexiness” (as I’ve heard others refer to it).
评论 #41088667 未加载
squarefoot10 个月前
Well done. Tables are very dense, still easy to read. Proof that information hidden behind empty screens with tons of blank space has never been the way to go.
xyst10 个月前
I see you took a page out of the Bloomberg Terminal.
PhilipRoman10 个月前
Love the cube view! Tangentially related - anyone know a linux tool which takes a bunch of points&#x2F;lines&#x2F;labels as input and generates a nice interactive 3d view of it? I&#x27;ve considered using .obj file viewers, but it doesn&#x27;t quite hit the mark. Gnuplot is nicer but doesn&#x27;t have interactive features as far as I can tell.
评论 #41088759 未加载
评论 #41088812 未加载
PaulHoule10 个月前
That Helix reminded me of this old game<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Tempest_(video_game)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Tempest_(video_game)</a><p>except it really is a helix and not a cylinder like a Tempest level. Still would be fun to fight bugs in.
terribleperson10 个月前
Adding a tiny bit of Y-padding made this a lot more readable for me. I wish more information display interfaces offered these kinds of controls. A thought that occurs to me: does densely-packed data get more readable the more experience you have with the data in question?
sbr46410 个月前
This is great work.
tengbretson10 个月前
The mini-map&#x2F;scrub view in the table seems to suspend the drag motion if you target outside that vertical element with the mouse. Intuitively I would assume it would just let you drag until mouse release.
ChrisMarshallNY10 个月前
I&#x27;m in the final release phase of an app that I have developed over the last month, but it builds on a test app that I wrote, a couple of months ago, and that had multiple screens, showing tabular data, in various forms (and ways to sort and filter said data). Fairly similar process to this, but on a more humble scale.<p>I tested for a while, settled on one form, and made an app for that.<p>It&#x27;s not the most exciting variant, but it seems to work very well, and the reception in the public beta has been quite positive (one problem is that it&#x27;s not an app that I would use, personally, so I had to rely a lot on the feedback of others).
评论 #41090706 未加载
klaussilveira10 个月前
I love this, specially the minimap idea on the table. Have you considered a different way of adding&#x2F;removing&#x2F;moving columns with too many columns (100+)?
keinsinn10 个月前
There&#x27;s a company in Iceland called &quot;CCP&quot; that did a similar interface. They call it &quot;Eve Online&quot;
perdomon10 个月前
I&#x27;ve heard that the DX with Svelte is among the best out of all web libraries&#x2F;frameworks. Curious how it went creating this UI.
MOARDONGZPLZ10 个月前
This is slick. Does anyone have recommendations for high density real world maps with tracks like FlightRadar or similar do?
tgtweak10 个月前
This is surprisingly fast. A really impressive showcase of the design philosophy of Svelte. Even loads and renders fast on mobile!<p>DOM Loaded: 134ms<p>FCP&#x2F;FP: 163ms<p>LCP: 218ms<p>TTI: 1826ms
jeffbee10 个月前
This obviously does not fit &quot;as much data on a screen as possible&quot;. My laptop has a 7.7 megapixel display and each pixel has 1 billion possible states. This page is putting <i>maybe</i> 10000 bits of information on the screen, not even scratching the surface of machine&#x27;s capacity.
评论 #41088603 未加载
评论 #41089439 未加载
评论 #41088611 未加载
评论 #41088607 未加载
fitsumbelay10 个月前
the helical visualization is a new one for me and <i>very</i> nice, tho I agree with previous commenter about its usability, mainly bc of having to zoom in and out. really nice interaction tho
bowsamic10 个月前
You could make it far far denser than this
perching_aix10 个月前
the experiment fails pretty hard on my phone where i have js turned off by default :p
评论 #41090675 未加载
rkagerer10 个月前
It&#x27;s a thing of beauty
FpUser10 个月前
Love it
chrisstanchak10 个月前
Love this. Amazing work.
wiseowise10 个月前
That is just amazing!
createwith10 个月前
meta: I would have upvoted this post 2x if you did the backend in Rust.
cranberryturkey10 个月前
svelte 4 is handsdown the best framework out there. I really am disappointed svelte5 is turning into react-ish framework. That was the main reason I used svelte was because it was NOT react.
评论 #41097886 未加载
felipefar10 个月前
Low UI density is the new emperor&#x27;s clothes in modern UI design. It&#x27;s being actively promoted by companies in order to cut design costs, but the truth is that it&#x27;s only reasonable on touch interfaces or casual apps.<p>Mouse interfaces are fundamentally different, because you have much more pointing precision, so it pays off to show more data on the screen. You don&#x27;t have to cram your interface with with spaces to make it scan-friendly, you just use heterogeneous elements and colors. Look at Blender and you&#x27;ll know it can be done.<p>I&#x27;m designing a desktop reference manager (<a href="https:&#x2F;&#x2F;getcahier.com" rel="nofollow">https:&#x2F;&#x2F;getcahier.com</a>), and one of its aims is to provide a UI with high information density. The mobile version will be able to adjust the experience, replacing desktop-only interaction patterns with mobile ones, and the UI elements that are shared will be somewhat bigger, so that users are able to interact them with touch.<p>Apart from that, it seems that the whole industry is confused regarding UI styles. UI frameworks are either favoring touch interfaces and degrading the experience on desktop, or vice-versa. Even Windows 10 released certain parts of the control panel with desktop look and feel and others with touch-friendly but desktop-antagonistic screens. It&#x27;s time we realize that both platforms are different and we shouldn&#x27;t degrade one in favor of the other.
评论 #41092050 未加载
评论 #41090881 未加载
评论 #41091632 未加载
评论 #41091090 未加载
评论 #41091634 未加载
评论 #41092410 未加载
评论 #41091944 未加载
评论 #41092389 未加载
评论 #41092445 未加载
mhh__10 个月前
I work have built some dense UI for certain types of fixed income (bonds and swaps) trading, looking to move it all to svelte because react cannot handle the quantities of data (and if even if it could the code is unbelievably ugly).<p>Something I&#x27;ve been banging on about for a while is the following: Programmers and designers keep trying to rebuild instagram in every domain, pretty UIs, regular UIs, &quot;simple&quot; UIs.<p>This is great when every interaction might be an onboarding, but can be really limiting and stupid in an environment where people are actually paying attention.<p>A proxy I like to use for the above distinction is whether the users are paid more than the programmers
评论 #41090347 未加载
评论 #41091948 未加载
评论 #41091824 未加载
评论 #41091343 未加载
评论 #41091531 未加载
评论 #41091243 未加载
评论 #41090191 未加载
评论 #41090052 未加载
评论 #41092393 未加载
评论 #41092683 未加载
评论 #41091839 未加载
评论 #41092448 未加载
thr0waway00110 个月前
cool.
评论 #41088979 未加载
sbr46410 个月前
I appreciate that you are using this idea, but keeping padding and other design in tact, unlike most linux&#x2F;unix devs that like dense ui.
amelius10 个月前
An infinite scroll would have more UI density.<p>Or a rich text editor containing 200 pages of text.
评论 #41089796 未加载
woodsie10 个月前
I&#x27;m guessing it&#x27;s an experiment on whether it&#x27;s possible to make a human nauseous with a UI.
评论 #41089640 未加载
solardev10 个月前
This a flashback to the DOS era for me, or CLI utils like &#x27;top&#x27;. I can&#x27;t quite express why, but I find it a bit ugly and vaguely annoying. Probably reminds me too much of unstyled spreadsheets, or maybe I&#x27;ve just been brainwashed by modern trends...<p>Regardless, I guess my primary gripe with it is the cognitive overload. A bunch of numbers (stocks? not sure) and names that all look the same, sometimes with different color end digits (why is the zero gray sometimes), in a vast sea of information but no context. What is the most important item at any given time? What do I need to pay attention to? I mostly just glaze over and tune it out because there&#x27;s way too much going on.<p>I get that it&#x27;s an experiment (and ultimately a preference). Just not my thing, I guess.
评论 #41088827 未加载
评论 #41088933 未加载