Page MenuHomePhabricator

Auto-setting start date can throw off queries
Closed, InvalidPublic

Description

Let's say that I want to look at EvergreenFir's interactions with two different users, Noomah and Zzyzx11. First I enter EvergreenFir and Noomah as the users and enter en.wikipedia as the wiki. It shows me that these two users have never interacted. Next I dismiss Noomah and add Zzyzx11 in the user field. It shows me that these two users also had no interactions, except that's not actually true. EvergreenFir and Zzyzx11 have had lots of interactions, but because the first query automatically set my query start date to 2018-03-14, it isn't finding them. If I was paying attention and noticed this, I can manually fix the start date, but since I didn't interact with the start date field at all, it's unlikely that I would notice there's anything wrong and would just assume that EvergreenFir had never interacted with either user.

One possible solution would be to reset the start date every time a user is added or removed, but this would interfere with the use case of someone wanting to examine interactions with multiple people within a particular span of time.

My suggested solution would be to not automatically set the start date in the UI.

Event Timeline

See T189847 for why this was done. We could reset the start date, but it would reset to the same default value, which would be pointless.

So doing this task would be reverting T189847.

@dbarratt: Ah, I didn't realize that was what was going on! Nevermind! I thought it was picking the start date based on the first set of users.

If y'all ever want to revisit the date picking, you should consider stealing the date picking interface from https://tools.wmflabs.org/pageviews. Sorry I didn't mention that earlier :P