{"action":"created","issue":{"url":"https://api.github.com/repos/turtlecoin/turtle-wallet/issues/40","repository_url":"https://api.github.com/repos/turtlecoin/turtle-wallet","labels_url":"https://api.github.com/repos/turtlecoin/turtle-wallet/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/turtlecoin/turtle-wallet/issues/40/comments","events_url":"https://api.github.com/repos/turtlecoin/turtle-wallet/issues/40/events","html_url":"https://github.com/turtlecoin/turtle-wallet/pull/40","id":297946487,"number":40,"title":"UI improvements","user":{"login":"dbileck","id":603793,"avatar_url":"https://avatars1.githubusercontent.com/u/603793?v=4","gravatar_id":"","url":"https://api.github.com/users/dbileck","html_url":"https://github.com/dbileck","followers_url":"https://api.github.com/users/dbileck/followers","following_url":"https://api.github.com/users/dbileck/following{/other_user}","gists_url":"https://api.github.com/users/dbileck/gists{/gist_id}","starred_url":"https://api.github.com/users/dbileck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbileck/subscriptions","organizations_url":"https://api.github.com/users/dbileck/orgs","repos_url":"https://api.github.com/users/dbileck/repos","events_url":"https://api.github.com/users/dbileck/events{/privacy}","received_events_url":"https://api.github.com/users/dbileck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-16T23:02:06Z","updated_at":"2018-03-05T21:23:10Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/turtlecoin/turtle-wallet/pulls/40","html_url":"https://github.com/turtlecoin/turtle-wallet/pull/40","diff_url":"https://github.com/turtlecoin/turtle-wallet/pull/40.diff","patch_url":"https://github.com/turtlecoin/turtle-wallet/pull/40.patch"},"body":"This PR resolves the issue where the transaction list keeps resetting back to the top on each refresh (#11 ), making the list actually usable now. Also made a few other UI related tweaks.\r\n\r\n- Rather than clearing and repopulating the entire transaction list every refresh, append to it only if there are new transactions. This is done by storing the transaction hash as a hidden column and using it to determine if the transaction has already been added.\r\n\r\n- Rather than running a separate thread to continuously call GLib.idle_add in order to refresh the UI, utilize GLib.timeout_add_seconds. This reduces/simplifies the code a little.\r\n\r\n- Separate fetching wallet data from the UI refresh task. Occasionally fetching wallet data was taking longer than expected causing the UI to temporarily freeze.\r\n\r\n- When first launched, the available and locked balances now display 0 (rather than -1) as it may be confusing to see a negative value initially. Also, the status bar displays \"Loading...\" (rather than just \"Status\") until the UI is refreshed for the first time.\r\n\r\n- Change default mixin value to 3 rather than 0. I believe 3 is a reasonable default value and should be up to the user if they want to disable this privacy feature (by setting it to 0)."},"comment":{"url":"https://api.github.com/repos/turtlecoin/turtle-wallet/issues/comments/370570656","html_url":"https://github.com/turtlecoin/turtle-wallet/pull/40#issuecomment-370570656","issue_url":"https://api.github.com/repos/turtlecoin/turtle-wallet/issues/40","id":370570656,"user":{"login":"CaptainMeatloaf","id":3893247,"avatar_url":"https://avatars1.githubusercontent.com/u/3893247?v=4","gravatar_id":"","url":"https://api.github.com/users/CaptainMeatloaf","html_url":"https://github.com/CaptainMeatloaf","followers_url":"https://api.github.com/users/CaptainMeatloaf/followers","following_url":"https://api.github.com/users/CaptainMeatloaf/following{/other_user}","gists_url":"https://api.github.com/users/CaptainMeatloaf/gists{/gist_id}","starred_url":"https://api.github.com/users/CaptainMeatloaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaptainMeatloaf/subscriptions","organizations_url":"https://api.github.com/users/CaptainMeatloaf/orgs","repos_url":"https://api.github.com/users/CaptainMeatloaf/repos","events_url":"https://api.github.com/users/CaptainMeatloaf/events{/privacy}","received_events_url":"https://api.github.com/users/CaptainMeatloaf/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T21:23:09Z","updated_at":"2018-03-05T21:23:09Z","author_association":"COLLABORATOR","body":"Looks good to me! Seems to work as intended and fix a lot of the issues I had with responsiveness."}}
{"actor":{"display_login":"CaptainMeatloaf"}}