{"action":"created","issue":{"url":"https://api.github.com/repos/imas/mastodon/issues/165","repository_url":"https://api.github.com/repos/imas/mastodon","labels_url":"https://api.github.com/repos/imas/mastodon/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/imas/mastodon/issues/165/comments","events_url":"https://api.github.com/repos/imas/mastodon/issues/165/events","html_url":"https://github.com/imas/mastodon/issues/165","id":317728869,"node_id":"MDU6SXNzdWUzMTc3Mjg4Njk=","number":165,"title":"まれにトレンドタグの順位が正しくない","user":{"login":"fvh-P","id":8458066,"node_id":"MDQ6VXNlcjg0NTgwNjY=","avatar_url":"https://avatars3.githubusercontent.com/u/8458066?v=4","gravatar_id":"","url":"https://api.github.com/users/fvh-P","html_url":"https://github.com/fvh-P","followers_url":"https://api.github.com/users/fvh-P/followers","following_url":"https://api.github.com/users/fvh-P/following{/other_user}","gists_url":"https://api.github.com/users/fvh-P/gists{/gist_id}","starred_url":"https://api.github.com/users/fvh-P/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvh-P/subscriptions","organizations_url":"https://api.github.com/users/fvh-P/orgs","repos_url":"https://api.github.com/users/fvh-P/repos","events_url":"https://api.github.com/users/fvh-P/events{/privacy}","received_events_url":"https://api.github.com/users/fvh-P/received_events","type":"User","site_admin":false},"labels":[{"id":584369895,"node_id":"MDU6TGFiZWw1ODQzNjk4OTU=","url":"https://api.github.com/repos/imas/mastodon/labels/bug","name":"bug","color":"ee0701","default":true},{"id":699231331,"node_id":"MDU6TGFiZWw2OTkyMzEzMzE=","url":"https://api.github.com/repos/imas/mastodon/labels/priority%20middle","name":"priority middle","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-25T17:46:10Z","updated_at":"2018-06-20T09:16:57Z","closed_at":null,"author_association":"COLLABORATOR","body":"Sometimes the order of the trend tags is incorrect.\r\nImmutable.fromJS() does **not** seem to preserve the order of the passed JSON. I guess it causes this problem.\r\n\r\n#154 と#158 でトレンドタグの保存にソート済みセット型を使い始めてから、トレンドタグの順位が正しくない不具合がまれに発生します。\r\nChromeのJSコンソールを使用して検証したところ、Immutable.fromJS()が**渡されたJSONの順番を保持していない**ように見えるので、それが原因ではないかと推測しています。\r\n\r\nスクリーンショットなどを撮り忘れたので引き続き調査します。"},"comment":{"url":"https://api.github.com/repos/imas/mastodon/issues/comments/398682068","html_url":"https://github.com/imas/mastodon/issues/165#issuecomment-398682068","issue_url":"https://api.github.com/repos/imas/mastodon/issues/165","id":398682068,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODY4MjA2OA==","user":{"login":"deflis","id":206113,"node_id":"MDQ6VXNlcjIwNjExMw==","avatar_url":"https://avatars0.githubusercontent.com/u/206113?v=4","gravatar_id":"","url":"https://api.github.com/users/deflis","html_url":"https://github.com/deflis","followers_url":"https://api.github.com/users/deflis/followers","following_url":"https://api.github.com/users/deflis/following{/other_user}","gists_url":"https://api.github.com/users/deflis/gists{/gist_id}","starred_url":"https://api.github.com/users/deflis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deflis/subscriptions","organizations_url":"https://api.github.com/users/deflis/orgs","repos_url":"https://api.github.com/users/deflis/repos","events_url":"https://api.github.com/users/deflis/events{/privacy}","received_events_url":"https://api.github.com/users/deflis/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T09:16:57Z","updated_at":"2018-06-20T09:16:57Z","author_association":"COLLABORATOR","body":"Mapだと順番が保証されないのかも。保証したいならOrderedSetに変換するしかなさそうな。"}}
{"actor":{"display_login":"deflis"}}