{ "id": "172210", "key": "ALOY-1630", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-09-14T11:35:03.000+0000", "created": "2018-09-11T15:52:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "20247", "name": "Alloy 1.13.2", "archived": false, "released": true, "releaseDate": "2018-08-21" } ], "issuelinks": [ { "id": "56785", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "133884", "key": "ALOY-1101", "fields": { "summary": "Remove 'localStorage' adapter support ", "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": "Low", "id": "4" }, "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": "2018-09-14T11:35:03.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": [], "description": "In the latest version of Appcelerator Studio (5.1.1) there still is an option to create a new model for localStorage. However, you need mobileweb for that, and that has been removed already as a target. \r\n\r\nTherefore the localStorage property should be removed from this dialog", "attachment": [ { "id": "65516", "filename": "Screen Shot 2018-09-11 at 17.52.00.png", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-11T15:52:14.000+0000", "size": 87184, "mimeType": "image/png" } ], "flagged": false, "summary": "Remove LocalStorage as sync adapter from new model creation", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1072, "state": "closed", "name": "2018 Sprint 19 Tooling", "startDate": "2018-09-09T21:06:36.074Z", "endDate": "2018-09-23T21:06:00.000Z", "completeDate": "2018-09-23T22:29:36.340Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "441483", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "I'm not 100% certain (and am not familiar enough with the Studio codebase to be sure) on this but based off similar dialogs in Studio (for example the new project screen), this is probably populated by calling {{alloy info adapters}}, which returns a json object representing the supported adapters like the below. \r\n\r\n{code}\r\n{\r\n \"properties\": {\r\n \"Description\": \"Local persistence adapter that uses Ti.App.Properties storage\",\r\n \"platforms\": [\r\n \"android\",\r\n \"ios\",\r\n \"mobileweb\",\r\n \"blackberry\",\r\n \"windows\"\r\n ]\r\n },\r\n \"sql\": {\r\n \"Description\": \"Local persistence adapter that uses SQLite storage\",\r\n \"platforms\": [\r\n \"android\",\r\n \"ios\",\r\n \"blackberry\",\r\n \"windows\"\r\n ]\r\n },\r\n \"localStorage\": {\r\n \"Description\": \"Local persistence adapter that uses HTML5 localStorage API\",\r\n \"platforms\": [\r\n \"mobileweb\"\r\n ]\r\n }\r\n}\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-09-11T18:37:48.000+0000", "updated": "2018-09-11T18:37:48.000+0000" }, { "id": "441521", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "body": "You're right [~eharris]. Studio is calling the {{appc alloy info adapters}} command to fetch the adaptors.\r\n\r\nhttps://github.com/appcelerator/titanium_studio/blob/ed32875ff313fdcbf2de7b14b72619562ca79e96/bundles/com.appcelerator.titanium.alloy.core/src/com/appcelerator/titanium/alloy/internal/core/AlloyManager.java#L408\r\n\r\nI'll move the ticket to the CLI", "updateAuthor": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-09-13T05:52:50.000+0000", "updated": "2018-09-13T05:52:50.000+0000" }, { "id": "441567", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Looking good! Lovely quick fix!", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-14T11:35:03.000+0000", "updated": "2018-09-14T11:35:03.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }