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
F15493027: D16776.id40404.diff
Sat, Apr 12, 8:54 PM
F15481915: D16776.id40412.diff
Wed, Apr 9, 12:34 AM
F15471892: D16776.id.diff
Sat, Apr 5, 9:04 AM
F15468769: D16776.diff
Fri, Apr 4, 5:31 AM
F15463746: D16776.id.diff
Wed, Apr 2, 2:50 AM
F15438904: D16776.id40404.diff
Wed, Mar 26, 4:31 AM
F15412687: D16776.diff
Mar 19 2025, 2:22 PM
F15402664: D16776.id40404.diff
Mar 17 2025, 11:37 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
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.