{ "id": "147229", "key": "TIMOB-18849", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-05-07T21:49:36.000+0000", "created": "2015-04-23T20:30:37.000+0000", "epic": { "id": 143701, "key": "TIMOB-18467", "name": "Windows: Native APIs through JS", "summary": "Windows: Allow Usage of JavaScript against Native Windows APIs", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "47610", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "147647", "key": "TIMOB-18878", "fields": { "summary": "Windows: Hook loading of native types through require", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "47612", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "147648", "key": "TIMOB-18879", "fields": { "summary": "Windows: Allow casting to a different native type", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "47626", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "147651", "key": "TIMOB-18882", "fields": { "summary": "Windows: Crawl user's app for native requires", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "47628", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "147652", "key": "TIMOB-18883", "fields": { "summary": "Windows: Allow registering event handlers with callback functions", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "47425", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "146791", "key": "TIMOB-18817", "fields": { "summary": "Windows: Investigate how to expose Native APIs through Javascript", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2017-03-16T22:31:35.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "We're taking an approach of generating C++ HAL wrappers for the Windows APIs from the metabase data. We should get a working prototype that could handle something like this:\r\n{code:javascript}\r\nvar Canvas = require('Windows.UI.Xaml.Controls.Canvas'),\r\n TextBlock = require('Windows.UI.Xaml.Controls.TextBlock'),\r\n Page = require('Windows.UI.Xaml.Controls.Page'),\r\n Window = require('Windows.UI.Xaml.Window');\r\n\r\nvar win = new Canvas();\r\n\r\n// Add stuff to the window/canvas!\r\nvar label = new TextBlock();\r\nlabel.FontSize = 20;\r\nlabel.Text = \"Hello World!\";\r\n\r\nwin.Children.Append(label);\r\n\r\nvar rootFrame = Window.Current.Content;\r\nrootFrame.Navigate(Page.typeid);\r\n\r\nvar page = rootFrame.Content;\r\npage.Content = win;\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: Working prototype of Native API wrappers", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 394, "state": "closed", "name": "2015 Sprint 09 Windows", "startDate": "2015-04-26T05:00:09.221Z", "endDate": "2015-05-10T03:59:00.000Z", "completeDate": "2015-05-11T13:20:23.987Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "351966", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "A working prototype is available on the 'native' branch. it needs some additional work to get to more usable state automatically, but should be workable with a few extra tickets.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-05-07T21:49:36.000+0000", "updated": "2015-05-07T21:49:36.000+0000" }, { "id": "413373", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:31:35.000+0000", "updated": "2017-03-16T22:31:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }