CDRH / sparc

Salmon Pueblo Archaeological Research Collection (SPARC) Rails Site
https://salmonpueblo.org/
0 stars 0 forks source link

preview on map page? #31

Closed jduss4 closed 5 years ago

jduss4 commented 7 years ago

When clicking a zone on a map, should there be a small popup (or modal?) with some preview information so that the user can determine whether they want to continue to the zone browse page, or click another room of the map? Design a proof-of-concept to see if this would aid or hinder users

ccheitman commented 7 years ago

I like the idea of the small popup or modal so the user can get a quick sense of wether they want to dive deeper into that context.

karindalziel commented 7 years ago

What if this was on hover instead of click to display? I think trying different things will be essential.

jduss4 commented 6 years ago

What kind of information would we want to display about each zone? It would probably need to be pretty brief, in order to keep from gumming up the UI. Zones have easy access to stuff like how many images, or how many documents, plus how many units, so perhaps we should start there? We could also probably pull the media maps from each unit in the zone, and display one or two of those in thumbnail form or something?

techgique commented 6 years ago

Suggested another possibility of a small info box with occupation, room count, and/or excavation text that appears in lower-left as one hovers over a zone link, similar to how the URL shows in the lower-left of one's browser when hovering over a link.

jduss4 commented 6 years ago

@ccheitman okay with links going straight to new tab by default, will see if this needs to be rethought after some user testing

techgique commented 6 years ago

Just be careful to use target="_blank" as the attribute if writing directly in HTML markup. I don't recall where, but I think I've seen markup in some CDRH projects with target="_new" or similar which isn't quite right. Using a non-standard name like that will cause multiple links from the same page to open in the same separate tab instead of all new tabs for each link. And then you'll end up with users asking why clicking the link doesn't open a new tab or anything because it's just changing the page in the last tab they opened with a target of _new in the background. :+1:

jduss4 commented 6 years ago

@techgique target="_blank" is the syntax that we have been using so far, no worries:
https://github.com/CDRH/sparc/blob/a929586e5d12c322a8eaa15fcda1c78176679912/app/views/static/descendants.html.erb#L13

karindalziel commented 6 years ago

I'm not sure if this conversation still needs to exist, but I am moving to v2 now