{ "id": "175179", "key": "TIMOB-27978", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": null, "resolutiondate": null, "created": "2020-06-24T00:46:18.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "SearchBar", "Switch", "android", "event", "iOS", "picker", "refreshcontrol" ], "versions": [], "issuelinks": [ { "id": "58445", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175019", "key": "TIMOB-27977", "fields": { "summary": "TiAPI: Add \"isTrusted\" property to Ti.UI.Slider \"change\" event", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "58454", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175195", "key": "TIMOB-27988", "fields": { "summary": "TiAPI: \"change\" event should not be fired when changed programmatically", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-22T18:54:47.000+0000", "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" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Summary:*\r\nWe should add an \"isTrusted\" boolean property to all events. This is a standard property available to web developers which is set to {{true}} if the event was made by user interaction. It is set {{false}} if the event was triggered programmatically. This is mostly useful UI based events.\r\nhttps://developer.mozilla.org/docs/Web/API/Event/isTrusted\r\n\r\n*To-Do:*\r\nWhen an event is fired natively, the core code should add an \"isTrusted\" property if missing and default it to {{true}}. Events fired from JavaScript should default to {{false}} if the property is not defined.\r\n\r\nWe should set \"isTrusted\" to {{true}}/{{false}} directly for:\r\n* {{Ti.UI.Picker}} \"change\"\r\n* {{Ti.UI.RefreshControl}} \"beginRefreshing\"\r\n* {{Ti.UI.SearchBar}} \"change\"\r\n* {{Ti.UI.Switch}} \"change\"\r\n* {{Ti.UI.Tab}} \"selected\" and \"unselected\"\r\n", "attachment": [], "flagged": false, "summary": "TiAPI: Add \"isTrusted\" property to all events", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }