{"action":"created","issue":{"url":"https://api.github.com/repos/hbrands/jira-import-test/issues/39","repository_url":"https://api.github.com/repos/hbrands/jira-import-test","labels_url":"https://api.github.com/repos/hbrands/jira-import-test/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/hbrands/jira-import-test/issues/39/comments","events_url":"https://api.github.com/repos/hbrands/jira-import-test/issues/39/events","html_url":"https://github.com/hbrands/jira-import-test/issues/39","id":168524431,"number":39,"title":"Sorting clears selection","user":{"login":"hbrands","id":7273079,"avatar_url":"https://avatars.githubusercontent.com/u/7273079?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrands","html_url":"https://github.com/hbrands","followers_url":"https://api.github.com/users/hbrands/followers","following_url":"https://api.github.com/users/hbrands/following{/other_user}","gists_url":"https://api.github.com/users/hbrands/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrands/subscriptions","organizations_url":"https://api.github.com/users/hbrands/orgs","repos_url":"https://api.github.com/users/hbrands/repos","events_url":"https://api.github.com/users/hbrands/events{/privacy}","received_events_url":"https://api.github.com/users/hbrands/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hbrands/jira-import-test/labels/www","name":"www","color":"474809"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/hbrands/jira-import-test/milestones/3","html_url":"https://github.com/hbrands/jira-import-test/milestones/milestone%201","labels_url":"https://api.github.com/repos/hbrands/jira-import-test/milestones/3/labels","id":1914087,"number":3,"title":"milestone 1","description":null,"creator":{"login":"hbrands","id":7273079,"avatar_url":"https://avatars.githubusercontent.com/u/7273079?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrands","html_url":"https://github.com/hbrands","followers_url":"https://api.github.com/users/hbrands/followers","following_url":"https://api.github.com/users/hbrands/following{/other_user}","gists_url":"https://api.github.com/users/hbrands/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrands/subscriptions","organizations_url":"https://api.github.com/users/hbrands/orgs","repos_url":"https://api.github.com/users/hbrands/repos","events_url":"https://api.github.com/users/hbrands/events{/privacy}","received_events_url":"https://api.github.com/users/hbrands/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":38,"state":"open","created_at":"2016-07-31T15:47:22Z","updated_at":"2016-07-31T15:57:03Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-07-31T15:57:02Z","updated_at":"2016-07-31T15:57:09Z","closed_at":"2016-07-31T15:57:03Z","body":"<p>This problem will be very difficult to solve using the current Glazed Lists framework, but it is a valid <br/>\nproblem. Sorting clears the selection. </p>\n\n<p>The only fix I can think of is to add a new type of event alongside INSERT, UPDATE and DELETE which is <br/>\ncalled MOVE. I think it is kind of an ugly hack on principal because it will impact all other lists if it is <br/>\nimplemented. </p>\n\n<p>I will have to give this one some more thought. Saving selection by value may be one option but that is <br/>\nalso rather a big ugly hack.</p>\n<i>[GLAZEDLISTS-39] created by jessewilson at Tue, 13 Apr 2004 15:41:26 +0200, resolved Wed, 11 Aug 2004 17:05:01 +0200</i>"},"comment":{"url":"https://api.github.com/repos/hbrands/jira-import-test/issues/comments/236437949","html_url":"https://github.com/hbrands/jira-import-test/issues/39#issuecomment-236437949","issue_url":"https://api.github.com/repos/hbrands/jira-import-test/issues/39","id":236437949,"user":{"login":"hbrands","id":7273079,"avatar_url":"https://avatars.githubusercontent.com/u/7273079?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrands","html_url":"https://github.com/hbrands","followers_url":"https://api.github.com/users/hbrands/followers","following_url":"https://api.github.com/users/hbrands/following{/other_user}","gists_url":"https://api.github.com/users/hbrands/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrands/subscriptions","organizations_url":"https://api.github.com/users/hbrands/orgs","repos_url":"https://api.github.com/users/hbrands/repos","events_url":"https://api.github.com/users/hbrands/events{/privacy}","received_events_url":"https://api.github.com/users/hbrands/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T15:57:09Z","updated_at":"2016-07-31T15:57:09Z","body":"<p>After a bunch of thinking I have come to the conclusion that this solution can<br/>\nbe implemented without compromising the rest of Glazed Lists.</p>\n\n<p>Here is my idea:<br/>\nAdd an extra property to each change event called \"is reorder\". Such events will<br/>\nalways contain remove all and insert all events so that they can be processed as<br/>\nthey are currently by regular lists. But lists that are reorder-aware can view<br/>\nthe reorder property and get an array of reorder indicies. </p>\n\n<p>Having reorder supported in lists like filter list will improve performance!<br/>\nSuppose a sorted list is filtered. Then if that list is resorted, each element<br/>\nis currently tested to see if it shall still be filtered. But if the filter list<br/>\nsupports reordering, it can use the reorder and not need to refilter.</p>\n<i>jessewilson Fri, 25 Jun 2004 09:35:47 +0200</i>"}}
{"actor":{"display_login":"hbrands"}}