{"action":"closed","issue":{"url":"https://api.github.com/repos/viddo/atom-textual-velocity/issues/25","repository_url":"https://api.github.com/repos/viddo/atom-textual-velocity","labels_url":"https://api.github.com/repos/viddo/atom-textual-velocity/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/viddo/atom-textual-velocity/issues/25/comments","events_url":"https://api.github.com/repos/viddo/atom-textual-velocity/issues/25/events","html_url":"https://github.com/viddo/atom-textual-velocity/issues/25","id":181202104,"number":25,"title":"Add a custom editor for notes preview","user":{"login":"viddo","id":978461,"avatar_url":"https://avatars.githubusercontent.com/u/978461?v=3","gravatar_id":"","url":"https://api.github.com/users/viddo","html_url":"https://github.com/viddo","followers_url":"https://api.github.com/users/viddo/followers","following_url":"https://api.github.com/users/viddo/following{/other_user}","gists_url":"https://api.github.com/users/viddo/gists{/gist_id}","starred_url":"https://api.github.com/users/viddo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viddo/subscriptions","organizations_url":"https://api.github.com/users/viddo/orgs","repos_url":"https://api.github.com/users/viddo/repos","events_url":"https://api.github.com/users/viddo/events{/privacy}","received_events_url":"https://api.github.com/users/viddo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/viddo/atom-textual-velocity/labels/enhancement","name":"enhancement","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/viddo/atom-textual-velocity/milestones/1","html_url":"https://github.com/viddo/atom-textual-velocity/milestones/v1%20roadmap","labels_url":"https://api.github.com/repos/viddo/atom-textual-velocity/milestones/1/labels","id":1568058,"number":1,"title":"v1 roadmap","description":"The goal for v1 is to add the features that is currently missing. See the individual issues for details.\r\n\r\nThe test coverage is a little spotty too, so test cases should be added for all new code from here on.\r\n\r\nFinal scope TBD…","creator":{"login":"viddo","id":978461,"avatar_url":"https://avatars.githubusercontent.com/u/978461?v=3","gravatar_id":"","url":"https://api.github.com/users/viddo","html_url":"https://github.com/viddo","followers_url":"https://api.github.com/users/viddo/followers","following_url":"https://api.github.com/users/viddo/following{/other_user}","gists_url":"https://api.github.com/users/viddo/gists{/gist_id}","starred_url":"https://api.github.com/users/viddo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viddo/subscriptions","organizations_url":"https://api.github.com/users/viddo/orgs","repos_url":"https://api.github.com/users/viddo/repos","events_url":"https://api.github.com/users/viddo/events{/privacy}","received_events_url":"https://api.github.com/users/viddo/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":4,"state":"open","created_at":"2016-02-06T17:52:54Z","updated_at":"2016-10-14T16:42:05Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-10-05T16:22:40Z","updated_at":"2016-10-14T16:42:05Z","closed_at":"2016-10-14T16:42:05Z","body":"The current problem is that opening a text-editor (even in pending state) is quite costly, this is an already known issue, https://github.com/atom/fuzzy-finder/issues/5\r\n\r\nConsidering the preview should focus on _text_ notes, and the goal of the preview is to give a quick glance of the content + matched strings the best solution is probably to implement a minimalistic [editor]() that fulfills the following requirements:\r\n\r\n- Preview editor should show content of note\r\n- Highlight matched strings; scroll to first match if outside the visible viewport.\r\n- Upon hitting <kbd>Enter</kbd> or focusing on the preview window (e.g. by clicking pane), the editor should be replaced by the default text editor.\r\n- When a note is unselected (e.g. hitting <kbd>Esc</kbd>) the preview should be closed.\r\n- Visually it can look similar to the default text editor, but doesn't need all the advanced features (grammar, word wrap etc.), so should be sufficient of rendering a simple HTML element with a note's content.\r\n- Reuse preview when changing selected note."}}
{"actor":{"display_login":"viddo"}}