Page MenuHomePhabricator

Query Builder doesn't show labels when following a 'sharable link'
Closed, ResolvedPublic5 Estimated Story PointsBUG REPORT

Description

Main components:

  • Query Builder

User story:
As a Query Builder user, when following a sharable link to a visual query, I want to see it with Property and Value labels in order to help me understand the query more easily.

Problem:
When following a sharable link to a visual query, it displays with Property id's (P##) and value id's (Q##) instead of their resp, labels (see screenshot).

Screenshots:

image.png (449×1 px, 38 KB)

Steps to reproduce:

  • Create a visual query and run the query
  • Click on the 'Get a sharable link' button
  • Paste this link on a new window

BDD:
GIVEN a sharable link to a visual query
WHEN the link is followed
THEN the visual query displays with Property and Value labels

Acceptance criteria:

  • Following a sharable link the visual query displays with Property and Value labels (like 'instance of' and 'war' in the example given).

Event Timeline

Lydia_Pintscher renamed this task from The results using 'sharable link' show ID's to The results using 'sharable link' show IDs instead of labels.Aug 22 2021, 11:35 AM
Lydia_Pintscher triaged this task as High priority.
Lydia_Pintscher added a subscriber: Lydia_Pintscher.
Manuel renamed this task from The results using 'sharable link' show IDs instead of labels to Query Builder doesn't show labels when following a 'sharable link' .Tue, Aug 31, 7:05 AM
Manuel updated the task description. (Show Details)
Addshore set the point value for this task to 5.Wed, Sep 15, 10:23 AM

Change 721504 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[wikidata/query-builder@master] WIP: Load labels after restoring state from URL

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

Change 721504 merged by jenkins-bot:

[wikidata/query-builder@master] Load labels after restoring state from URL

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