Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
mw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date | mediawiki/core | master | +85 -5 |
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | dchen | T118706 Conduct heuristic evaluation of image upload and insert flow in VisualEditor | |||
Open | None | T115858 Design improvements for mw.ForeignStructuredUpload.BookletLayout | |||
Resolved | • Prtksxna | T115863 mw.ForeignStructuredUpload.BookletLayout's DateInputWidget should have better default value |
Event Timeline
M53 has some ideas which I've never gotten 'round to implementing (and, to be honest, which I didn't really like).
I too think that it is slightly out of place. If we are providing today, we might as well add tomorrow and yesterday, and that sort of beats the point of the calendar widget and makes it cluttered too.
In the context of improving mw.ForeignStructuredUpload.BookletLayout we could use the lastModifiedDate of the file to pre-fill this field: https://gerrit.wikimedia.org/r/247513
@Pginer-WMF, does that sound like a better idea?
That is definitely a good idea. In essence my proposal was about facilitate the date input by surfacing likely values more. We may still want to facilitate things when that information is missing or may be wrong, but that may be less critical if it is more of an edge case.
Jut to clarify, the idea of facilitating the selection of today as a usual value does not necessarily require adding more controls as the ticket description suggests. Some possible ideas include to select the present day as the user focus on the control, or using a link as a quick action in the placeholder ("Select today or another date").
Change 247513 had a related patch set uploaded (by Prtksxna):
mw.ForeignStructuredUpload.BookletLayout: Use lastModified as default date
Change 247513 merged by jenkins-bot:
mw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date