{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip/issues/3643","repository_url":"https://api.github.com/repos/zulip/zulip","labels_url":"https://api.github.com/repos/zulip/zulip/issues/3643/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/3643/comments","events_url":"https://api.github.com/repos/zulip/zulip/issues/3643/events","html_url":"https://github.com/zulip/zulip/issues/3643","id":206945956,"number":3643,"title":"Migrate bots UI from creating IDs with concatenated user IDs to using data-user-id.","user":{"login":"timabbott","id":2746074,"avatar_url":"https://avatars0.githubusercontent.com/u/2746074?v=4","gravatar_id":"","url":"https://api.github.com/users/timabbott","html_url":"https://github.com/timabbott","followers_url":"https://api.github.com/users/timabbott/followers","following_url":"https://api.github.com/users/timabbott/following{/other_user}","gists_url":"https://api.github.com/users/timabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/timabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timabbott/subscriptions","organizations_url":"https://api.github.com/users/timabbott/orgs","repos_url":"https://api.github.com/users/timabbott/repos","events_url":"https://api.github.com/users/timabbott/events{/privacy}","received_events_url":"https://api.github.com/users/timabbott/received_events","type":"User","site_admin":false},"labels":[{"id":517007663,"url":"https://api.github.com/repos/zulip/zulip/labels/area:%20bots","name":"area: bots","color":"bfd4f2","default":false},{"id":282205350,"url":"https://api.github.com/repos/zulip/zulip/labels/area:%20refactoring","name":"area: refactoring","color":"bfd4f2","default":false},{"id":545528191,"url":"https://api.github.com/repos/zulip/zulip/labels/area:%20settings%20(admin/org)","name":"area: settings (admin/org)","color":"bfd4f2","default":false},{"id":265216831,"url":"https://api.github.com/repos/zulip/zulip/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":265216832,"url":"https://api.github.com/repos/zulip/zulip/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":621149055,"url":"https://api.github.com/repos/zulip/zulip/labels/priority:%20high","name":"priority: high","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-11T01:24:41Z","updated_at":"2018-04-28T17:27:14Z","closed_at":null,"author_association":"OWNER","body":"The subscriptions page UI's use of data-stream-id is a good example of where we want to go here.  "},"comment":{"url":"https://api.github.com/repos/zulip/zulip/issues/comments/385192387","html_url":"https://github.com/zulip/zulip/issues/3643#issuecomment-385192387","issue_url":"https://api.github.com/repos/zulip/zulip/issues/3643","id":385192387,"user":{"login":"timabbott","id":2746074,"avatar_url":"https://avatars0.githubusercontent.com/u/2746074?v=4","gravatar_id":"","url":"https://api.github.com/users/timabbott","html_url":"https://github.com/timabbott","followers_url":"https://api.github.com/users/timabbott/followers","following_url":"https://api.github.com/users/timabbott/following{/other_user}","gists_url":"https://api.github.com/users/timabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/timabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timabbott/subscriptions","organizations_url":"https://api.github.com/users/timabbott/orgs","repos_url":"https://api.github.com/users/timabbott/repos","events_url":"https://api.github.com/users/timabbott/events{/privacy}","received_events_url":"https://api.github.com/users/timabbott/received_events","type":"User","site_admin":false},"created_at":"2018-04-28T17:27:14Z","updated_at":"2018-04-28T17:27:14Z","author_association":"OWNER","body":"This is probably a good project to do sometime soon, before we get into deeper work on this page.  I think there's 2 parts:\r\n* First convert the `settings_bots.js` code to store data-user-id type fields, and fetch the email from those using `people.js` and friends.\r\n* Then, convert the APIs for `/json/bots` and friends to name users by ID, and migrate to the new APIs.  For /json/bots, we can definitely just convert, but we might need to take some care with the /json/users/ endpoints for backwards-compatibility.\r\n\r\n@YJDave this may be a good quick refactoring project for you."}}
{"actor":{"display_login":"timabbott"}}