Page MenuHomePhabricator

When results contain both images & coords, GUI should allow both map & image grid
Closed, ResolvedPublic

Description

When results contain both images and coordinates, GUI should enable selecting either image grid or map.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The algorithm used for detecting availability is currently only examining the first row.
We could increase the number of rows being examined, but I think we should always make the link clickable.

BTW: I was thinking about having 'magic' SPARQL comments that change the default selected view.

We process the result anyway for display, right? Can't we use that to also figure out if there are any coords or images there?

The result is only being fully processed when rendered. We could create some feedback loop from the table result browser to the app, but I am right now not sure how we could do this in a clean way.

I think we might want to disable the magic detection for now.

Change 276081 had a related patch set uploaded (by Smalyshev):
Allow to hook up to display values while displaying them in table.

https://gerrit.wikimedia.org/r/276081

Smalyshev triaged this task as Medium priority.Mar 9 2016, 1:56 AM

Change 276081 merged by jenkins-bot:
Allow to hook up to display values while displaying them in table.

https://gerrit.wikimedia.org/r/276081