meticulous / state-decoded-ui-2012

The UI for The State Decoded project
6 stars 0 forks source link

Search results - design #9

Open jathayde opened 11 years ago

jathayde commented 11 years ago

PSD to follow via email search_result

waldoj commented 11 years ago

Looks sharp—I like it.

There's just one UI matter. There are several legal codes that are one, even two levels deeper, and plenty of titles of those structural units that are really much longer than things like "Crimes Against Peace and Order." So you'll have to consider what the breadcrumb trail will look like when that happens. FWIW, it's perfectly fine to truncate those, as long as it's clear that the text has been truncated. (You can imagine that cutting off the title of a text in the wrong spot could yield a title that's entirely different in meaning.)

jathayde commented 11 years ago

Any truncation should have an ellipse, and I would like to investigate the possibility of having a normal state (say ~200px) and then a hover state that expands out to show the whole title. Can you get the longest title so I can try and see how broken that would look?

waldoj commented 11 years ago

Any truncation should have an ellipse, and I would like to investigate the possibility of having a normal state (say ~200px) and then a hover state that expands out to show the whole title.

I didn't dare ask for that, but, yes, that'd be pretty sweet. :)

Can you get the longest title so I can try and see how broken that would look?

Well, I can't say for the whole U.S., but in Virginia, the longest title is probably:

Overtime Compensation for Law-Enforcement Employees and Firefighters, Emergency Medical Technicians and Other Fire Protection Employees.

I say "probably" because Virginia's SGML truncates structural titles at 100 characters, so that even the official site doesn't have the whole thing.

And the longest one in Florida is:

Effectiveness of security agreement; attachment of security interest; rights of parties to security agreement

They get pretty long!

jathayde commented 11 years ago

Pfft. Lawyers! ;)

lynnwallenstein commented 11 years ago

I have coded up the first version of this based on the comp https://github.com/meticulous/state-decoded-ui-2012/commit/418443485f6fc2945354318e4d9ad238557227ec ... This may need to be adjusted when we get real data in there, but I wanted to make sure to get something out.