-
Notifications
You must be signed in to change notification settings - Fork 308
unify tables/listings #3222
Comments
Is charts.js really an example ? I protested when you threw out my d3 code and what I said still stands. What exactly would tables.js library do ? What would it do that a generic jQuery table plugin doesn't ? (Also, there are no tables on the search page.) |
Not yet. In #3221, I'm proposing that we unify the Explore and Search interfaces. |
Yes. Here's your protest:
There are two concerns here:
As much as possible, (1) needs to drive (2), and not the other way around. When we do get to tooling decisions, we find a trade-off between control and convenience. We err on the side of control. Yes, we could use Django or Rails with their ecosystem of convenient plugins and ORMs. Instead, we use Aspen and PostgreSQL, because that gives us more control. Yes, that also makes us responsible for the bugs in Aspen and Postgres.py, but it's worth it to us for the increased control. Some day we'll port to Haskthon for the same reason. ;-) Re: D3 in particular, #1278 was actually the second instance of the tail wagging the dog (and afaict the D3 implementation of the tip distribution chart was primarily @cakey's, not yours). The first was #937. I had suggested in #792 that we switch to D3 without changing the UX, because I also wondered whether "writing our own code instead of using d3 is a good idea." We tried to switch to D3 in #937, and we failed to achieve the user experience we wanted, so we abandoned the attempt. D3 did not give us the control we want.
It would do exactly what we want it to do. It would give us more control than a generic jQuery table plugin. When you said that the new tip distribution charts look terrible, @clone1018 asked you to say more, and you didn't answer:
That's the primary conversation we should be having, about both charts and tables: what user experience do we want to deliver? |
That's not what I'm seeing in #937. From what I can tell the problem was that you tried to port to SVG while keeping the exact same look and behavior as the HTML version, thus ending up thinking "Why are we wasting time rewriting this if we don't want to change anything ?".
That's a non-answer, what do you want it to do ? Do we have special needs that can't be addressed by a generic solution and justify writing our own custom thing ?
Screenshot from #2499: Screenshot from today:
My current name for that still-at-the-concept-stage language is Croc. ;-) |
Noted. :-) |
Here are the problems with the old tip distribution charts, and how they're fixed in the standardized tip distribution charts:
In general, I subscribe to the Tuftean school of data graphics: Data graphics exist to assist viewers in comprehending patterns in data, i.e., information. Therefore, pixels should either directly represent data, or minimally orient the viewer to the data. Pixels that don't serve this purpose are a distraction that Tufte calls, "chartjunk." If you would like to continue to claim that "[t]he new tip distribution charts look terrible," please explain your reasoning. One thing I don't like about the standardized tip distribution charts is that the bars are too wide relative to the labels and to other charts, due to the fewer number of bars compared to the time series charts. If we want to tinker with the tip distribution charts let's make a new ticket. The current ticket is about standardizing tables across the site, with our general treatment of charts being a parallel. |
In short: I want to see us have a consistent, principled approach to the design of our tables and/or item listings, just as we do with our charts.
Here's how to answer this question:
I've updated the title and description of this ticket to better reflect the purpose here (I was wagging the dog myself by leading with, "Custom library!"). |
The newly revised Product page indicates what pages currently have a table/listing on them. |
We achieved consistent charts in #3067. Let's do the same for our tables/listings:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: