{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vuejs.org/issues/1481","repository_url":"https://api.github.com/repos/vuejs/vuejs.org","labels_url":"https://api.github.com/repos/vuejs/vuejs.org/issues/1481/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vuejs.org/issues/1481/comments","events_url":"https://api.github.com/repos/vuejs/vuejs.org/issues/1481/events","html_url":"https://github.com/vuejs/vuejs.org/pull/1481","id":304020685,"number":1481,"title":"Clean up cookbook toc and add it to learn dropdown","user":{"login":"sdras","id":2281088,"avatar_url":"https://avatars1.githubusercontent.com/u/2281088?v=4","gravatar_id":"","url":"https://api.github.com/users/sdras","html_url":"https://github.com/sdras","followers_url":"https://api.github.com/users/sdras/followers","following_url":"https://api.github.com/users/sdras/following{/other_user}","gists_url":"https://api.github.com/users/sdras/gists{/gist_id}","starred_url":"https://api.github.com/users/sdras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdras/subscriptions","organizations_url":"https://api.github.com/users/sdras/orgs","repos_url":"https://api.github.com/users/sdras/repos","events_url":"https://api.github.com/users/sdras/events{/privacy}","received_events_url":"https://api.github.com/users/sdras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-10T00:21:13Z","updated_at":"2018-03-11T00:48:24Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/vuejs/vuejs.org/pulls/1481","html_url":"https://github.com/vuejs/vuejs.org/pull/1481","diff_url":"https://github.com/vuejs/vuejs.org/pull/1481.diff","patch_url":"https://github.com/vuejs/vuejs.org/pull/1481.patch"},"body":"Once we get the other two PRs in, we'll have almost ten recipes, so that seems like a good time to put the cookbook into beta and link it up. 🎉 Chris and I went back and forth on the sections, but it makes sense to remove them for now because they don't really fall into the pattern we have currently.\r\n\r\nI also placed it in the \"learn\" dropdown, because that seemed to make the most sense- after examples. I'm flexible and open to other paths here."},"comment":{"url":"https://api.github.com/repos/vuejs/vuejs.org/issues/comments/372079754","html_url":"https://github.com/vuejs/vuejs.org/pull/1481#issuecomment-372079754","issue_url":"https://api.github.com/repos/vuejs/vuejs.org/issues/1481","id":372079754,"user":{"login":"chrisvfritz","id":2327556,"avatar_url":"https://avatars2.githubusercontent.com/u/2327556?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisvfritz","html_url":"https://github.com/chrisvfritz","followers_url":"https://api.github.com/users/chrisvfritz/followers","following_url":"https://api.github.com/users/chrisvfritz/following{/other_user}","gists_url":"https://api.github.com/users/chrisvfritz/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisvfritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisvfritz/subscriptions","organizations_url":"https://api.github.com/users/chrisvfritz/orgs","repos_url":"https://api.github.com/users/chrisvfritz/repos","events_url":"https://api.github.com/users/chrisvfritz/events{/privacy}","received_events_url":"https://api.github.com/users/chrisvfritz/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T00:48:24Z","updated_at":"2018-03-11T00:48:24Z","author_association":"MEMBER","body":"Oh, interesting - I hadn't thought about it that way. I tend to avoid standalone examples like that when first learning, because I feel like I lack the context to make an unbiased judgment. My fear with encouraging that trajectory of learning is it's so easy to just see something different and write it off, like many people unfortunately do when they first see templates, directives, and even SFCs without reading the guide for context. You fortunately came with a very open mind, but I think many people don't.\r\n\r\nIf some do want to learn that way though, I worry that our current examples aren't ideal for it. Perhaps it would be better to provide a single, well-commented playground example that acts as a miniature tour of common features - maybe built off the code from our marketing video. We could then link to it at the beginning of the introduction (rather than hiding it in a menu) to make it more easily discoverable for those who just want to dive into some code. I think a plain ES5 version and a more advanced one with ES2015+ and SFCs would also be good.\r\n\r\nWhat would you think about that in place of our current examples? Do you think it might better serve the same purpose for you? Or are there aspects to that learning path I'm still not grokking? (And if it's too complicated to explain over text, I'm always happy to hop on a video call. 🙂)"}}
{"actor":{"display_login":"chrisvfritz"}}