Page MenuHomePhabricator

Bug report: Missing number of hits in resultset when displaying a Map
Closed, ResolvedPublic


User case: When looking at a WDQS generated map the number of hits helps getting an understanding of the dataset displayed

Background: Before latest upgrade of WDQS with the new toolbars last week I am 99% sure that you could minimize the small "overview map" and see the number of hits in the result set.

image.png (692×1 px, 1017 KB)

This functionality is now gone ==> that you as an user looking at the map view you need to change to the query view and rerun the question.....


image.png (381×886 px, 53 KB)

Event Timeline

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

Yes, it was removed when introducing the toolbar, but we can easily add it again.
Where would you like it to be shown?

@Jonas hm User Interface Design is not on my list of skills.....

Do what is easy and not "destroy" current design...

  • WIth the new design maybe as part of the left or right vertical bar
  • Or a mouse over the overview map
  • or .....

Change 452929 had a related patch set uploaded (by Jonas Kress (WMDE); owner: Jonas Kress (WMDE)):
[wikidata/query/gui@master] Add query totals to right toolbar

I added it to the right toolbar.

image.png (550×277 px, 24 KB)

Thanks let me know if I should test something.....

Change 452929 merged by jenkins-bot:
[wikidata/query/gui@master] Add query totals to right toolbar

Change 452967 had a related patch set uploaded (by WDQSGuiBuilder; owner: WDQSGuiBuilder):
[wikidata/query/gui-deploy@production] Merging from f589fe44c27a10e1d071fe056472c1297258c318:

Change 452967 merged by Smalyshev:
[wikidata/query/gui-deploy@production] Merging from f589fe44c27a10e1d071fe056472c1297258c318:

What is the exact problem?
Do you maybe have a screenshot?

(Small map can be collapsed)

image.png (412×455 px, 211 KB)

At the moment toolbars are always behind the map controls.
If this is a problem I could create a new ticket for that.

image.png (355×253 px, 83 KB)

image.png (379×226 px, 62 KB)

Yeah that's the problem. For me there is no arrow inside the small map. It isn't visible that it can be minimized.

Its difficult to find but excellent its there is my opinion....

the case with 0 result I think should be better taken care of

Example table view with 0 result

image.png (218×1 px, 20 KB)

Example map view with 0 result

image.png (303×1 px, 30 KB)