RESOLVED FIXED Bug 214195
Add OK button to Date/Time form controls.
https://bugs.webkit.org/show_bug.cgi?id=214195
Summary Add OK button to Date/Time form controls.
Megan Gardner
Reported 2020-07-10 12:36:04 PDT
Add OK button to Date/Time form controls.
Attachments
Patch (8.02 KB, patch)
2020-07-10 16:19 PDT, Megan Gardner
no flags
Patch (8.09 KB, patch)
2020-07-10 16:24 PDT, Megan Gardner
no flags
Patch (8.69 KB, patch)
2020-07-13 15:36 PDT, Megan Gardner
no flags
Patch for landing (8.81 KB, patch)
2020-07-17 17:56 PDT, Megan Gardner
no flags
Patch for landing (8.76 KB, patch)
2020-07-17 18:45 PDT, Megan Gardner
no flags
Patch (8.77 KB, patch)
2020-07-20 13:49 PDT, Megan Gardner
no flags
Patch for landing (8.77 KB, patch)
2020-07-20 15:52 PDT, Megan Gardner
no flags
Megan Gardner
Comment 1 2020-07-10 16:19:45 PDT
Megan Gardner
Comment 2 2020-07-10 16:22:02 PDT
Megan Gardner
Comment 3 2020-07-10 16:24:11 PDT
Sam Weinig
Comment 4 2020-07-10 16:24:31 PDT
Comment on attachment 404017 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404017&action=review > Source/WebKit/ChangeLog:10 > + Add 'OK' button to add clarity to UI, and increase the default size of the control to > + ensure space for both buttons. Also fixed a crash that happened when closing the control before > + the animation completed. Please add tests for all these things.
Megan Gardner
Comment 5 2020-07-13 15:36:56 PDT
Darin Adler
Comment 6 2020-07-13 15:55:08 PDT
Comment on attachment 404188 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404188&action=review > Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:86 > + auto size = [view systemLayoutSizeFittingSize:UILayoutFittingCompressedSize]; Extra space after "=" here. > Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:88 > + if (size.width < 250) > + size.width = 250; std::max might be a nicer way to write this.
Megan Gardner
Comment 7 2020-07-17 17:56:39 PDT
Created attachment 404626 [details] Patch for landing
Megan Gardner
Comment 8 2020-07-17 18:45:31 PDT
Created attachment 404627 [details] Patch for landing
EWS
Comment 9 2020-07-17 19:07:05 PDT
Committed r264563: <https://trac.webkit.org/changeset/264563> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404627 [details].
Aakash Jain
Comment 10 2020-07-18 05:16:33 PDT
> Committed r264563: <https://trac.webkit.org/changeset/264563> This broke the watchOS build. See Bug 214517. The latest patch wasn't run through the EWS. Please make sure to run the patches through EWS before landing. Commit-queue only builds and tests for macOS.
Yusuke Suzuki
Comment 11 2020-07-18 05:20:20 PDT
Re-opened since this is blocked by bug 214518
Megan Gardner
Comment 12 2020-07-20 13:49:02 PDT
Megan Gardner
Comment 13 2020-07-20 15:52:40 PDT
Created attachment 404772 [details] Patch for landing
EWS
Comment 14 2020-07-20 16:48:45 PDT
Committed r264637: <https://trac.webkit.org/changeset/264637> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404772 [details].
Note You need to log in before you can comment on or make changes to this bug.