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
F16391950: D16776.diff
Mon, Jun 16, 12:45 AM
Unknown Object (File)
Thu, May 29, 8:43 AM
Unknown Object (File)
May 11 2025, 6:20 AM
Unknown Object (File)
Apr 12 2025, 8:54 PM
Unknown Object (File)
Apr 9 2025, 12:34 AM
Unknown Object (File)
Apr 5 2025, 9:04 AM
Unknown Object (File)
Apr 4 2025, 5:31 AM
Unknown Object (File)
Apr 2 2025, 2:50 AM
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
Branch
calendar3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14294
Build 18597: Run Core Tests
Build 18596: arc lint + arc unit

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.