Closed oneEyedSunday closed 5 years ago
I've left the setting of window.username till when the form is submitted. i.e. a search performed.
Good idea. But maybe we should also leave the setting of the date to after the search. 🤔
Thing is, without that, if i share you a link to my tweets on a day. You'd just come to the page without the day I shared you being prefilled. I feel it goes against the idempotent
nature we are going for.
@shalvah so I've fixes the issue with the globals. I think you should raise an issue about the hash and inconsistent use of ?
v &
for the query params. So this PR doesn't get unnecessarily bulky.
@shalvah so I've fixed the inconsistencies with the query params which you can see clearly in this commit here
Thanks
Fixes 27. One caveat though, I've left the setting of
window.username
till when the form is submitted. i.e.a search performed
.