{ "id": "112533", "key": "ALOY-612", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "99986", "key": "ALOY-210", "fields": { "summary": "Support Dynamic Styling", "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": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15488", "description": "2013 Sprint 11", "name": "2013 Sprint 11", "archived": true, "released": true, "releaseDate": "2013-06-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-24T19:32:29.000+0000", "created": "2013-04-08T20:48:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "notable", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "28089", "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 } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-23T19:44:26.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": "Right now styles are only available at compile time. We need to make the styles available at runtime so that they can be manipulated due to user interactions or other runtime information. This will involve converting some of the most complex code in alloy's node.js code into Titanium compatible code. Fortunately most of it should be pure JS, but undoubtedly this will take some time.\r\n\r\nThe generated, ordered style arrays created during the alloy compile phase should be made available in runtime modules. The modules should simply make these ordered arrays available at runtime and a separate API will be used to operate on them in order to do runtime styling of UI components. The style modules should correspond in name to their runtime controllers and will be housed in the \"Resources/alloy/styles\" folder.\r\n\r\nFor example, the runtime style module for the index controller woud be found at \"Resources/alloy/styles/index.js\"\r\n", "attachment": [], "flagged": false, "summary": "Make raw styles available at runtime", "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": "253912", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/135\r\nTest: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-612\r\n\r\nFunctional testing:\r\n# Go to cloned repo\r\n# {{jake app:run dir=testing/ALOY-612}}\r\n# Click the label at the top of the app\r\n# Check the console log output and assert that the runtime style entry that is output corresponds to the label\r\n# Repeat steps 3-4 for all buttons in the app\r\n\r\nIf clicking the UI elements results in printing the runtime style object for that ID, then the ticket is verified.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-24T19:32:29.000+0000", "updated": "2013-05-24T19:32:29.000+0000" }, { "id": "267914", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified working as expected with the provided sample case.\r\n\r\nTitanium SDK 3.1.2.GA\r\nAlloy 1.2.1-cr2\r\nAppcelerator Studio 3.1.2.201308091728\r\nCLI 3.1.2.GA\r\nNode 0.10.13\r\n\r\nWindows and Mac OS X.\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-23T19:42:43.000+0000", "updated": "2013-08-23T19:43:21.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }