{"action":"created","issue":{"url":"https://api.github.com/repos/yasp-dota/yasp/issues/526","labels_url":"https://api.github.com/repos/yasp-dota/yasp/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/yasp-dota/yasp/issues/526/comments","events_url":"https://api.github.com/repos/yasp-dota/yasp/issues/526/events","html_url":"https://github.com/yasp-dota/yasp/pull/526","id":94905584,"number":526,"title":"quick button-based solution for histogram page - Speed Up!","user":{"login":"Aehrraid","id":6419798,"avatar_url":"https://avatars.githubusercontent.com/u/6419798?v=3","gravatar_id":"","url":"https://api.github.com/users/Aehrraid","html_url":"https://github.com/Aehrraid","followers_url":"https://api.github.com/users/Aehrraid/followers","following_url":"https://api.github.com/users/Aehrraid/following{/other_user}","gists_url":"https://api.github.com/users/Aehrraid/gists{/gist_id}","starred_url":"https://api.github.com/users/Aehrraid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aehrraid/subscriptions","organizations_url":"https://api.github.com/users/Aehrraid/orgs","repos_url":"https://api.github.com/users/Aehrraid/repos","events_url":"https://api.github.com/users/Aehrraid/events{/privacy}","received_events_url":"https://api.github.com/users/Aehrraid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-14T09:34:38Z","updated_at":"2015-07-14T09:55:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yasp-dota/yasp/pulls/526","html_url":"https://github.com/yasp-dota/yasp/pull/526","diff_url":"https://github.com/yasp-dota/yasp/pull/526.diff","patch_url":"https://github.com/yasp-dota/yasp/pull/526.patch"},"body":"(issue: https://github.com/yasp-dota/yasp/issues/460)\r\n\r\nFor every histogram graph there is a button titled with \"Duration\", \"Gold per Minute\". The button is a toggle-button (just like filter above). The button becomes darker if toggled. Initially the duration graph is shown.\r\n\r\nI could experience a third less loading time.. probably, because most of the graphs are \"display:none\" and not rendered therefore. Furthermore firefox instances do not show the \"stop script\" dialogue, because of reduced js-execution time.\r\n\r\nButton title processing needs some improvement though. --> awkward redundant key 2 title transformation\r\nThere is also an issue concerning the initially shown duration-chart. If it is clicked, it collapses and reopens quickly. It should close though.."},"comment":{"url":"https://api.github.com/repos/yasp-dota/yasp/issues/comments/121187419","html_url":"https://github.com/yasp-dota/yasp/pull/526#issuecomment-121187419","issue_url":"https://api.github.com/repos/yasp-dota/yasp/issues/526","id":121187419,"user":{"login":"Aehrraid","id":6419798,"avatar_url":"https://avatars.githubusercontent.com/u/6419798?v=3","gravatar_id":"","url":"https://api.github.com/users/Aehrraid","html_url":"https://github.com/Aehrraid","followers_url":"https://api.github.com/users/Aehrraid/followers","following_url":"https://api.github.com/users/Aehrraid/following{/other_user}","gists_url":"https://api.github.com/users/Aehrraid/gists{/gist_id}","starred_url":"https://api.github.com/users/Aehrraid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aehrraid/subscriptions","organizations_url":"https://api.github.com/users/Aehrraid/orgs","repos_url":"https://api.github.com/users/Aehrraid/repos","events_url":"https://api.github.com/users/Aehrraid/events{/privacy}","received_events_url":"https://api.github.com/users/Aehrraid/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T09:55:48Z","updated_at":"2015-07-14T09:55:48Z","body":"Thanks!\r\n\r\nRegarding your ideas:\r\n- We could enhance the toggle-buttons with check-marks.\r\n- We could change the css-color a bit more. Youre right. Checkboxes might solve this aswell.\r\n- I mentioned this above. But I don't see a quick fix for this. Maybe something like:\r\n   - Collapse all graphs.\r\n   - Simulate a .click() on one toggle-button. (This workarounds usually result in correct behaviour)\r\n\r\nI found another very minor issue: Toggle-buttons are not operating when using enter or space while tabbing through.\r\n"}}