{"action":"opened","number":35,"pull_request":{"url":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls/35","id":51180336,"html_url":"https://github.com/CodeMonkeys3111/Web/pull/35","diff_url":"https://github.com/CodeMonkeys3111/Web/pull/35.diff","patch_url":"https://github.com/CodeMonkeys3111/Web/pull/35.patch","issue_url":"https://api.github.com/repos/CodeMonkeys3111/Web/issues/35","number":35,"state":"open","locked":false,"title":"Feature/ralph-hashtag - Introduce Hashtag UI and DB structure","user":{"login":"aralph","id":1174752,"avatar_url":"https://avatars.githubusercontent.com/u/1174752?v=3","gravatar_id":"","url":"https://api.github.com/users/aralph","html_url":"https://github.com/aralph","followers_url":"https://api.github.com/users/aralph/followers","following_url":"https://api.github.com/users/aralph/following{/other_user}","gists_url":"https://api.github.com/users/aralph/gists{/gist_id}","starred_url":"https://api.github.com/users/aralph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aralph/subscriptions","organizations_url":"https://api.github.com/users/aralph/orgs","repos_url":"https://api.github.com/users/aralph/repos","events_url":"https://api.github.com/users/aralph/events{/privacy}","received_events_url":"https://api.github.com/users/aralph/received_events","type":"User","site_admin":false},"body":"This PR tries to fulfill the hashtag feature as described on slack. \r\nAt the same time it fixes #24 (hashtags are now created from head and desc of a question).\r\n\r\n**First** key feature:\r\nFor every question, the used hashtags are displayed\r\n![bildschirmfoto 2015-11-19 um 12 48 58](https://cloud.githubusercontent.com/assets/1174752/11262584/fa82768a-8ebb-11e5-9cff-6264ca6a4d4a.png)\r\n\r\n**Second** key feature:\r\nThe most popular hashtags are displayed below the 'new question' box. \r\n![bildschirmfoto 2015-11-19 um 12 21 14](https://cloud.githubusercontent.com/assets/1174752/11262530/547c9270-8ebb-11e5-809e-56c4f36ff9aa.png)\r\n\r\n**More** features:\r\n- all tags are converted to lowercase.\r\n- click a hashtag and it is added to the new question/search box\r\n- thus, you can easily search for a hashtag by clicking on it\r\n- Reintroduced the button 'to Top' which scrolls to top of page. The button makes sense now since when you click on a hashtag, you want to go back to the 'new question' box.\r\n- Slight restructured of the buttons 'Ask!' and 'Sort by:'\r\n\r\nSee all the new buttons:\r\n![1](https://cloud.githubusercontent.com/assets/1174752/11262664/cef762d6-8ebc-11e5-9050-680ba4692ecf.png)\r\n\r\n\r\nMinor issues:\r\nI will create two minor issues once the PR is accepted. None of them causes errors or breaks the functionality.\r\nThe first one is the order of the most popular tags: The bar below the question box displays the most popular hashtags from right to left instead of from left to right.\r\nThe second one is some issue for special hashtag combinations. ","created_at":"2015-11-19T04:56:10Z","updated_at":"2015-11-19T04:56:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls/35/commits","review_comments_url":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls/35/comments","review_comment_url":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeMonkeys3111/Web/issues/35/comments","statuses_url":"https://api.github.com/repos/CodeMonkeys3111/Web/statuses/acafe23aa68c84373e791206336b67a9d6772927","head":{"label":"CodeMonkeys3111:feature/ralph-hashtag","ref":"feature/ralph-hashtag","sha":"acafe23aa68c84373e791206336b67a9d6772927","user":{"login":"CodeMonkeys3111","id":14882614,"avatar_url":"https://avatars.githubusercontent.com/u/14882614?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeMonkeys3111","html_url":"https://github.com/CodeMonkeys3111","followers_url":"https://api.github.com/users/CodeMonkeys3111/followers","following_url":"https://api.github.com/users/CodeMonkeys3111/following{/other_user}","gists_url":"https://api.github.com/users/CodeMonkeys3111/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMonkeys3111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMonkeys3111/subscriptions","organizations_url":"https://api.github.com/users/CodeMonkeys3111/orgs","repos_url":"https://api.github.com/users/CodeMonkeys3111/repos","events_url":"https://api.github.com/users/CodeMonkeys3111/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMonkeys3111/received_events","type":"Organization","site_admin":false},"repo":{"id":43339385,"name":"Web","full_name":"CodeMonkeys3111/Web","owner":{"login":"CodeMonkeys3111","id":14882614,"avatar_url":"https://avatars.githubusercontent.com/u/14882614?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeMonkeys3111","html_url":"https://github.com/CodeMonkeys3111","followers_url":"https://api.github.com/users/CodeMonkeys3111/followers","following_url":"https://api.github.com/users/CodeMonkeys3111/following{/other_user}","gists_url":"https://api.github.com/users/CodeMonkeys3111/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMonkeys3111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMonkeys3111/subscriptions","organizations_url":"https://api.github.com/users/CodeMonkeys3111/orgs","repos_url":"https://api.github.com/users/CodeMonkeys3111/repos","events_url":"https://api.github.com/users/CodeMonkeys3111/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMonkeys3111/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeMonkeys3111/Web","description":"","fork":false,"url":"https://api.github.com/repos/CodeMonkeys3111/Web","forks_url":"https://api.github.com/repos/CodeMonkeys3111/Web/forks","keys_url":"https://api.github.com/repos/CodeMonkeys3111/Web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeMonkeys3111/Web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeMonkeys3111/Web/teams","hooks_url":"https://api.github.com/repos/CodeMonkeys3111/Web/hooks","issue_events_url":"https://api.github.com/repos/CodeMonkeys3111/Web/issues/events{/number}","events_url":"https://api.github.com/repos/CodeMonkeys3111/Web/events","assignees_url":"https://api.github.com/repos/CodeMonkeys3111/Web/assignees{/user}","branches_url":"https://api.github.com/repos/CodeMonkeys3111/Web/branches{/branch}","tags_url":"https://api.github.com/repos/CodeMonkeys3111/Web/tags","blobs_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeMonkeys3111/Web/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeMonkeys3111/Web/languages","stargazers_url":"https://api.github.com/repos/CodeMonkeys3111/Web/stargazers","contributors_url":"https://api.github.com/repos/CodeMonkeys3111/Web/contributors","subscribers_url":"https://api.github.com/repos/CodeMonkeys3111/Web/subscribers","subscription_url":"https://api.github.com/repos/CodeMonkeys3111/Web/subscription","commits_url":"https://api.github.com/repos/CodeMonkeys3111/Web/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeMonkeys3111/Web/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeMonkeys3111/Web/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeMonkeys3111/Web/contents/{+path}","compare_url":"https://api.github.com/repos/CodeMonkeys3111/Web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeMonkeys3111/Web/merges","archive_url":"https://api.github.com/repos/CodeMonkeys3111/Web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeMonkeys3111/Web/downloads","issues_url":"https://api.github.com/repos/CodeMonkeys3111/Web/issues{/number}","pulls_url":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeMonkeys3111/Web/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeMonkeys3111/Web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeMonkeys3111/Web/labels{/name}","releases_url":"https://api.github.com/repos/CodeMonkeys3111/Web/releases{/id}","created_at":"2015-09-29T02:15:18Z","updated_at":"2015-10-31T10:23:37Z","pushed_at":"2015-11-19T04:22:59Z","git_url":"git://github.com/CodeMonkeys3111/Web.git","ssh_url":"git@github.com:CodeMonkeys3111/Web.git","clone_url":"https://github.com/CodeMonkeys3111/Web.git","svn_url":"https://github.com/CodeMonkeys3111/Web","homepage":null,"size":344,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"CodeMonkeys3111:master","ref":"master","sha":"7ec0f7536f576df07d962e5a5db72433baa23eab","user":{"login":"CodeMonkeys3111","id":14882614,"avatar_url":"https://avatars.githubusercontent.com/u/14882614?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeMonkeys3111","html_url":"https://github.com/CodeMonkeys3111","followers_url":"https://api.github.com/users/CodeMonkeys3111/followers","following_url":"https://api.github.com/users/CodeMonkeys3111/following{/other_user}","gists_url":"https://api.github.com/users/CodeMonkeys3111/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMonkeys3111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMonkeys3111/subscriptions","organizations_url":"https://api.github.com/users/CodeMonkeys3111/orgs","repos_url":"https://api.github.com/users/CodeMonkeys3111/repos","events_url":"https://api.github.com/users/CodeMonkeys3111/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMonkeys3111/received_events","type":"Organization","site_admin":false},"repo":{"id":43339385,"name":"Web","full_name":"CodeMonkeys3111/Web","owner":{"login":"CodeMonkeys3111","id":14882614,"avatar_url":"https://avatars.githubusercontent.com/u/14882614?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeMonkeys3111","html_url":"https://github.com/CodeMonkeys3111","followers_url":"https://api.github.com/users/CodeMonkeys3111/followers","following_url":"https://api.github.com/users/CodeMonkeys3111/following{/other_user}","gists_url":"https://api.github.com/users/CodeMonkeys3111/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMonkeys3111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMonkeys3111/subscriptions","organizations_url":"https://api.github.com/users/CodeMonkeys3111/orgs","repos_url":"https://api.github.com/users/CodeMonkeys3111/repos","events_url":"https://api.github.com/users/CodeMonkeys3111/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMonkeys3111/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeMonkeys3111/Web","description":"","fork":false,"url":"https://api.github.com/repos/CodeMonkeys3111/Web","forks_url":"https://api.github.com/repos/CodeMonkeys3111/Web/forks","keys_url":"https://api.github.com/repos/CodeMonkeys3111/Web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeMonkeys3111/Web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeMonkeys3111/Web/teams","hooks_url":"https://api.github.com/repos/CodeMonkeys3111/Web/hooks","issue_events_url":"https://api.github.com/repos/CodeMonkeys3111/Web/issues/events{/number}","events_url":"https://api.github.com/repos/CodeMonkeys3111/Web/events","assignees_url":"https://api.github.com/repos/CodeMonkeys3111/Web/assignees{/user}","branches_url":"https://api.github.com/repos/CodeMonkeys3111/Web/branches{/branch}","tags_url":"https://api.github.com/repos/CodeMonkeys3111/Web/tags","blobs_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeMonkeys3111/Web/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeMonkeys3111/Web/languages","stargazers_url":"https://api.github.com/repos/CodeMonkeys3111/Web/stargazers","contributors_url":"https://api.github.com/repos/CodeMonkeys3111/Web/contributors","subscribers_url":"https://api.github.com/repos/CodeMonkeys3111/Web/subscribers","subscription_url":"https://api.github.com/repos/CodeMonkeys3111/Web/subscription","commits_url":"https://api.github.com/repos/CodeMonkeys3111/Web/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeMonkeys3111/Web/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeMonkeys3111/Web/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeMonkeys3111/Web/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeMonkeys3111/Web/contents/{+path}","compare_url":"https://api.github.com/repos/CodeMonkeys3111/Web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeMonkeys3111/Web/merges","archive_url":"https://api.github.com/repos/CodeMonkeys3111/Web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeMonkeys3111/Web/downloads","issues_url":"https://api.github.com/repos/CodeMonkeys3111/Web/issues{/number}","pulls_url":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeMonkeys3111/Web/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeMonkeys3111/Web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeMonkeys3111/Web/labels{/name}","releases_url":"https://api.github.com/repos/CodeMonkeys3111/Web/releases{/id}","created_at":"2015-09-29T02:15:18Z","updated_at":"2015-10-31T10:23:37Z","pushed_at":"2015-11-19T04:22:59Z","git_url":"git://github.com/CodeMonkeys3111/Web.git","ssh_url":"git@github.com:CodeMonkeys3111/Web.git","clone_url":"https://github.com/CodeMonkeys3111/Web.git","svn_url":"https://github.com/CodeMonkeys3111/Web","homepage":null,"size":344,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls/35"},"html":{"href":"https://github.com/CodeMonkeys3111/Web/pull/35"},"issue":{"href":"https://api.github.com/repos/CodeMonkeys3111/Web/issues/35"},"comments":{"href":"https://api.github.com/repos/CodeMonkeys3111/Web/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeMonkeys3111/Web/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/CodeMonkeys3111/Web/statuses/acafe23aa68c84373e791206336b67a9d6772927"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":149,"deletions":55,"changed_files":3}}