Page MenuHomePhabricator

Query Builder top banner
Closed, ResolvedPublic

Description

Main components:

  • Query Builder

Goal:
We want to show a notification banner to make people aware of the Query Builder.

Mockups:
Main banner

1.0 - Message Notice on Query Service.png (969×1 px, 42 KB)

Copy
Main Banner: "Do you need help creating a query? You can build queries without having to write SPARQL in the new Query Builder."

BDD
GIVEN a user opening the Query Service
WHEN the user is viewing the main page
THEN a banner informing about the new Query Builder will be visible on top
AND it can be closed by clicking on the ‘X’ icon

Acceptance criteria:

Notes:

  • We've done similar things in the past to recruit users for a survey. Might be worth looking at that code again.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Lydia_Pintscher changed the task status from Open to Stalled.Apr 29 2021, 7:15 AM

\o/
Good from my side. I'm keeping this open until we can properly deploy it to production.

Change 681788 had a related patch set uploaded (by Adamham; author: Adamham):

[wikidata/query/gui@master] Add a banner to link to the Query Builder

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

Should this appear on all installations of the query service UI, or only on query.wikidata.org? I feel like it should be specific to WDQS, but the current Gerrit change doesn’t make that configurable.

Should this appear on all installations of the query service UI, or only on query.wikidata.org? I feel like it should be specific to WDQS, but the current Gerrit change doesn’t make that configurable.

Good point, yes! We probably should restrict it to query.wikidata.org or have a setting to turn it on and then turn it on for query.wikidata.org.

Ok no problem will add that in. Any updates on the live url? 😇

No unfortunately still stuck in security review.

Reopening because the attached change hasn’t even been merged yet. (The query builder URL is finalized now.)

We can probably wait a bit with this one in favor of the query service survey by the WMF. I think the survey is more time-sensitive to show to users.

I see you are all way ahead of me already :D Ignore me then.

Change 719618 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[wikidata/query/gui@master] Add query builder banner

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

Is this banner (and the one from T280229) going to be removed again at some point?

This one yes. Let's say in 6 months from now?
The one in T280229 should stay.

Change 719618 merged by jenkins-bot:

[wikidata/query/gui@master] Add query builder banner

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

Change 681788 abandoned by Lucas Werkmeister (WMDE):

[wikidata/query/gui@master] Add a banner to link to the Query Builder

Reason:

this was done in the meantime (see the linked tasks)

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