{"action":"closed","issue":{"url":"https://api.github.com/repos/swcarpentry/amy/issues/302","labels_url":"https://api.github.com/repos/swcarpentry/amy/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/swcarpentry/amy/issues/302/comments","events_url":"https://api.github.com/repos/swcarpentry/amy/issues/302/events","html_url":"https://github.com/swcarpentry/amy/issues/302","id":80443455,"number":302,"title":"Deal with breadcrumbs","user":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swcarpentry/amy/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/swcarpentry/amy/milestones/3","html_url":"https://github.com/swcarpentry/amy/milestones/v0.4","labels_url":"https://api.github.com/repos/swcarpentry/amy/milestones/3/labels","id":1108676,"number":3,"title":"v0.4","description":"Adding further features.","creator":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":4,"state":"open","created_at":"2015-05-13T14:19:08Z","updated_at":"2015-06-09T00:35:58Z","due_on":"2015-06-19T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-05-25T08:10:59Z","updated_at":"2015-06-09T00:35:58Z","closed_at":"2015-06-09T00:35:58Z","body":"As Greg mentioned in #296, he hadn't liked the way breadcrumbs repeat current page title (or header) in their last element, for example: page \"Event 2015-05-25-something\" will have breadcrumbs \"Amy / All events / Event 2015-05-25-something\".\r\n\r\nI took a look at other big websites and how they do breadcrumbs and @gvwilson was right. They don't repeat current site at the end of breadcrumbs.\r\n\r\nThis means we'd only have breadcrumbs at most 3 links long: Amy / All * / * [ / action ], for example:\r\n\r\nWas:\r\n* Amy / All events / Event 2015-05-25-something / Edit\r\n\r\nWill be:\r\n* Amy / All events / Event 2015-05-25-something\r\n\r\nBut this does not bug me. In case of `All *` pages, we can just as well drop breadcrumbs (because they'd look like \"Amy / \").\r\n\r\nSo I don't really know what to do:\r\n\r\n1. Display breadcrumbs on the same pages as now, but hide the last item.\r\n2. Display breadcrumbs on the pages that would have more than 1 breadcrumbs.\r\n3. Drop breadcrumbs completely."}}