{ "id": "130049", "key": "ALOY-1004", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-07T15:55:07.000+0000", "created": "2014-05-06T00:35:04.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.3.0" ], "versions": [ { "id": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" } ], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-06-18T22:33:47.000+0000", "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" } }, "components": [ { "id": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" } ], "attachment": [], "flagged": false, "summary": "Styles priority is not correctly respected when using Custom TSS queries", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.3.0.v20140502133323 \r\nAppcelerator Studio 3.3.0.201405011408 \r\nCLI 3.3.0-dev \r\nAlloy 1.4.0-dev", "comment": { "comments": [ { "id": "303644", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "I discussed priorities with a group of the Titans prior to implementing this feature. It was universally agreed that custom TSS conditions should have the highest priority and take precedence over any other conditionals. \r\n\r\nIf you look to where priorities are defined in Alloy/commands/compile/styler.js (line 19), you'll see that TSSIF conditionals are assigned the highest priority. \r\n\r\nYour example shows that this is the priority hierarchy that is being applied.\r\n\r\nI'm open to changing this if our internal decision is that priorities should be assigned differently. However, for now I'm closing this as invalid because it's working as intended.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-06T13:32:10.000+0000", "updated": "2014-05-06T13:32:10.000+0000" }, { "id": "303666", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Reopening after speaking with Federico. Component selectors shouldn't override ID selectors regardless of whether custom TSS queries are in the mix or not.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-06T17:00:01.000+0000", "updated": "2014-05-06T17:00:01.000+0000" }, { "id": "303685", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Further sample with Custom TSS applied to the Controller API : https://github.com/federico1525/Alloy-Samples/tree/master/ALOY-1004", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-06T18:17:28.000+0000", "updated": "2014-05-06T18:17:28.000+0000" }, { "id": "303691", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR: https://github.com/appcelerator/alloy/pull/387 \r\n\r\nIncludes a test app, which is an expanded version of the one posted by Federico in the preceding comment", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-06T18:56:07.000+0000", "updated": "2014-05-06T18:56:07.000+0000" }, { "id": "303828", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-07T15:55:07.000+0000", "updated": "2014-05-07T15:55:07.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }