{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/wpub/issues/146","repository_url":"https://api.github.com/repos/w3c/wpub","labels_url":"https://api.github.com/repos/w3c/wpub/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/w3c/wpub/issues/146/comments","events_url":"https://api.github.com/repos/w3c/wpub/issues/146/events","html_url":"https://github.com/w3c/wpub/issues/146","id":298283836,"number":146,"title":"WP provides a TOC without leaving the resource","user":{"login":"iherman","id":520723,"avatar_url":"https://avatars0.githubusercontent.com/u/520723?v=4","gravatar_id":"","url":"https://api.github.com/users/iherman","html_url":"https://github.com/iherman","followers_url":"https://api.github.com/users/iherman/followers","following_url":"https://api.github.com/users/iherman/following{/other_user}","gists_url":"https://api.github.com/users/iherman/gists{/gist_id}","starred_url":"https://api.github.com/users/iherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iherman/subscriptions","organizations_url":"https://api.github.com/users/iherman/orgs","repos_url":"https://api.github.com/users/iherman/repos","events_url":"https://api.github.com/users/iherman/events{/privacy}","received_events_url":"https://api.github.com/users/iherman/received_events","type":"User","site_admin":false},"labels":[{"id":835402502,"url":"https://api.github.com/repos/w3c/wpub/labels/topic:affordances","name":"topic:affordances","color":"f9c2e0","default":false},{"id":640751558,"url":"https://api.github.com/repos/w3c/wpub/labels/topic:navigation","name":"topic:navigation","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-19T13:56:36Z","updated_at":"2018-05-07T15:42:44Z","closed_at":null,"author_association":"OWNER","body":"User agents should provide an affordance for accessing the table of contents without leaving the resource they are currently viewing."},"comment":{"url":"https://api.github.com/repos/w3c/wpub/issues/comments/387107425","html_url":"https://github.com/w3c/wpub/issues/146#issuecomment-387107425","issue_url":"https://api.github.com/repos/w3c/wpub/issues/146","id":387107425,"user":{"login":"HadrienGardeur","id":90989,"avatar_url":"https://avatars2.githubusercontent.com/u/90989?v=4","gravatar_id":"","url":"https://api.github.com/users/HadrienGardeur","html_url":"https://github.com/HadrienGardeur","followers_url":"https://api.github.com/users/HadrienGardeur/followers","following_url":"https://api.github.com/users/HadrienGardeur/following{/other_user}","gists_url":"https://api.github.com/users/HadrienGardeur/gists{/gist_id}","starred_url":"https://api.github.com/users/HadrienGardeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HadrienGardeur/subscriptions","organizations_url":"https://api.github.com/users/HadrienGardeur/orgs","repos_url":"https://api.github.com/users/HadrienGardeur/repos","events_url":"https://api.github.com/users/HadrienGardeur/events{/privacy}","received_events_url":"https://api.github.com/users/HadrienGardeur/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T15:42:44Z","updated_at":"2018-05-07T15:42:44Z","author_association":"CONTRIBUTOR","body":"We already use a sequence of `PublicationLink` dictionaries for `links`, `reading_order` and `resources`. A small tweak to `PublicationLink` could turn it into a tree structure:\r\n\r\n```webidl\r\ndictionary PublicationLink {\r\n    required USVString                 href;\r\n             DOMString                 type;\r\n             USVString                 title;\r\n             sequence<DOMString>       rel;\r\n             sequence<PublicationLink> child;\r\n             DOMString                 height;\r\n             DOMString                 width;\r\n             boolean                   templated;\r\n};\r\n```\r\n\r\nThis would work for pretty much any navigation that we can think of (TOC, landmarks, list of illustrations/videos/audio)."}}
{"actor":{"display_login":"HadrienGardeur"}}