{ "id": "130265", "key": "ALOY-1021", "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": "16692", "name": "Alloy 1.7.0", "archived": false, "released": true, "releaseDate": "2015-07-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-05-26T07:21:47.000+0000", "created": "2014-05-10T18:29:24.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "Alloy.CFG", "Alloy.Globals", "alloy", "views" ], "versions": [ { "id": "15759", "description": "Alloy 1.3.1", "name": "Alloy 1.3.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "48902", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "150980", "key": "TIDOC-2299", "fields": { "summary": "Document support for Alloy.CFG and Globals in views", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-03-07T22:25:39.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" } ], "description": "As the attached sample app shows, you can not use {{Alloy.CFG.}} and {{Alloy.Globals.}} in Alloy views. In the compiled code, they will end up as strings:\r\n\r\n{code:javascript}\r\n $.__views.__alloyId0 = Ti.UI.createLabel({\r\n top: 50,\r\n text: \"Alloy.CFG.foo\",\r\n id: \"__alloyId0\"\r\n });\r\n{code}\r\n\r\nI would like to see that just like {{Ti.}} the {{Alloy.}} namespace would be detected and used as variable instead of string.", "attachment": [ { "id": "47976", "filename": "al.zip", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-05-10T18:29:24.000+0000", "size": 8754, "mimeType": "application/zip" }, { "id": "47977", "filename": "iOS-simulatorschermafbeelding 10 mei 2014 14.22.27.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-05-10T18:39:10.000+0000", "size": 26954, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy: Add support for Alloy.CFG and Alloy.Globals in views", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Alloy 1.3.1", "closedSprints": [ { "id": 415, "state": "closed", "name": "2015 Sprint 11 Tooling", "startDate": "2015-05-23T02:31:08.429Z", "endDate": "2015-06-06T02:31:00.000Z", "completeDate": "2015-06-08T15:25:54.837Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "304305", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Showing {{Alloy.CFG}} and {{Alloy.Globals}} not working in the view, only in TSS.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-05-10T18:39:10.000+0000", "updated": "2014-05-10T18:39:10.000+0000" }, { "id": "305455", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this improvement request to engineering for further evaluation and prioritization.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-19T06:15:39.000+0000", "updated": "2014-05-19T06:15:39.000+0000" }, { "id": "306441", "author": { "name": "wood1k", "key": "wood1k", "displayName": "Alexey Chulochnikov", "active": true, "timeZone": "Europe/Helsinki" }, "body": "+1\r\n\r\nIt would be great if this feature will be implemented!", "updateAuthor": { "name": "wood1k", "key": "wood1k", "displayName": "Alexey Chulochnikov", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-05-27T11:57:01.000+0000", "updated": "2014-05-27T11:57:01.000+0000" }, { "id": "335879", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "+1", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-12-10T21:37:51.000+0000", "updated": "2014-12-10T21:37:51.000+0000" }, { "id": "335979", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "The related regexp to be changed: https://github.com/appcelerator/alloy/blob/master/Alloy/commands/compile/compilerUtils.js#L214", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-12-11T08:11:33.000+0000", "updated": "2014-12-11T08:11:33.000+0000" }, { "id": "348422", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/alloy/pull/677", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-04-03T11:25:29.000+0000", "updated": "2015-04-03T11:25:29.000+0000" }, { "id": "351930", "author": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Please check this https://developer.appcelerator.com/question/182308/alloycfg-not-working-on-android-tss\r\n\r\nIt seems Alloy.CFG only works with iOS in TSS but not on android.", "updateAuthor": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-05-07T14:41:14.000+0000", "updated": "2015-05-07T14:41:14.000+0000" }, { "id": "353468", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-05-26T07:21:47.000+0000", "updated": "2015-05-26T07:21:47.000+0000" }, { "id": "362272", "author": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "body": "Can somebody update docs at http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_XML_Markup with changes related to this PR?", "updateAuthor": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "created": "2015-09-04T08:08:46.000+0000", "updated": "2015-09-04T08:08:46.000+0000" }, { "id": "362287", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~falko] created TIDOC-2299", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-09-04T11:24:58.000+0000", "updated": "2015-09-04T11:24:58.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }