{"action":"opened","issue":{"url":"https://api.github.com/repos/PyPlanet/PyPlanet/issues/687","repository_url":"https://api.github.com/repos/PyPlanet/PyPlanet","labels_url":"https://api.github.com/repos/PyPlanet/PyPlanet/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/PyPlanet/PyPlanet/issues/687/comments","events_url":"https://api.github.com/repos/PyPlanet/PyPlanet/issues/687/events","html_url":"https://github.com/PyPlanet/PyPlanet/issues/687","id":333102220,"node_id":"MDU6SXNzdWUzMzMxMDIyMjA=","number":687,"title":"Also shuffle /list when using //shuffle and allowing to specify an order for a map","user":{"login":"Harest","id":1409984,"node_id":"MDQ6VXNlcjE0MDk5ODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1409984?v=4","gravatar_id":"","url":"https://api.github.com/users/Harest","html_url":"https://github.com/Harest","followers_url":"https://api.github.com/users/Harest/followers","following_url":"https://api.github.com/users/Harest/following{/other_user}","gists_url":"https://api.github.com/users/Harest/gists{/gist_id}","starred_url":"https://api.github.com/users/Harest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Harest/subscriptions","organizations_url":"https://api.github.com/users/Harest/orgs","repos_url":"https://api.github.com/users/Harest/repos","events_url":"https://api.github.com/users/Harest/events{/privacy}","received_events_url":"https://api.github.com/users/Harest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-17T23:40:41Z","updated_at":"2018-06-17T23:40:41Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nCf. discussion in #600, here are 2 ideas that came out of it. One change and one feature to eventually add at some point. Relatively minor, but it allows a better control of the way maps follow each other.  \r\n\r\n- [ ] Change : When using the `//shuffle` command, also shuffle the list displayed with the `/list` command so it properly reflect the current maps order.  \r\n- [ ] New feature : Adding an order field for each map that can be modified. _And better than a swap, just moving the order of all maps in between is way more intuitive, e.g. : If the new order position is inferior to the current one, >= new position and < old position -> order++. If the new position is superior to the current one, > old position and <= new position -> order--._  "}}
{"actor":{"display_login":"Harest"}}