{ "id": "155439", "key": "ALOY-1366", "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": [ { "id": "17730", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-07-05" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-04-15T23:18:55.000+0000", "created": "2016-03-06T08:56:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "alloy", "image", "merge", "themes" ], "versions": [], "issuelinks": [ { "id": "51124", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "155573", "key": "ALOY-1365", "fields": { "summary": "Improve how Alloy works with i18n and platform folders", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2016-04-15T23:18:55.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": "12333", "name": "Widgets" } ], "description": "From doc: \r\nIn your theme folder you can include many of the files and folders found under the app folder to override or merge with them.\r\n\r\n||Folder or Filename||Supported since||Overwrites or Merges||\r\n|widgets/*/assets|Alloy 1.4.0|merges folders, overwrites files|\r\n|widgets/*/styles| Alloy 1.4.0|merges folders, overwrites files|\r\n\r\nBut it not work for images inside assets.\r\n\r\nDemo app attached.\r\n\r\nEnvironment:\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.3\r\n Core Package = 5.2.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\n node-appc Version = 0.2.31\r\n{code}\r\n", "attachment": [ { "id": "58438", "filename": "app.zip", "author": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "created": "2016-03-06T08:56:40.000+0000", "size": 13659, "mimeType": "application/x-download" }, { "id": "58441", "filename": "screenshot-1.png", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-03-07T05:36:23.000+0000", "size": 29118, "mimeType": "image/png" }, { "id": "58569", "filename": "Screen Shot 2016-03-10 at 3.01.09 AM.png", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-09T21:02:21.000+0000", "size": 34362, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy: images from widget theme not merged with Resources", "creator": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "subtasks": [], "reporter": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "environment": "Alloy 1.7.33", "closedSprints": [ { "id": 619, "state": "closed", "name": "2016 Sprint 08 Tooling", "startDate": "2016-04-09T00:30:04.446Z", "endDate": "2016-04-23T00:30:00.000Z", "completeDate": "2016-04-25T02:58:12.551Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "380385", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "It should be resolved by ALOY-1365.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-03-22T17:25:58.000+0000", "updated": "2016-03-22T17:25:58.000+0000" }, { "id": "381849", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~falko] Can you verify if this is still an issue or it has been resolved?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-06T08:47:23.000+0000", "updated": "2016-04-06T08:47:23.000+0000" }, { "id": "382201", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I'm not convinced this is related to ALOY-1365.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-04-08T16:21:23.000+0000", "updated": "2016-04-08T16:21:23.000+0000" }, { "id": "382203", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Looks like you are right! Remove {{qe-investigate}} label.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-04-08T16:30:23.000+0000", "updated": "2016-04-08T16:30:23.000+0000" }, { "id": "382507", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "The file structure of a theme widget is illustrated under the _Themes_ section of this doc http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Widgets\r\n\r\nSpecifically *theme widget assets* can contain platform-specific folder, i.e ios, android, and image files:\r\n{code}\r\n├── app\r\n│   ├── README\r\n│   ├── alloy.js\r\n│   ├── config.json\r\n│   ├── controllers\r\n│   │   └── index.js\r\n│   ├── styles\r\n│   │   ├── app.tss\r\n│   │   └── index.tss\r\n│   ├── themes\r\n│   │   └── test\r\n│   │   └── widgets\r\n│   │   └── testWidget\r\n│   │   ├── assets\r\n│   │   │   └── images // <-- remove this and move circle.png up, or rename to i.e ios, android\r\n│   │   │   └── circle.png\r\n│   │   └── styles\r\n│   │   └── widget.tss\r\n{code}\r\n\r\n*app/themes/test/widgets/testWidget/styles/widget.tss*\r\n{code}\r\n\"#circle\": {\r\n\tborderColor: \"#00ff00\",\r\n\twidth: 200,\r\n\theight: 200,\r\n\tbackgroundImage: WPATH('circle.png') // <-- change to this\r\n}\r\n{code}", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-04-12T18:31:34.000+0000", "updated": "2016-04-12T18:31:34.000+0000" }, { "id": "382867", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Close this as invalid. \r\nIf desire please open a feature request ticket.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-04-15T23:18:55.000+0000", "updated": "2016-04-15T23:18:55.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }