{ "id": "171681", "key": "TIMOB-26060", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-11-15T07:49:49.000+0000", "created": "2018-05-21T11:43:58.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [ { "id": "56547", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "167122", "key": "TIMOB-24582", "fields": { "summary": "Android: Navigation parity for a cross-platform Ti.UI.NavigationWindow", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "56610", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "171787", "key": "ALOY-1621", "fields": { "summary": "Move NavigationWindow API from Ti.UI.iOS to Ti.UI (parity)", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "56972", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172550", "key": "TIMOB-26515", "fields": { "summary": "Ti.UI.iOS.NavigationWindow marked as deprecated, but Android missing (7.5.0+)", "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": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "56606", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "170384", "key": "TIMOB-25537", "fields": { "summary": "Windows: Navigation parity for a cross-platform Ti.UI.NavigationWindow", "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": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-11-16T11:44:46.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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "On iOS, we have the {{Ti.UI.iOS.NavigationWindow}} to handle a stack of windows that can be opened and closed. Unfortunately, on Android and Windows, we have to do that manually and it required the (Alloy) developer to either write custom (per platform) logic or use plugins like [xp.ui|https://github.com/FokkeZB/UTiL/blob/master/app/lib/xp.ui.js].\r\n\r\nProposed API-changes:\r\n* iOS: Deprecate {{Ti.UI.iOS.NavigationWindow}} in favor of {{Ti.UI.NavigationWindow}}\r\n* Android / Windows: Support NavigationWindow, add the native [back button|https://developer.android.com/training/implementing-navigation/temporal.html]\r\n* Android / Windows: Expose the {{openWindow}}, {{closeWindow}} and {{popToRootWindow}} if possible\r\n* Adjust Alloy to make the {{}} tag available for all platforms\r\n\r\nThis should be done in the Release 7.4.0 timeframe and is a fundamental cross-platform parity improvement.", "attachment": [], "flagged": false, "summary": "iOS: Move iOS-only Ti.UI.iOS.NavigationWindow to cross-platform Ti.UI.NavigationWindow", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "437809", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/10068\r\n\r\nTest-case:\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar newNavWindow = Ti.UI.createNavigationWindow({\r\n window: win\r\n})\r\n\r\nTi.API.warn('API (new) = ' + newNavWindow.apiName);\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'Open Modal Window'\r\n});\r\n\r\nbtn.addEventListener('click', function() {\r\n var button = Ti.UI.createButton({\r\n title: 'Close'\r\n });\r\n var modalWindow = Ti.UI.createWindow({\r\n title: 'Modal Window',\r\n backgroundColor: 'red',\r\n rightNavButton: button\r\n });\r\n var oldNavWindow = Ti.UI.iOS.createNavigationWindow({\r\n window: modalWindow\r\n });\r\n\r\n Ti.API.warn('API (old) = ' + oldNavWindow.apiName);\r\n\r\n button.addEventListener('click', function() {\r\n oldNavWindow.close();\r\n });\r\n oldNavWindow.open({\r\n modal: true\r\n });\r\n});\r\n\r\nwin.add(btn);\r\nnewNavWindow.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-05-21T12:15:11.000+0000", "updated": "2018-05-21T12:15:11.000+0000" }, { "id": "442171", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "FR passed.PR merged", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-09-28T19:07:19.000+0000", "updated": "2018-10-04T17:21:12.000+0000" }, { "id": "442303", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix on SDK 7.5.0.v20181004095510. Works fine. Closing.\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Architecture = 64bit\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version =7.5.0.v20181004095510\r\nDevice\t\t\t = iPhone xs max -ios 12 \r\n\t\t\t\t\tiPhone 6 -ios 11 simulator\r\n{code}", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-10-04T17:56:44.000+0000", "updated": "2018-10-04T17:56:44.000+0000" }, { "id": "443398", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/10439", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-08T04:02:12.000+0000", "updated": "2018-11-08T04:02:12.000+0000" }, { "id": "443686", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket.* Verified fix in SDK Version {{8.0.0.v20181114074027}}.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-16T11:44:28.000+0000", "updated": "2018-11-16T11:44:37.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }