{"action":"created","issue":{"url":"https://api.github.com/repos/mattrubin/Authenticator/issues/290","repository_url":"https://api.github.com/repos/mattrubin/Authenticator","labels_url":"https://api.github.com/repos/mattrubin/Authenticator/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/mattrubin/Authenticator/issues/290/comments","events_url":"https://api.github.com/repos/mattrubin/Authenticator/issues/290/events","html_url":"https://github.com/mattrubin/Authenticator/pull/290","id":363755467,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MTEwNzY3","number":290,"title":"Settings screen for password digit grouping","user":{"login":"mattrubin","id":532638,"node_id":"MDQ6VXNlcjUzMjYzOA==","avatar_url":"https://avatars2.githubusercontent.com/u/532638?v=4","gravatar_id":"","url":"https://api.github.com/users/mattrubin","html_url":"https://github.com/mattrubin","followers_url":"https://api.github.com/users/mattrubin/followers","following_url":"https://api.github.com/users/mattrubin/following{/other_user}","gists_url":"https://api.github.com/users/mattrubin/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrubin/subscriptions","organizations_url":"https://api.github.com/users/mattrubin/orgs","repos_url":"https://api.github.com/users/mattrubin/repos","events_url":"https://api.github.com/users/mattrubin/events{/privacy}","received_events_url":"https://api.github.com/users/mattrubin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mattrubin/Authenticator/milestones/7","html_url":"https://github.com/mattrubin/Authenticator/milestone/7","labels_url":"https://api.github.com/repos/mattrubin/Authenticator/milestones/7/labels","id":3291444,"node_id":"MDk6TWlsZXN0b25lMzI5MTQ0NA==","number":7,"title":"2.next","description":"","creator":{"login":"mattrubin","id":532638,"node_id":"MDQ6VXNlcjUzMjYzOA==","avatar_url":"https://avatars2.githubusercontent.com/u/532638?v=4","gravatar_id":"","url":"https://api.github.com/users/mattrubin","html_url":"https://github.com/mattrubin","followers_url":"https://api.github.com/users/mattrubin/followers","following_url":"https://api.github.com/users/mattrubin/following{/other_user}","gists_url":"https://api.github.com/users/mattrubin/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrubin/subscriptions","organizations_url":"https://api.github.com/users/mattrubin/orgs","repos_url":"https://api.github.com/users/mattrubin/repos","events_url":"https://api.github.com/users/mattrubin/events{/privacy}","received_events_url":"https://api.github.com/users/mattrubin/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":4,"state":"open","created_at":"2018-04-24T02:04:20Z","updated_at":"2018-09-26T01:46:54Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-09-25T20:35:16Z","updated_at":"2018-09-26T02:52:30Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/mattrubin/Authenticator/pulls/290","html_url":"https://github.com/mattrubin/Authenticator/pull/290","diff_url":"https://github.com/mattrubin/Authenticator/pull/290.diff","patch_url":"https://github.com/mattrubin/Authenticator/pull/290.patch"},"body":"**TL;DR:** This PR adds a settings screen that allows the user to choose whether they prefer passwords rendered in groups of two digits or groups of three.\r\n\r\n----- \r\n\r\nThis PR is the result of two separate issues I've been thinking about for a long time:\r\n1. [Version 2.0](https://github.com/mattrubin/Authenticator/releases/tag/2.0.0) of the app changed how passwords are displayed: instead of showing the whole password as a single string of digits, the passwords are [chunked](https://en.wikipedia.org/wiki/Chunking_(psychology)) into two-digit groups to make them easier to read and remember. Since then, several users of the app [have reported](https://github.com/mattrubin/Authenticator/issues/214) that they have an easier time remembering six-digit passwords when they are chunked into groups of three digits. A [pull request](https://github.com/mattrubin/Authenticator/pull/216) from @beaucollins proposed to change the chunk size dynamically based on the length of the password, but despite the cleverness of this approach, it never quite felt like the right solution to me.\r\n   I avoided making any changes on this for almost a year, for a very simple reason – I personally find it much easier to read and remember passwords chunked into groups of two, and the handful of users I had originally asked for input felt the same way. (At least one user wrote in an App Store review that the two-digit grouping is _the_ specific reason they use Authenticator over other two-factor apps.) I have been reluctant to make any changes when the current two-digit chunking strategy has been working for (anecdotally) most users.\r\n2. As long as I have been developing Authenticator, I have tried to keep the app as simple as possible. I want the app to be clear and straightforward for users, and I didn't want to add a settings screen with a bunch of potentially-confusing options. In addition to complexity for users, adding user settings increases the number of different states in which the app operates, and can make testing and debugging significantly more complicated. For these reasons, I've avoided adding a settings screen to the app.\r\n\r\nAfter thinking over the best way to present passwords that are readable and memorable for all users, I've concluded that the solution is to overcome my reluctance to add a settings screen to the app, and to add a toggle allowing the user to pick how they prefer for passwords to be grouped. Currently, the options are groups of two digits or groups of three digits. If I receive further user feedback on the issue, I will consider adding more options, but for now I want to keep things as simple as possible. While I think [the approach](https://github.com/mattrubin/Authenticator/pull/216) of changing the chunk size based on password length is aesthetically pleasing, I have found in my conversations with users that preferred chunk size for ease of memorization seems constant for a given person, regardless of password length.\r\n\r\nI would love to hear what people think of this approach, and in particular to know whether this is is a satisfactory solution for those who prefer passwords in groups of three digits.\r\n\r\n\r\n<img alt=\"Screenshot with passwords in groups of two digits\" src=\"https://user-images.githubusercontent.com/532638/46041685-62a5ae80-c0e1-11e8-8ef4-dc9089facaf7.png\" width=\"30%\"> <img alt=\"Screenshot of settings screen with toggle for password grouping size\" src=\"https://user-images.githubusercontent.com/532638/46041690-6802f900-c0e1-11e8-9b67-4df55f2b8d2c.png\" width=\"30%\"> <img alt=\"Screenshot with passwords in groups of three digits\" src=\"https://user-images.githubusercontent.com/532638/46041698-6afde980-c0e1-11e8-8f79-f507cfabccee.png\" width=\"30%\">"},"comment":{"url":"https://api.github.com/repos/mattrubin/Authenticator/issues/comments/424567244","html_url":"https://github.com/mattrubin/Authenticator/pull/290#issuecomment-424567244","issue_url":"https://api.github.com/repos/mattrubin/Authenticator/issues/290","id":424567244,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDU2NzI0NA==","user":{"login":"mattrubin","id":532638,"node_id":"MDQ6VXNlcjUzMjYzOA==","avatar_url":"https://avatars2.githubusercontent.com/u/532638?v=4","gravatar_id":"","url":"https://api.github.com/users/mattrubin","html_url":"https://github.com/mattrubin","followers_url":"https://api.github.com/users/mattrubin/followers","following_url":"https://api.github.com/users/mattrubin/following{/other_user}","gists_url":"https://api.github.com/users/mattrubin/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrubin/subscriptions","organizations_url":"https://api.github.com/users/mattrubin/orgs","repos_url":"https://api.github.com/users/mattrubin/repos","events_url":"https://api.github.com/users/mattrubin/events{/privacy}","received_events_url":"https://api.github.com/users/mattrubin/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T02:52:30Z","updated_at":"2018-09-26T02:52:30Z","author_association":"OWNER","body":"@mide @beaucollins Thanks for the feedback!"}}
{"actor":{"display_login":"mattrubin"}}