{ "id": "115913", "key": "ALOY-709", "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": "15572", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "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-08-02T17:20:29.000+0000", "created": "2013-06-13T22:18:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "29604", "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": "29584", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "115878", "key": "ALOY-706", "fields": { "summary": "Store \"classes\" and \"apiName\" on Alloy-created proxies", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-06T19:35:35.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": "Adding \"classes\" and \"apiName\" imposes overhead on the creation of Titanium UI components, as detailed in ALOY-706. \"apiName\" will eventually be solved by the tickets resulting from TIMOB-12553, but \"classes\" will continue to pose a performance issue until we have the core runtime. The use of dynamic styling may not be desirable for all developers and they should not be forced to incur those performance costs. We need to make dynamic styling optional at a project-level in the config.json and perhaps investigate allowing it to be used on a per-component level.\r\n\r\nThe new {{autoStyle}} option can be set to either {{true}} or {{false}}.\r\n\r\nh4. project-level\r\n\r\nThis will add auto styling for all markup components. If {{autoStyle}} is not specified, it is {{false}} by default.\r\n\r\nh6. config.json\r\n{code:javascript}\r\n{\r\n autoStyle: true\r\n}\r\n{code}\r\n\r\nh4. controller-level\r\n\r\nAll components within this controller would be auto styled. Overrides project-level option.\r\n\r\n{code:xml}\r\n\r\n \r\n\r\n{code}\r\n\r\nh4. component-level\r\n\r\nThe specific component with {{autoStyle}} would be automatically styled. This overrides both project and controller level options.\r\n\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Add ability to disable auto adding \"classes\" and \"apiName\" properties", "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": "258007", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/156\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-709\r\n\r\nFunctional test can pass if the app can be run on all supported platforms and the automated runtime unit tests all pass. This must be confirmed under three separate app conditions for each platform.\r\n\r\n# Once with {{autoStyle:true}} in the config.json\r\n# Once with {{autoStyle:false}} in the config.json\r\n# Once with no entry for {{autoStyle}} in the config.json", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-14T21:51:10.000+0000", "updated": "2013-06-14T21:51:10.000+0000" }, { "id": "264682", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/208\r\n\r\nIt was just a poorly written unit test. The functionality is operating fine. The unit test has been fixed. You can confirm by executing the original test steps. The fixed version is available in alloy 1.2.0-alpha4 on npm.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-02T17:20:29.000+0000", "updated": "2013-08-02T17:20:29.000+0000" }, { "id": "265170", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified working as expected and all unit tests are passing (all OS).\n\nTitanium SDK 3.1.2.v20130806034554\nAlloy 1.2.0-alpha6\nAppcelerator Studio 3.1.2.201308021524\nCLI 3.1.1\nNode 0.10.13\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-06T19:34:38.000+0000", "updated": "2013-08-06T19:34:38.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }