{"action":"created","issue":{"url":"https://api.github.com/repos/opentrials/opentrials/issues/216","repository_url":"https://api.github.com/repos/opentrials/opentrials","labels_url":"https://api.github.com/repos/opentrials/opentrials/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/opentrials/opentrials/issues/216/comments","events_url":"https://api.github.com/repos/opentrials/opentrials/issues/216/events","html_url":"https://github.com/opentrials/opentrials/issues/216","id":159434015,"number":216,"title":"Add breadcrumbs to the pages","user":{"login":"vitorbaptista","id":76945,"avatar_url":"https://avatars.githubusercontent.com/u/76945?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorbaptista","html_url":"https://github.com/vitorbaptista","followers_url":"https://api.github.com/users/vitorbaptista/followers","following_url":"https://api.github.com/users/vitorbaptista/following{/other_user}","gists_url":"https://api.github.com/users/vitorbaptista/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorbaptista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorbaptista/subscriptions","organizations_url":"https://api.github.com/users/vitorbaptista/orgs","repos_url":"https://api.github.com/users/vitorbaptista/repos","events_url":"https://api.github.com/users/vitorbaptista/events{/privacy}","received_events_url":"https://api.github.com/users/vitorbaptista/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opentrials/opentrials/labels/3.%20In%20Development","name":"3. In Development","color":"e6e6e6"},{"url":"https://api.github.com/repos/opentrials/opentrials/labels/Explorer","name":"Explorer","color":"1D2021"}],"state":"open","locked":false,"assignee":{"login":"nightsh","id":1579997,"avatar_url":"https://avatars.githubusercontent.com/u/1579997?v=3","gravatar_id":"","url":"https://api.github.com/users/nightsh","html_url":"https://github.com/nightsh","followers_url":"https://api.github.com/users/nightsh/followers","following_url":"https://api.github.com/users/nightsh/following{/other_user}","gists_url":"https://api.github.com/users/nightsh/gists{/gist_id}","starred_url":"https://api.github.com/users/nightsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightsh/subscriptions","organizations_url":"https://api.github.com/users/nightsh/orgs","repos_url":"https://api.github.com/users/nightsh/repos","events_url":"https://api.github.com/users/nightsh/events{/privacy}","received_events_url":"https://api.github.com/users/nightsh/received_events","type":"User","site_admin":false},"assignees":[{"login":"nightsh","id":1579997,"avatar_url":"https://avatars.githubusercontent.com/u/1579997?v=3","gravatar_id":"","url":"https://api.github.com/users/nightsh","html_url":"https://github.com/nightsh","followers_url":"https://api.github.com/users/nightsh/followers","following_url":"https://api.github.com/users/nightsh/following{/other_user}","gists_url":"https://api.github.com/users/nightsh/gists{/gist_id}","starred_url":"https://api.github.com/users/nightsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightsh/subscriptions","organizations_url":"https://api.github.com/users/nightsh/orgs","repos_url":"https://api.github.com/users/nightsh/repos","events_url":"https://api.github.com/users/nightsh/events{/privacy}","received_events_url":"https://api.github.com/users/nightsh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-06-09T15:15:33Z","updated_at":"2016-07-20T17:23:01Z","closed_at":null,"body":"We already have the designs for it in our mockups:\r\n\r\nhttp://opentrials.github.io/mockups/search-results.html\r\n![search results page breadcrumbs](https://cloud.githubusercontent.com/assets/76945/16914013/c65d1466-4ce6-11e6-8622-9df1ac122f01.png)\r\n\r\nhttp://opentrials.github.io/mockups/trial.html\r\n![trial details page breadcrumbs](https://cloud.githubusercontent.com/assets/76945/16913998/a3eb97ae-4ce6-11e6-9244-748e8b818774.png)\r\n\r\n# What to add in the breadcrumb?\r\n\r\n## Search page\r\n\r\nJust add the query string. That leaves the filters out for now. In the future, it would be nice to have a breadcrumb like:\r\n\r\n> Search > `Depression` trials in `Brazil` or `UK`, `with published results` and `without discrepancies`.\r\n\r\nBut we can leave that for another task.\r\n\r\n## Trial detail page\r\n\r\nAdd the name of the trial, but trim it after `x` characters so the breadcrumb doesn't appear too big"},"comment":{"url":"https://api.github.com/repos/opentrials/opentrials/issues/comments/234019008","html_url":"https://github.com/opentrials/opentrials/issues/216#issuecomment-234019008","issue_url":"https://api.github.com/repos/opentrials/opentrials/issues/216","id":234019008,"user":{"login":"nightsh","id":1579997,"avatar_url":"https://avatars.githubusercontent.com/u/1579997?v=3","gravatar_id":"","url":"https://api.github.com/users/nightsh","html_url":"https://github.com/nightsh","followers_url":"https://api.github.com/users/nightsh/followers","following_url":"https://api.github.com/users/nightsh/following{/other_user}","gists_url":"https://api.github.com/users/nightsh/gists{/gist_id}","starred_url":"https://api.github.com/users/nightsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightsh/subscriptions","organizations_url":"https://api.github.com/users/nightsh/orgs","repos_url":"https://api.github.com/users/nightsh/repos","events_url":"https://api.github.com/users/nightsh/events{/privacy}","received_events_url":"https://api.github.com/users/nightsh/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T17:23:01Z","updated_at":"2016-07-20T17:23:01Z","body":"It's hardcoded behaviour in the breadcrumbs plugin, but dynamic stuff that gets injected and shown inside templates. I say it's a decent compromise, thus opening up the discussion / feedback loop on the implementation and moving over to #268."}}
{"actor":{"display_login":"nightsh"}}