{"action":"opened","number":99,"pull_request":{"url":"https://api.github.com/repos/Marri/glowfic/pulls/99","id":104681357,"html_url":"https://github.com/Marri/glowfic/pull/99","diff_url":"https://github.com/Marri/glowfic/pull/99.diff","patch_url":"https://github.com/Marri/glowfic/pull/99.patch","issue_url":"https://api.github.com/repos/Marri/glowfic/issues/99","number":99,"state":"open","locked":false,"title":"Fix characterswitch UI","user":{"login":"Throne3d","id":577128,"avatar_url":"https://avatars.githubusercontent.com/u/577128?v=3","gravatar_id":"","url":"https://api.github.com/users/Throne3d","html_url":"https://github.com/Throne3d","followers_url":"https://api.github.com/users/Throne3d/followers","following_url":"https://api.github.com/users/Throne3d/following{/other_user}","gists_url":"https://api.github.com/users/Throne3d/gists{/gist_id}","starred_url":"https://api.github.com/users/Throne3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Throne3d/subscriptions","organizations_url":"https://api.github.com/users/Throne3d/orgs","repos_url":"https://api.github.com/users/Throne3d/repos","events_url":"https://api.github.com/users/Throne3d/events{/privacy}","received_events_url":"https://api.github.com/users/Throne3d/received_events","type":"User","site_admin":false},"body":"In the post/reply editor:\r\n\r\n* On page load, when restoring a form (from Firefox saving), update the `active_character` dropdown to display the proper character.  \r\n(Further commit to scope the change event to `select2`.)\r\n\r\n* Display no icon if switching to an avatarless user account.  \r\n(Previously the icon would not disappear if switching to a user with no icon.)\r\n\r\n* Make the icon dropdown consistent between JS and HAML  \r\n  * Order icons in the dropdown by gallery if `icon_picker_grouping?` – matches the JSON behavior when swapping to characters with many galleries.  \r\n  * Display `character.icon` in the dropdown if there are no galleries – matches the JSON behavior when swapping to a character with no galleries but a default icon.\r\n\r\n* Use `character.icons` in a few places where the HAML was mapping galleries to icons, then flattening them and sorting them – this is for speed and memory purposes.","created_at":"2017-02-05T00:11:46Z","updated_at":"2017-02-05T00:11:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"Throne3d","id":577128,"avatar_url":"https://avatars.githubusercontent.com/u/577128?v=3","gravatar_id":"","url":"https://api.github.com/users/Throne3d","html_url":"https://github.com/Throne3d","followers_url":"https://api.github.com/users/Throne3d/followers","following_url":"https://api.github.com/users/Throne3d/following{/other_user}","gists_url":"https://api.github.com/users/Throne3d/gists{/gist_id}","starred_url":"https://api.github.com/users/Throne3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Throne3d/subscriptions","organizations_url":"https://api.github.com/users/Throne3d/orgs","repos_url":"https://api.github.com/users/Throne3d/repos","events_url":"https://api.github.com/users/Throne3d/events{/privacy}","received_events_url":"https://api.github.com/users/Throne3d/received_events","type":"User","site_admin":false},"assignees":[{"login":"Throne3d","id":577128,"avatar_url":"https://avatars.githubusercontent.com/u/577128?v=3","gravatar_id":"","url":"https://api.github.com/users/Throne3d","html_url":"https://github.com/Throne3d","followers_url":"https://api.github.com/users/Throne3d/followers","following_url":"https://api.github.com/users/Throne3d/following{/other_user}","gists_url":"https://api.github.com/users/Throne3d/gists{/gist_id}","starred_url":"https://api.github.com/users/Throne3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Throne3d/subscriptions","organizations_url":"https://api.github.com/users/Throne3d/orgs","repos_url":"https://api.github.com/users/Throne3d/repos","events_url":"https://api.github.com/users/Throne3d/events{/privacy}","received_events_url":"https://api.github.com/users/Throne3d/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Marri/glowfic/pulls/99/commits","review_comments_url":"https://api.github.com/repos/Marri/glowfic/pulls/99/comments","review_comment_url":"https://api.github.com/repos/Marri/glowfic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Marri/glowfic/issues/99/comments","statuses_url":"https://api.github.com/repos/Marri/glowfic/statuses/69e9fa6a8221aa8edc7843da9a7ef2dbbd8889d4","head":{"label":"Marri:fix-characterswitch-ui","ref":"fix-characterswitch-ui","sha":"69e9fa6a8221aa8edc7843da9a7ef2dbbd8889d4","user":{"login":"Marri","id":735954,"avatar_url":"https://avatars.githubusercontent.com/u/735954?v=3","gravatar_id":"","url":"https://api.github.com/users/Marri","html_url":"https://github.com/Marri","followers_url":"https://api.github.com/users/Marri/followers","following_url":"https://api.github.com/users/Marri/following{/other_user}","gists_url":"https://api.github.com/users/Marri/gists{/gist_id}","starred_url":"https://api.github.com/users/Marri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marri/subscriptions","organizations_url":"https://api.github.com/users/Marri/orgs","repos_url":"https://api.github.com/users/Marri/repos","events_url":"https://api.github.com/users/Marri/events{/privacy}","received_events_url":"https://api.github.com/users/Marri/received_events","type":"User","site_admin":false},"repo":{"id":80946864,"name":"glowfic","full_name":"Marri/glowfic","owner":{"login":"Marri","id":735954,"avatar_url":"https://avatars.githubusercontent.com/u/735954?v=3","gravatar_id":"","url":"https://api.github.com/users/Marri","html_url":"https://github.com/Marri","followers_url":"https://api.github.com/users/Marri/followers","following_url":"https://api.github.com/users/Marri/following{/other_user}","gists_url":"https://api.github.com/users/Marri/gists{/gist_id}","starred_url":"https://api.github.com/users/Marri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marri/subscriptions","organizations_url":"https://api.github.com/users/Marri/orgs","repos_url":"https://api.github.com/users/Marri/repos","events_url":"https://api.github.com/users/Marri/events{/privacy}","received_events_url":"https://api.github.com/users/Marri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Marri/glowfic","description":"The Glowfic Constellation","fork":false,"url":"https://api.github.com/repos/Marri/glowfic","forks_url":"https://api.github.com/repos/Marri/glowfic/forks","keys_url":"https://api.github.com/repos/Marri/glowfic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Marri/glowfic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Marri/glowfic/teams","hooks_url":"https://api.github.com/repos/Marri/glowfic/hooks","issue_events_url":"https://api.github.com/repos/Marri/glowfic/issues/events{/number}","events_url":"https://api.github.com/repos/Marri/glowfic/events","assignees_url":"https://api.github.com/repos/Marri/glowfic/assignees{/user}","branches_url":"https://api.github.com/repos/Marri/glowfic/branches{/branch}","tags_url":"https://api.github.com/repos/Marri/glowfic/tags","blobs_url":"https://api.github.com/repos/Marri/glowfic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Marri/glowfic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Marri/glowfic/git/refs{/sha}","trees_url":"https://api.github.com/repos/Marri/glowfic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Marri/glowfic/statuses/{sha}","languages_url":"https://api.github.com/repos/Marri/glowfic/languages","stargazers_url":"https://api.github.com/repos/Marri/glowfic/stargazers","contributors_url":"https://api.github.com/repos/Marri/glowfic/contributors","subscribers_url":"https://api.github.com/repos/Marri/glowfic/subscribers","subscription_url":"https://api.github.com/repos/Marri/glowfic/subscription","commits_url":"https://api.github.com/repos/Marri/glowfic/commits{/sha}","git_commits_url":"https://api.github.com/repos/Marri/glowfic/git/commits{/sha}","comments_url":"https://api.github.com/repos/Marri/glowfic/comments{/number}","issue_comment_url":"https://api.github.com/repos/Marri/glowfic/issues/comments{/number}","contents_url":"https://api.github.com/repos/Marri/glowfic/contents/{+path}","compare_url":"https://api.github.com/repos/Marri/glowfic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Marri/glowfic/merges","archive_url":"https://api.github.com/repos/Marri/glowfic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Marri/glowfic/downloads","issues_url":"https://api.github.com/repos/Marri/glowfic/issues{/number}","pulls_url":"https://api.github.com/repos/Marri/glowfic/pulls{/number}","milestones_url":"https://api.github.com/repos/Marri/glowfic/milestones{/number}","notifications_url":"https://api.github.com/repos/Marri/glowfic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Marri/glowfic/labels{/name}","releases_url":"https://api.github.com/repos/Marri/glowfic/releases{/id}","deployments_url":"https://api.github.com/repos/Marri/glowfic/deployments","created_at":"2017-02-04T20:37:13Z","updated_at":"2017-02-04T20:42:03Z","pushed_at":"2017-02-05T00:10:29Z","git_url":"git://github.com/Marri/glowfic.git","ssh_url":"git@github.com:Marri/glowfic.git","clone_url":"https://github.com/Marri/glowfic.git","svn_url":"https://github.com/Marri/glowfic","homepage":null,"size":1871,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":98,"forks":0,"open_issues":98,"watchers":0,"default_branch":"master"}},"base":{"label":"Marri:master","ref":"master","sha":"95923dba452873d08b127739f60eae92a6c66dcb","user":{"login":"Marri","id":735954,"avatar_url":"https://avatars.githubusercontent.com/u/735954?v=3","gravatar_id":"","url":"https://api.github.com/users/Marri","html_url":"https://github.com/Marri","followers_url":"https://api.github.com/users/Marri/followers","following_url":"https://api.github.com/users/Marri/following{/other_user}","gists_url":"https://api.github.com/users/Marri/gists{/gist_id}","starred_url":"https://api.github.com/users/Marri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marri/subscriptions","organizations_url":"https://api.github.com/users/Marri/orgs","repos_url":"https://api.github.com/users/Marri/repos","events_url":"https://api.github.com/users/Marri/events{/privacy}","received_events_url":"https://api.github.com/users/Marri/received_events","type":"User","site_admin":false},"repo":{"id":80946864,"name":"glowfic","full_name":"Marri/glowfic","owner":{"login":"Marri","id":735954,"avatar_url":"https://avatars.githubusercontent.com/u/735954?v=3","gravatar_id":"","url":"https://api.github.com/users/Marri","html_url":"https://github.com/Marri","followers_url":"https://api.github.com/users/Marri/followers","following_url":"https://api.github.com/users/Marri/following{/other_user}","gists_url":"https://api.github.com/users/Marri/gists{/gist_id}","starred_url":"https://api.github.com/users/Marri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marri/subscriptions","organizations_url":"https://api.github.com/users/Marri/orgs","repos_url":"https://api.github.com/users/Marri/repos","events_url":"https://api.github.com/users/Marri/events{/privacy}","received_events_url":"https://api.github.com/users/Marri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Marri/glowfic","description":"The Glowfic Constellation","fork":false,"url":"https://api.github.com/repos/Marri/glowfic","forks_url":"https://api.github.com/repos/Marri/glowfic/forks","keys_url":"https://api.github.com/repos/Marri/glowfic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Marri/glowfic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Marri/glowfic/teams","hooks_url":"https://api.github.com/repos/Marri/glowfic/hooks","issue_events_url":"https://api.github.com/repos/Marri/glowfic/issues/events{/number}","events_url":"https://api.github.com/repos/Marri/glowfic/events","assignees_url":"https://api.github.com/repos/Marri/glowfic/assignees{/user}","branches_url":"https://api.github.com/repos/Marri/glowfic/branches{/branch}","tags_url":"https://api.github.com/repos/Marri/glowfic/tags","blobs_url":"https://api.github.com/repos/Marri/glowfic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Marri/glowfic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Marri/glowfic/git/refs{/sha}","trees_url":"https://api.github.com/repos/Marri/glowfic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Marri/glowfic/statuses/{sha}","languages_url":"https://api.github.com/repos/Marri/glowfic/languages","stargazers_url":"https://api.github.com/repos/Marri/glowfic/stargazers","contributors_url":"https://api.github.com/repos/Marri/glowfic/contributors","subscribers_url":"https://api.github.com/repos/Marri/glowfic/subscribers","subscription_url":"https://api.github.com/repos/Marri/glowfic/subscription","commits_url":"https://api.github.com/repos/Marri/glowfic/commits{/sha}","git_commits_url":"https://api.github.com/repos/Marri/glowfic/git/commits{/sha}","comments_url":"https://api.github.com/repos/Marri/glowfic/comments{/number}","issue_comment_url":"https://api.github.com/repos/Marri/glowfic/issues/comments{/number}","contents_url":"https://api.github.com/repos/Marri/glowfic/contents/{+path}","compare_url":"https://api.github.com/repos/Marri/glowfic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Marri/glowfic/merges","archive_url":"https://api.github.com/repos/Marri/glowfic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Marri/glowfic/downloads","issues_url":"https://api.github.com/repos/Marri/glowfic/issues{/number}","pulls_url":"https://api.github.com/repos/Marri/glowfic/pulls{/number}","milestones_url":"https://api.github.com/repos/Marri/glowfic/milestones{/number}","notifications_url":"https://api.github.com/repos/Marri/glowfic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Marri/glowfic/labels{/name}","releases_url":"https://api.github.com/repos/Marri/glowfic/releases{/id}","deployments_url":"https://api.github.com/repos/Marri/glowfic/deployments","created_at":"2017-02-04T20:37:13Z","updated_at":"2017-02-04T20:42:03Z","pushed_at":"2017-02-05T00:10:29Z","git_url":"git://github.com/Marri/glowfic.git","ssh_url":"git@github.com:Marri/glowfic.git","clone_url":"https://github.com/Marri/glowfic.git","svn_url":"https://github.com/Marri/glowfic","homepage":null,"size":1871,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":98,"forks":0,"open_issues":98,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/99"},"html":{"href":"https://github.com/Marri/glowfic/pull/99"},"issue":{"href":"https://api.github.com/repos/Marri/glowfic/issues/99"},"comments":{"href":"https://api.github.com/repos/Marri/glowfic/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Marri/glowfic/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/Marri/glowfic/statuses/69e9fa6a8221aa8edc7843da9a7ef2dbbd8889d4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":14,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"Throne3d"}}