{"action":"created","issue":{"url":"https://api.github.com/repos/cantino/huginn/issues/830","labels_url":"https://api.github.com/repos/cantino/huginn/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/cantino/huginn/issues/830/comments","events_url":"https://api.github.com/repos/cantino/huginn/issues/830/events","html_url":"https://github.com/cantino/huginn/pull/830","id":81153886,"number":830,"title":"Updated agent picker to include agent description","user":{"login":"spdustin","id":1342542,"avatar_url":"https://avatars.githubusercontent.com/u/1342542?v=3","gravatar_id":"","url":"https://api.github.com/users/spdustin","html_url":"https://github.com/spdustin","followers_url":"https://api.github.com/users/spdustin/followers","following_url":"https://api.github.com/users/spdustin/following{/other_user}","gists_url":"https://api.github.com/users/spdustin/gists{/gist_id}","starred_url":"https://api.github.com/users/spdustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spdustin/subscriptions","organizations_url":"https://api.github.com/users/spdustin/orgs","repos_url":"https://api.github.com/users/spdustin/repos","events_url":"https://api.github.com/users/spdustin/events{/privacy}","received_events_url":"https://api.github.com/users/spdustin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-05-26T21:54:56Z","updated_at":"2015-08-18T03:36:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cantino/huginn/pulls/830","html_url":"https://github.com/cantino/huginn/pull/830","diff_url":"https://github.com/cantino/huginn/pull/830.diff","patch_url":"https://github.com/cantino/huginn/pull/830.patch"},"body":"This PR is meant to resolve issue #420 - it uses a custom formatter for [Select2](select2/select2) as well as a custom matcher to both include (and allow searching by) the agent's description.\r\n\r\n> ![2015-05-26_16-45-48](https://cloud.githubusercontent.com/assets/1342542/7824262/3a4065dc-03c7-11e5-83fb-4ec2d4bd5c72.png)\r\n\r\n* For the sake of brevity, only the first paragraph of the Agent's description is displayed, and only if it begins with a letter.\r\n* Some descriptions begin with Markdown headers, and those are ignored for display/matching, though they do still appear in the \"accessible\" text of the select element.\r\n* If the first paragraph includes any Markdown (e.g. links), they will be displayed as raw Markdown rather than formatted text.\r\n\r\nI think, in an ideal world, agents would have a description separate from the instructions, but for now, if we can specify that an agent's first line of the description is its \"summary\" description, that'd be enough."},"comment":{"url":"https://api.github.com/repos/cantino/huginn/issues/comments/132059757","html_url":"https://github.com/cantino/huginn/pull/830#issuecomment-132059757","issue_url":"https://api.github.com/repos/cantino/huginn/issues/830","id":132059757,"user":{"login":"spdustin","id":1342542,"avatar_url":"https://avatars.githubusercontent.com/u/1342542?v=3","gravatar_id":"","url":"https://api.github.com/users/spdustin","html_url":"https://github.com/spdustin","followers_url":"https://api.github.com/users/spdustin/followers","following_url":"https://api.github.com/users/spdustin/following{/other_user}","gists_url":"https://api.github.com/users/spdustin/gists{/gist_id}","starred_url":"https://api.github.com/users/spdustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spdustin/subscriptions","organizations_url":"https://api.github.com/users/spdustin/orgs","repos_url":"https://api.github.com/users/spdustin/repos","events_url":"https://api.github.com/users/spdustin/events{/privacy}","received_events_url":"https://api.github.com/users/spdustin/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T03:36:01Z","updated_at":"2015-08-18T03:36:01Z","body":"Let me test a few more edge cases and I'll update and sign off tomorrow."}}