{ "id": "153231", "key": "TIMOB-20000", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-24T19:03:41.000+0000", "created": "2015-11-17T08:40:18.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-5.2.0" ], "versions": [], "issuelinks": [ { "id": "49872", "type": { "id": "10121", "name": "Gantt: finish-finish", "inward": "has to be finished together with", "outward": "has to be finished together with" }, "inwardIssue": { "id": "153026", "key": "TIMOB-19940", "fields": { "summary": "Add *appearance-properties to AlertDialog", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "49962", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "153025", "key": "TIMOB-19939", "fields": { "summary": "keyboardType should not list KEYBOARD_APPEARANCE_* constants", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-01-22T00:42:37.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The TextField and [TextArea.appearance|http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TextArea-property-appearance] properties should be renamed to {{keyboardAppearance}} to better describe what appearance they are about.\r\n\r\nTIMOB-19940 has already used this new name for adding appearance control to the AlertDialog input fields. To prevent confusion we should resolve this ticket together.", "attachment": [], "flagged": false, "summary": "Rename appearance properties to keyboardAppearance", "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": null, "closedSprints": [ { "id": 529, "state": "closed", "name": "2015 Sprint 24 SDK", "startDate": "2015-11-21T01:30:12.670Z", "endDate": "2015-12-05T01:30:00.000Z", "completeDate": "2015-12-07T03:57:17.094Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "370526", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~fokkezb] What is with the SearchBar, can we set it there, too?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-17T15:20:31.000+0000", "updated": "2015-11-17T15:20:31.000+0000" }, { "id": "370546", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "That weirdo has {{keyboardType}} (so not appearance) without documenting what the value can be:\r\n\r\nhttps://appcelerator.github.io/appc-docs/latest/#!/api/Titanium.UI.SearchBar-property-keyboardType\r\nhttps://github.com/appcelerator/titanium_mobile/blob/bc85170157d3bebc5de1d61a9fe6e34bce84a8c9/iphone/Classes/TiUISearchBar.m#L102\r\n\r\nWe should rename that to {{keyboardAppearance}} as well and while we're at it see if we can add {{returnKeyType}} as well.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-11-17T19:01:09.000+0000", "updated": "2015-11-17T19:01:09.000+0000" }, { "id": "370549", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "keyboardType != keyboardAppearence", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-17T19:04:59.000+0000", "updated": "2015-11-17T19:04:59.000+0000" }, { "id": "370550", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Not? What's the difference?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-11-17T19:05:53.000+0000", "updated": "2015-11-17T19:05:53.000+0000" }, { "id": "370552", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "- {{keyboardType}} configures the keyboard type (number pad, email, phone pad, ascii, etc.)\r\n- {{keyboardAppearance}} configures the keyboard appearance (default, light, dark, alert)", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-17T19:07:56.000+0000", "updated": "2015-11-17T19:07:56.000+0000" }, { "id": "370553", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "O shoot, yes... sorry :)\r\n\r\nWell, it's missing documentation\r\nhttps://appcelerator.github.io/appc-docs/latest/#!/api/Titanium.UI.SearchBar-property-keyboardType", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-11-17T19:08:55.000+0000", "updated": "2015-11-17T19:08:55.000+0000" }, { "id": "370564", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR pending https://github.com/appcelerator/titanium_mobile/pull/7459/files\r\nDemo Code:\r\n{code}\r\nTi.UI.setBackgroundColor('white');\r\nvar win = Ti.UI.createWindow({\r\n title: 'Click window to test'\r\n});\r\n\r\nvar field = Ti.UI.createTextArea({\r\n width : 300,\r\n height : 50,\r\n top : 200,\r\n right : 0 ,\r\n backgroundColor : \"#f0f0f0\",\r\n value : \"Hello\",\r\n keyboardType : Titanium.UI.KEYBOARD_ASCII,\r\n appearance: Titanium.UI.KEYBOARD_APPEARANCE_LIGHT,\r\n});\r\n\r\n\r\n var textField = Ti.UI.createTextField({\r\n borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n color : '#336699',\r\n top : 100, \r\n right : 0,\r\n width : 250, \r\n height : 60,\r\n backgroundColor :'Green',\r\n keyboardType : Titanium.UI.KEYBOARD_TWITTER,\r\n appearance : Titanium.UI.KEYBOARD_APPEARANCE_DARK\r\n});\r\n\r\nvar search = Titanium.UI.createSearchBar({\r\n barColor :'#000', \r\n showCancel :true,\r\n height :43,\r\n top :20,\r\n left :0,\r\n keyboardType : Titanium.UI.KEYBOARD_TYPE_URL,\r\n keyboardAppearance : Titanium.UI.KEYBOARD_APPEARANCE_DARK\r\n});\r\nfield.autocorrect = false;\r\n\r\nwin.add(textField);\r\nwin.add(field);\r\nwin.add(search);\r\nwin.open();\r\n{code}\r\n\r\nExpected Results : A warning stating that keyboard_twitter and keyboard_ASCII is deprecated. \r\n A warning stating that appearance is deprecated in favor of keyboardApperance.\r\n", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-17T20:08:13.000+0000", "updated": "2015-11-24T18:48:08.000+0000" }, { "id": "371364", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "QE: Changes done as part of TIMOB-19939. Please check that ticket for demo code.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-24T19:02:35.000+0000", "updated": "2015-11-24T19:04:21.000+0000" }, { "id": "374879", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, with SDK {{5.2.0.v20160114021251}} Receive DEPRECATED warning messages in console as per the expected results. \r\n\r\nTested on:\r\niPhone 6s Plus Device (9.2)\r\nMac OSX El Capitan 10.11 (15A284)\r\nTi SDK: 5.2.0.v20160114021251\r\nAppc NPM: 4.2.2 \r\nApp CLI: 5.2.0-220 \r\nXcode 7.2\r\nNode v4.2.3\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-01-19T23:29:41.000+0000", "updated": "2016-01-19T23:29:41.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }