lombardpress / lombardpress-webjs

0 stars 3 forks source link

image search (4/n): labels in image search #101

Open ch-sander opened 2 years ago

ch-sander commented 2 years ago

I think the image search results should have meaningful (to a human reader) labels, e.g. "figure n (on page x in manifestation y)" instead of the internal ID like "p9i7y5-e21765-Fd1e121". This ID could be embedded somewhere else or as tooltip.

ch-sander commented 2 years ago

And label and figure should be closer to each othe than the linebreak to the next result in the one-column-result-view.

jeffreycwitt commented 2 years ago

I think commit 25df3eff1738719d4459eca846614c14fd8d8ff0 makes first step toward resolving this. It maybe not be the perfect or final solution, but I think it works for now. (See gif below)

imageSearchResults

ch-sander commented 2 years ago

Yes, that looks cool! Maybe one could even hide the internal ID. It's to long to remember and cannot be copied to clipboard in the popover anyway.

ch-sander commented 2 years ago

And maybe grouping the images by work would (e.g., as sub-headers with forces line break) make the grid even more user friendly.

jeffreycwitt commented 2 years ago

Yeah we have that issue open in issue #119. I don't think the sort will be too hard. Sub-headers might be possible but a little more involved.