Page MenuHomePhabricator

Where QuickSurveys are located should be improved
Open, LowPublic

Description

Problems with existing implementation

whitespace


On various pages the survey can lead to a bad use of whitespace.

consistency

Survey positioning is inconsistent across pages. Sometimes it's above the ToC (https://en.wikipedia.org/wiki/United_States_Air_Force?quicksurvey=true), sometimes it's below (https://en.wikipedia.org/wiki/List_of_closed_railway_stations_in_Britain:_S), and sometimes you don't even notice it exists because the page takes too long to load (https://en.wikipedia.org/wiki/Barack_Obama?quicksurvey=true).

We should have a more consistent location for the survey.

JS dependency

Determine if it should really load after all content is loaded or not, given that many people appear to be scrolling down before it's been loaded. (A floating survey that scrolls with you could be one solution to this.)

Event Timeline

Jdlrobson raised the priority of this task from to Low.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added projects: Design, QuickSurveys.
Jdlrobson added a subscriber: Jdlrobson.
Jdlrobson renamed this task from Quicksurveys that are placed in pages with no lead sections exercise too much whitespace to Where QuickSurveys are located should be improved.Jun 28 2017, 9:11 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson added subscribers: jhobs, StudiesWorld.

Another issue I have encountered is the survey ends up in the div mw-content-text > div mw-parser-output. It should be out of that content text.

The use case is creating a dummy page and asserting the page content matches what has been filled. The content is different due to the insertion of the QuickSurvey HTML.

A floating survey that scrolls with you could be one solution to this.

Oh god no.

I thought developers might be able to come up with better solutions when I reported T269025, not worse..

So I guess you do need my opinion despite me not being a web designer or WMF employee. Well, the most obvious solution is.. not doing a survey. But I guess WMF won't take no for an answer here.. So the next most obvious solution is a top banner. See the CentralNotice here?


You could put it there. But possibly more important: there has to be a way to get rid of it. As my expertise appears to be required:

  • Place an "X" labeled tiny button in the top right corner. Many users are familiar with this.
  • In addition to that, if a user selects "No thanks", the survey should disappear, if not immediately, after a few seconds.
  • Make sure a cookie is placed to remember that a user has participated in or rejected a survey (it doesn't matter whether they participated or rejected) and don't display the same survey again.