{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-contacts/issues/240","repository_url":"https://api.github.com/repos/cozy/cozy-contacts","labels_url":"https://api.github.com/repos/cozy/cozy-contacts/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-contacts/issues/240/comments","events_url":"https://api.github.com/repos/cozy/cozy-contacts/issues/240/events","html_url":"https://github.com/cozy/cozy-contacts/pull/240","id":131300581,"number":240,"title":"Add tag to selected contacts","user":{"login":"misstick","id":1177627,"avatar_url":"https://avatars.githubusercontent.com/u/1177627?v=3","gravatar_id":"","url":"https://api.github.com/users/misstick","html_url":"https://github.com/misstick","followers_url":"https://api.github.com/users/misstick/followers","following_url":"https://api.github.com/users/misstick/following{/other_user}","gists_url":"https://api.github.com/users/misstick/gists{/gist_id}","starred_url":"https://api.github.com/users/misstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misstick/subscriptions","organizations_url":"https://api.github.com/users/misstick/orgs","repos_url":"https://api.github.com/users/misstick/repos","events_url":"https://api.github.com/users/misstick/events{/privacy}","received_events_url":"https://api.github.com/users/misstick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-04T10:13:17Z","updated_at":"2016-02-04T11:37:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-contacts/pulls/240","html_url":"https://github.com/cozy/cozy-contacts/pull/240","diff_url":"https://github.com/cozy/cozy-contacts/pull/240.diff","patch_url":"https://github.com/cozy/cozy-contacts/pull/240.patch"},"body":"I want to add tags to a contact selection list.\r\n\r\n - I choose 3 contacts,\r\n - a list of tags appear in contextual menu (radio button list disappear),\r\n - I can choose one or more tags (select/unselect),\r\n - those tags are added/removes from selected contacts.\r\n\r\n## tasks\r\n###  I select some contacts\r\n- [x] show contextual menu\r\n- [x] default menu is hidden\r\n- [ ] display a list of tags with checkbox\r\n- [ ] select used tags\r\n- [ ] sort selected tags to display them on top\r\n- [ ] if a tag is not checked for all, use ‘mixed’ value\r\n\r\n### unselect some tags\r\n - [ ] update tags list models\r\n\r\n### if no selection\r\n - [ ] contextual menu disappear\r\n"},"comment":{"url":"https://api.github.com/repos/cozy/cozy-contacts/issues/comments/179783495","html_url":"https://github.com/cozy/cozy-contacts/pull/240#issuecomment-179783495","issue_url":"https://api.github.com/repos/cozy/cozy-contacts/issues/240","id":179783495,"user":{"login":"frankrousseau","id":1336623,"avatar_url":"https://avatars.githubusercontent.com/u/1336623?v=3","gravatar_id":"","url":"https://api.github.com/users/frankrousseau","html_url":"https://github.com/frankrousseau","followers_url":"https://api.github.com/users/frankrousseau/followers","following_url":"https://api.github.com/users/frankrousseau/following{/other_user}","gists_url":"https://api.github.com/users/frankrousseau/gists{/gist_id}","starred_url":"https://api.github.com/users/frankrousseau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankrousseau/subscriptions","organizations_url":"https://api.github.com/users/frankrousseau/orgs","repos_url":"https://api.github.com/users/frankrousseau/repos","events_url":"https://api.github.com/users/frankrousseau/events{/privacy}","received_events_url":"https://api.github.com/users/frankrousseau/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T11:37:38Z","updated_at":"2016-02-04T11:37:38Z","body":"Yes it's better! Next time, don't hesitate to add information about your technical choices."}}