{ "id": "125904", "key": "ALOY-949", "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": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" }, { "id": "15887", "description": "2014 Sprint 03", "name": "2014 Sprint 03", "archived": true, "released": true, "releaseDate": "2014-02-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-21T19:42:00.000+0000", "created": "2014-02-05T15:14:14.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "37610", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "127878", "key": "TIMOB-16656", "fields": { "summary": "MobileWeb: createAlertDialog does not dismiss Ok button click", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "37502", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "130249", "key": "ALOY-1013", "fields": { "summary": "MobileWeb: Builtin Confirm Dialogs not closing after clicking on yes/no", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2014-05-22T18:45:42.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": "13610", "name": "Builtins", "description": "Builtin Javascript libraries" } ], "description": "We should be able to customize the title, message, and buttonNames of the AlertDialog created by {{dialogs.confirm()}}. While this can be done on each call of {{confirm()}} it would be nice to be able to set the default value.", "attachment": [ { "id": "47973", "filename": "dialogs_FedeTest.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-10T01:44:50.000+0000", "size": 30637, "mimeType": "image/png" }, { "id": "45623", "filename": "iOS Simulator Screen shot Feb 5, 2014, 10.27.53 AM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T15:39:35.000+0000", "size": 41042, "mimeType": "image/png" }, { "id": "45624", "filename": "iOS Simulator Screen shot Feb 5, 2014, 10.28.01 AM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T15:39:35.000+0000", "size": 44084, "mimeType": "image/png" }, { "id": "45625", "filename": "iOS Simulator Screen shot Feb 5, 2014, 10.28.07 AM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T15:39:35.000+0000", "size": 46043, "mimeType": "image/png" }, { "id": "45626", "filename": "iOS Simulator Screen shot Feb 5, 2014, 10.31.30 AM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T15:39:35.000+0000", "size": 44258, "mimeType": "image/png" } ], "flagged": false, "summary": "Customizable properties for dialogs bultin", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 112, "state": "closed", "name": "2014 Sprint 10 Alloy", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:12:31.273Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "291421", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/325\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-949\r\n\r\nFunction test:\r\n\r\n# run test app\r\n# click the right button on each dialog that pops up (yes, yup, fo shizzle)\r\n# Confirm that the 4 dialogs you see appear as the attached screenshots do, and in that oder. (screenshots from ios sim)", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T15:38:59.000+0000", "updated": "2014-02-05T15:38:59.000+0000" }, { "id": "304294", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened.\r\n\r\nRunning on both Android and iOS I'm noticing an issue setting the 'buttonName' using dialogs.confirm().\r\nFrom my test, \r\n{code}\r\nbuttonNames: ['Nope', 'Yup'],\r\n{code}\r\nis not set, so the button names are the ones set in the previous dialog. \r\n\r\nFor example, with the given test sample, the third displayed dialog would show \"'Naaah - Fo shizzle\" instead of \"Nope - Yup\" buttons.\r\nAttached screenshot (\"dialogs_FedeTest\")\r\n\r\n{code}\r\ntitle: 'Confirm (args)',\r\nmessage: 'Are the args working?',\r\n{code}\r\nSeems to be applied correctly, as well as the callback, triggering the right function.\r\n\r\n\r\nh6. Environment:\r\nTiSDK 3.3.0.v20140509104912\r\nAlloy 1.4.0-dev\r\nAppcelerator Studio 3.3.0.201405011408\r\nCLI 3.3.0-dev", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-10T01:43:44.000+0000", "updated": "2014-05-20T18:42:08.000+0000" }, { "id": "304544", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "\r\nPR: https://github.com/appcelerator/alloy/pull/394\r\nTest App: https://github.com/feons/alloy/tree/ALOY-949/test/apps/testing/ALOY-949\r\n\r\nFunction Test:\r\nClick the right button on each dialog that pops up, the test app will show 5 dialogs.\r\nThe right button name sequence is : Yes, Fo shizzle, Yup, Yeah, Fo shizzle", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-05-13T08:12:04.000+0000", "updated": "2014-05-13T08:12:04.000+0000" }, { "id": "304589", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "None of the buttons are clickable for me, I suspect because of TIMOB-16656. I've linked that ticket as blocking this one. I'm glad to revisit if there's a way to get this working so I can test your pull request.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-13T16:45:38.000+0000", "updated": "2014-05-13T16:45:38.000+0000" }, { "id": "305587", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-resolving based on comments.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-19T21:20:49.000+0000", "updated": "2014-05-19T21:20:49.000+0000" }, { "id": "305962", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Tested on iOS, Android, and MobileWeb. All work as expected (with the caveat that MobileWeb requires 3.3.0 alpha because of the button-click issue with the SDK)\r\n\r\nPR merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-21T19:42:00.000+0000", "updated": "2014-05-21T19:42:00.000+0000" }, { "id": "306118", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Checked verified fixed.\r\nClosing.\r\n\r\nTiSDK 3.3.0.v20140521174951\r\nAlloy 1.4.0-alpha4\r\nAppcelerator Studio 3.3.0.201405211748\r\nCLI 3.3.0-alpha5", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-22T18:45:35.000+0000", "updated": "2014-05-22T18:45:35.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }