{ "id": "176049", "key": "TIMOB-28353", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-03-05T15:56:43.000+0000", "created": "2021-02-13T03:17:12.000+0000", "epic": { "id": 175923, "key": "TIMOB-28298", "name": "Android: Material widget support", "summary": "Android: Material widget support", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Medium", "id": "3" }, "labels": [ "DatePicker", "android", "breaking-change", "dialog", "material-theme", "picker" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-03-05T15:56:43.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nWe should replace our usage of the native Java [DatePickerDialog|https://developer.android.com/reference/android/app/DatePickerDialog] and [TimePickerDialog|https://developer.android.com/reference/android/app/TimePickerDialog] with the material [MaterialDatePicker|https://developer.android.com/reference/com/google/android/material/datepicker/MaterialDatePicker] and [MaterialTimePicker|https://developer.android.com/reference/com/google/android/material/timepicker/MaterialTimePicker] respectively.\r\nhttps://material.io/components/date-pickers\r\nhttps://material.io/components/time-pickers\r\n\r\nThis effects the following Titanium APIs:\r\n* [Ti.UI.Picker.showDatePickerDialog()|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Picker-method-showDatePickerDialog]\r\n* [Ti.UI.Picker.showTimePickerDialog()|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Picker-method-showTimePickerDialog]\r\n\r\n*Date Dialog Test:*\r\nThe date dialog can be tested with the [^DateDialogTest.js], which will display what's shown below.\r\n !DateDialog-Android-Light.png|thumbnail! !DateDialog-Android-Dark.png|thumbnail! \r\n\r\n*Time Dialog Test:*\r\nThe time dialog can be tested with the [^TimeDialogTest.js], which will display what's shown below.\r\n !TimeDialog-Android-Light.png|thumbnail! !TimeDialog-Android-Dark.png|thumbnail! \r\n\r\n*Breaking-Change:*\r\nThe app must use a \"Theme.MaterialComponents\" based theme or else an exception will occur. So, app's using a custom theme based from \"Theme.AppCompat\" or similar will crash. This is normal and the exception will state that the theme will need to change.\r\n\r\n\r\n", "attachment": [ { "id": "67813", "filename": "DateDialog-Android-Dark.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-23T02:56:47.000+0000", "size": 456185, "mimeType": "image/png" }, { "id": "67814", "filename": "DateDialog-Android-Light.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-23T02:56:47.000+0000", "size": 461739, "mimeType": "image/png" }, { "id": "67812", "filename": "DateDialogTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-23T02:56:25.000+0000", "size": 918, "mimeType": "application/x-javascript" }, { "id": "67815", "filename": "TimeDialog-Android-Dark.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-23T03:01:03.000+0000", "size": 452494, "mimeType": "image/png" }, { "id": "67816", "filename": "TimeDialog-Android-Light.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-23T03:01:06.000+0000", "size": 460698, "mimeType": "image/png" }, { "id": "67817", "filename": "TimeDialogTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-23T03:01:35.000+0000", "size": 624, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Update Date/Time picker dialogs to use material theme", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "458240", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/12353", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-13T03:40:24.000+0000", "updated": "2021-02-13T03:40:24.000+0000" }, { "id": "458318", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-02T00:20:20.000+0000", "updated": "2021-03-02T00:20:20.000+0000" }, { "id": "458344", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master and 10_0_X for 10.0.0 release target.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-03-05T15:56:40.000+0000", "updated": "2021-03-05T15:56:40.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }