{ "id": "115714", "key": "ALOY-696", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" }, { "id": "15489", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-11T00:23:46.000+0000", "created": "2013-06-08T15:02:37.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "29536", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "112534", "key": "ALOY-613", "fields": { "summary": "Develop API for adding/removing style classes", "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": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "29447", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "115689", "key": "ALOY-695", "fields": { "summary": "Create controller-specific version of Alloy.UI.create() that doesn't require controller name", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-07-30T21:15:22.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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" }, { "id": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" } ], "description": "The Alloy.UI.create() and $.UI.create() functions allow you to create styled Titanium proxy objects within controllers. The current pathing though, does not account for widget paths. The controller's __path variable needs to reflect the full module path to the widget's controllers for it to work correctly.\r\n\r\nAlloy should support the following functions for both standard controllers and widgets:\r\n\r\n* Alloy.createStyle(controller, opts)\r\n* $.createStyle(opts)\r\n* Alloy.UI.create(controller, apiName, opts)\r\n* $.UI.create(apiName, opts)", "attachment": [], "flagged": false, "summary": "Support for Alloy.UI.create() and $.UI.create() in widgets", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "257075", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/152\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-696\r\n\r\nFunctional test can be considered passed if you can run the app on all supported platforms and execute the following steps successfully:\r\n \r\n* click on the main window\r\n* You should see 8 new labels appear in the scrollview. The first 4 show the 4 functions mentioned in the description being used by the controller (white text on red background). The next 4 labels show those 4 functions being used within a widget (yellow text on black background). \r\n* You should be able to click again and see more of the same labels in the scrollview.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-11T00:23:46.000+0000", "updated": "2013-06-11T00:23:46.000+0000" }, { "id": "264018", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as working as expected on iOS, Android and Mobileweb.\n\nTitanium SDK 3.1.2.v20130726192706\nAlloy 1.2.0-alpha\nAppcelerator Studio 3.1.2.201307261628\nCLI 3.1.2\nNode 0.8.22\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-30T21:15:05.000+0000", "updated": "2013-07-30T21:15:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }