{"action":"created","issue":{"url":"https://api.github.com/repos/opf/openproject/issues/2899","labels_url":"https://api.github.com/repos/opf/openproject/issues/2899/labels{/name}","comments_url":"https://api.github.com/repos/opf/openproject/issues/2899/comments","events_url":"https://api.github.com/repos/opf/openproject/issues/2899/events","html_url":"https://github.com/opf/openproject/pull/2899","id":70099616,"number":2899,"title":"Fix watchers tab","user":{"login":"NobodysNightmare","id":453584,"avatar_url":"https://avatars.githubusercontent.com/u/453584?v=3","gravatar_id":"","url":"https://api.github.com/users/NobodysNightmare","html_url":"https://github.com/NobodysNightmare","followers_url":"https://api.github.com/users/NobodysNightmare/followers","following_url":"https://api.github.com/users/NobodysNightmare/following{/other_user}","gists_url":"https://api.github.com/users/NobodysNightmare/gists{/gist_id}","starred_url":"https://api.github.com/users/NobodysNightmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NobodysNightmare/subscriptions","organizations_url":"https://api.github.com/users/NobodysNightmare/orgs","repos_url":"https://api.github.com/users/NobodysNightmare/repos","events_url":"https://api.github.com/users/NobodysNightmare/events{/privacy}","received_events_url":"https://api.github.com/users/NobodysNightmare/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opf/openproject/labels/bugfix","name":"bugfix","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-22T11:20:37Z","updated_at":"2015-04-22T11:51:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opf/openproject/pulls/2899","html_url":"https://github.com/opf/openproject/pull/2899","diff_url":"https://github.com/opf/openproject/pull/2899.diff","patch_url":"https://github.com/opf/openproject/pull/2899.patch"},"body":"## OpenProject work package\r\n\r\nhttps://community.openproject.org/work_packages/19605\r\n\r\n## Description\r\n\r\nThe issue that username and avatar are not displayed was solved quite easily by reintroducing a deleted directive.\r\n\r\nHowever, I still think that the watchers tab is far from ideal:\r\n\r\n![watchers-tab](https://cloud.githubusercontent.com/assets/453584/7273214/bbb1a1da-e8f1-11e4-8e8e-8a23cfa9e7f7.PNG)\r\n\r\nThe user name is displayed in three different places:\r\n\r\n* where you can delete the user\r\n* above the select2\r\n* inside the select2\r\n\r\nIMHO only the first place makes sense... or only the last one, but then it is questionable why we need a whole tab at all, because the tab would basically only contain a single select2.\r\n\r\nWhat's also weird is that the text above the select2 and the select2 itself are not updated instantly, but need a reload of the watchers tab to occur.\r\n\r\nI think there are no visuals for that tab, so nothing is defined and everything is allowed. Not sure if we got time to improve stuff, though."},"comment":{"url":"https://api.github.com/repos/opf/openproject/issues/comments/95147642","html_url":"https://github.com/opf/openproject/pull/2899#issuecomment-95147642","issue_url":"https://api.github.com/repos/opf/openproject/issues/2899","id":95147642,"user":{"login":"NobodysNightmare","id":453584,"avatar_url":"https://avatars.githubusercontent.com/u/453584?v=3","gravatar_id":"","url":"https://api.github.com/users/NobodysNightmare","html_url":"https://github.com/NobodysNightmare","followers_url":"https://api.github.com/users/NobodysNightmare/followers","following_url":"https://api.github.com/users/NobodysNightmare/following{/other_user}","gists_url":"https://api.github.com/users/NobodysNightmare/gists{/gist_id}","starred_url":"https://api.github.com/users/NobodysNightmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NobodysNightmare/subscriptions","organizations_url":"https://api.github.com/users/NobodysNightmare/orgs","repos_url":"https://api.github.com/users/NobodysNightmare/repos","events_url":"https://api.github.com/users/NobodysNightmare/events{/privacy}","received_events_url":"https://api.github.com/users/NobodysNightmare/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T11:51:20Z","updated_at":"2015-04-22T11:51:20Z","body":"@myabc This is what I meant:\r\n\r\n> or only the last one, but then it is questionable why we need a whole tab at all, because the tab would basically only contain a single select2.\r\n\r\nI don't think that this would make for an aesthetic experience.\r\n\r\nThat is why I would prefer to have the list with users and their delete buttons (the thing that I repair with this PR) and below that list only a single select2 box, used to add users to the aforementioned list. That means the select2 will not mirror the whole list of selected users.\r\n\r\nHowever, that is only my personal cup of tea, your idea is perfectly valid too. And for the sake of this bug we need to do neither..."}}