{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6007","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6007/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6007/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6007/events","html_url":"https://github.com/HabitRPG/habitrpg/pull/6007","id":109678467,"number":6007,"title":"Fixes #2711 - \"Auto-equip new gear\" setting","user":{"login":"locks","id":32344,"avatar_url":"https://avatars.githubusercontent.com/u/32344?v=3","gravatar_id":"","url":"https://api.github.com/users/locks","html_url":"https://github.com/locks","followers_url":"https://api.github.com/users/locks/followers","following_url":"https://api.github.com/users/locks/following{/other_user}","gists_url":"https://api.github.com/users/locks/gists{/gist_id}","starred_url":"https://api.github.com/users/locks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locks/subscriptions","organizations_url":"https://api.github.com/users/locks/orgs","repos_url":"https://api.github.com/users/locks/repos","events_url":"https://api.github.com/users/locks/events{/privacy}","received_events_url":"https://api.github.com/users/locks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-10-04T12:25:00Z","updated_at":"2015-10-30T10:19:14Z","closed_at":"2015-10-29T17:25:29Z","pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/6007","html_url":"https://github.com/HabitRPG/habitrpg/pull/6007","diff_url":"https://github.com/HabitRPG/habitrpg/pull/6007.diff","patch_url":"https://github.com/HabitRPG/habitrpg/pull/6007.patch"},"body":"Fixes #2711.\r\n\r\nAs discussed in the linked issue, this adds an `Auto-equip new gear` toggle to the Equipment section.\r\nWhen checked, newly bought gear will be auto-equipped. When unchecked, newly bought gear will not be auto-equipped.\r\nBy default this option will be turned on.\r\n\r\n# UI change\r\n![Auto-equip new gear](https://cloud.githubusercontent.com/assets/32344/10267968/4105fd0a-6aa1-11e5-863d-d0d036d67b3f.png)\r\n\r\n# Tasks\r\n- [x] Update UI\r\n- [x] Update user schema\r\n- [x] Add localization key\r\n- [x] Update equipping logic\r\n- [x] Test functionality"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/152484360","html_url":"https://github.com/HabitRPG/habitrpg/pull/6007#issuecomment-152484360","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/6007","id":152484360,"user":{"login":"Alys","id":1495809,"avatar_url":"https://avatars.githubusercontent.com/u/1495809?v=3","gravatar_id":"","url":"https://api.github.com/users/Alys","html_url":"https://github.com/Alys","followers_url":"https://api.github.com/users/Alys/followers","following_url":"https://api.github.com/users/Alys/following{/other_user}","gists_url":"https://api.github.com/users/Alys/gists{/gist_id}","starred_url":"https://api.github.com/users/Alys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alys/subscriptions","organizations_url":"https://api.github.com/users/Alys/orgs","repos_url":"https://api.github.com/users/Alys/repos","events_url":"https://api.github.com/users/Alys/events{/privacy}","received_events_url":"https://api.github.com/users/Alys/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T10:19:14Z","updated_at":"2015-10-30T10:19:14Z","body":"@locks Your PR will be even more appreciated. :) This is a long-desired feature!\r\n\r\n@lemoness I believe this will be worth mentioning in a Bailey. See the screenshot at the top of this PR. It's live now on the Equipment page.\r\n\r\n@locks, if it does go in a Bailey \"What's New\" message, what name would you like to be used for yourself? Most often we use Habitica profile names, but we could also use your real name or github username."}}