{ "id": "176048", "key": "TIMOB-28351", "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:50.000+0000", "created": "2021-02-12T02:53:08.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": [ "ActivityIndicator", "ProgressIndicator", "android", "breaking-change", "material-theme", "progressbar" ], "versions": [], "issuelinks": [ { "id": "59241", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "165703", "key": "TIMOB-24365", "fields": { "summary": "Android: Ti.UI.ActivityIndicator \"indicatorColor\" not working", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "59203", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "175929", "key": "TIMOB-28367", "fields": { "summary": "TiAPI: Ti.UI.ProgressBar should smoothly animate value changes", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-03-11T02:19:44.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 [ProgressBar|https://developer.android.com/reference/android/widget/ProgressBar] with the material [LinearProgressIndicator|https://developer.android.com/reference/com/google/android/material/progressindicator/LinearProgressIndicator] and [CircularProgressIndicator|https://developer.android.com/reference/com/google/android/material/progressindicator/CircularProgressIndicator] classes.\r\n\r\nThis effects the following Titanium APIs:\r\n* [Ti.UI.ActivityIndicator|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ActivityIndicator]\r\n* [Ti.UI.ProgressBar|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ProgressBar]\r\n\r\n*Note:*\r\nThe material progress indicators are colored and sized differently compared to the older widgets.\r\nhttps://material.io/components/progress-indicators#linear-progress-indicators\r\n\r\n*Activity Indicator Test:*\r\nThis can be tested with the attached [^ActivityIndicatorTest.js], which will display what's shown below.\r\n !ActivityIndicator-Android-Light.png|thumbnail! !ActivityIndicator-Android-Dark.png|thumbnail! \r\n\r\n*Progress Bar Test:*\r\nThis can be tested with the attached [^ProgressBarTest.js], which will display what's shown below.\r\n !ProgressBar-Android-Light.png|thumbnail! !ProgressBar-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": "67819", "filename": "ActivityIndicator-Android-Dark.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-24T02:38:49.000+0000", "size": 416722, "mimeType": "image/png" }, { "id": "67820", "filename": "ActivityIndicator-Android-Light.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-24T02:38:47.000+0000", "size": 418830, "mimeType": "image/png" }, { "id": "67818", "filename": "ActivityIndicatorTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-24T02:33:55.000+0000", "size": 763, "mimeType": "application/x-javascript" }, { "id": "67822", "filename": "ProgressBar-Android-Dark.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-24T03:42:58.000+0000", "size": 412150, "mimeType": "image/png" }, { "id": "67823", "filename": "ProgressBar-Android-Light.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-24T03:42:59.000+0000", "size": 413526, "mimeType": "image/png" }, { "id": "67821", "filename": "ProgressBarTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-24T03:41:17.000+0000", "size": 787, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Update ProgressBars/ActivityIndicators 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": "458224", "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-12T03:50:00.000+0000", "updated": "2021-02-13T03:21:56.000+0000" }, { "id": "458325", "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-02T19:28:19.000+0000", "updated": "2021-03-02T19:28:19.000+0000" }, { "id": "458345", "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:48.000+0000", "updated": "2021-03-05T15:56:48.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }