{"action":"created","issue":{"url":"https://api.github.com/repos/usetint/tint/issues/338","repository_url":"https://api.github.com/repos/usetint/tint","labels_url":"https://api.github.com/repos/usetint/tint/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/usetint/tint/issues/338/comments","events_url":"https://api.github.com/repos/usetint/tint/issues/338/events","html_url":"https://github.com/usetint/tint/pull/338","id":195645128,"number":338,"title":"Reorganize editor views","user":{"login":"singpolyma","id":12770,"avatar_url":"https://avatars.githubusercontent.com/u/12770?v=3","gravatar_id":"","url":"https://api.github.com/users/singpolyma","html_url":"https://github.com/singpolyma","followers_url":"https://api.github.com/users/singpolyma/followers","following_url":"https://api.github.com/users/singpolyma/following{/other_user}","gists_url":"https://api.github.com/users/singpolyma/gists{/gist_id}","starred_url":"https://api.github.com/users/singpolyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singpolyma/subscriptions","organizations_url":"https://api.github.com/users/singpolyma/orgs","repos_url":"https://api.github.com/users/singpolyma/repos","events_url":"https://api.github.com/users/singpolyma/events{/privacy}","received_events_url":"https://api.github.com/users/singpolyma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"assignees":[{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-14T21:03:35Z","updated_at":"2016-12-14T21:04:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/usetint/tint/pulls/338","html_url":"https://github.com/usetint/tint/pull/338","diff_url":"https://github.com/usetint/tint/pull/338.diff","patch_url":"https://github.com/usetint/tint/pull/338.patch"},"body":"There are conceputally four editor views:\r\n\r\n1. WYSIWYG editor with frontmatter editor\r\n2. Frontmatter-only editor (content editor hidden)\r\n3. Source editor (default on non-WYSIWYG files with no frontmatter)\r\n4. Binary file editor (with optional filename frontmatter)\r\n\r\n\"Page title\" is pulled out as special only if the key is present and not\r\nediting a YAML file.\r\n\r\nHiding title and content editor on YAML files makes the page a data-only\r\neditor, so we don't need a seperate view for that.  1 and 2 are thus\r\nboth a single view file now.\r\n\r\nFile with no frontmatter at all go straight to the source editor, since\r\nthey would otherwise have a hidden content portion (not WYSIWYG) and no\r\ndata fields... which is just an empty page.\r\n\r\nCloses #314\r\nCloses #316"},"comment":{"url":"https://api.github.com/repos/usetint/tint/issues/comments/267156196","html_url":"https://github.com/usetint/tint/pull/338#issuecomment-267156196","issue_url":"https://api.github.com/repos/usetint/tint/issues/338","id":267156196,"user":{"login":"singpolyma","id":12770,"avatar_url":"https://avatars.githubusercontent.com/u/12770?v=3","gravatar_id":"","url":"https://api.github.com/users/singpolyma","html_url":"https://github.com/singpolyma","followers_url":"https://api.github.com/users/singpolyma/followers","following_url":"https://api.github.com/users/singpolyma/following{/other_user}","gists_url":"https://api.github.com/users/singpolyma/gists{/gist_id}","starred_url":"https://api.github.com/users/singpolyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singpolyma/subscriptions","organizations_url":"https://api.github.com/users/singpolyma/orgs","repos_url":"https://api.github.com/users/singpolyma/repos","events_url":"https://api.github.com/users/singpolyma/events{/privacy}","received_events_url":"https://api.github.com/users/singpolyma/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T21:04:40Z","updated_at":"2016-12-14T21:04:40Z","body":"Files triggering all of the cases in https://gitlab.com/singpolyma/tint-demo"}}
{"actor":{"display_login":"singpolyma"}}