Page MenuHomePhabricator

Make the "All Day Event" control use a checkbox instead of a dropdown
ClosedPublic

Authored by epriestley on Oct 31 2016, 6:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 9, 1:28 AM
Unknown Object (File)
Sat, Dec 7, 5:25 PM
Unknown Object (File)
Fri, Dec 6, 12:43 PM
Unknown Object (File)
Fri, Dec 6, 2:15 AM
Unknown Object (File)
Tue, Dec 3, 12:17 AM
Unknown Object (File)
Mon, Dec 2, 5:00 PM
Unknown Object (File)
Thu, Nov 28, 11:45 PM
Unknown Object (File)
Thu, Nov 28, 3:44 PM
Subscribers
None

Details

Summary

This feels a little cleaner:

  • Clean up transaction log a bit.
  • Use a checkbox instead of a two-option dropdown.

This is a little messy because the browser doesn't send anything if the user submits a form with an un-clicked checkbox.

We now send a dummy value ("Hey, there's definitely a checkbox in this form!") so the server can figure out what to do.

Test Plan
  • Edited all-dayness of an event.
  • Viewed transaction log.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Make the "All Day Event" control use a checkbox instead of a dropdown.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Oct 31 2016, 7:20 PM
This revision was automatically updated to reflect the committed changes.