RESOLVED FIXED 224794
[iOS][FCR] Update date/time picker appearance
https://bugs.webkit.org/show_bug.cgi?id=224794
Summary [iOS][FCR] Update date/time picker appearance
Aditya Keerthi
Reported 2021-04-19 18:44:30 PDT
...
Attachments
Patch (42.24 KB, patch)
2021-04-19 18:53 PDT, Aditya Keerthi
ews-feeder: commit-queue-
Patch (42.54 KB, patch)
2021-04-19 19:14 PDT, Aditya Keerthi
wenson_hsieh: review+
Patch for landing (42.46 KB, patch)
2021-04-20 14:52 PDT, Aditya Keerthi
no flags
Aditya Keerthi
Comment 1 2021-04-19 18:44:48 PDT
Aditya Keerthi
Comment 2 2021-04-19 18:53:39 PDT
Aditya Keerthi
Comment 3 2021-04-19 19:14:13 PDT
Wenson Hsieh
Comment 4 2021-04-20 14:25:59 PDT
Comment on attachment 426508 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426508&action=review > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:8382 > + RetainPtr<UITargetedPreview> targetedPreview = createFallbackTargetedPreview(self, self.containerForContextMenuHintPreviews, _focusedElementInformation.interactionRect, backgroundColor); Nit - `auto`. > Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:71 > +- (instancetype)initWithDelegate:(id<WKDateTimePickerViewControllerDelegate>)delegate Nit - space between `id` and `<`. (AFAIK, the rule we typically follow is space before protocols, but no space before concrete types like in `NSArray<Foo *> *`). > Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:94 > + RetainPtr<UIVisualEffectView> backgroundView = adoptNS([[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleSystemMaterial]]); Nit - `auto` > Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:110 > + RetainPtr<UIView> toolbarView = adoptNS([[UIView alloc] init]); Nit - `auto` > Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:121 > + RetainPtr<UIView> separatorView = adoptNS([[UIView alloc] init]); (Ditto) > Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:524 > + [_view updateFocusedElementValueAsNumber:([date timeIntervalSince1970] + [self _timeZoneOffsetFromGMT:date]) * kMillisecondsPerSecond]; Nit - `date.timeIntervalSince1970`
Aditya Keerthi
Comment 5 2021-04-20 14:52:08 PDT
Created attachment 426597 [details] Patch for landing
EWS
Comment 6 2021-04-20 15:45:22 PDT
Committed r276325 (236805@main): <https://commits.webkit.org/236805@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 426597 [details].
Note You need to log in before you can comment on or make changes to this bug.