Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show first name/last name and initials in AuthWidget if set #411

Closed
eloquence opened this issue Jun 10, 2019 · 1 comment · Fixed by #455
Closed

Show first name/last name and initials in AuthWidget if set #411

eloquence opened this issue Jun 10, 2019 · 1 comment · Fixed by #455
Assignees
Labels

Comments

@eloquence
Copy link
Member

eloquence commented Jun 10, 2019

This task is blocked pending completion of SDK support (freedomofpress/securedrop-sdk#87).

As of freedomofpress/securedrop#4425 and freedomofpress/securedrop#4459, we have support for setting a first name and last name for a given Journalist Interface user, and for retrieving this data via the API. First and last name are optional, and are not used for authentication.

The first use case for this data is the "AuthWidget", the area in the top left of the client that shows who's currently logged in, and that provides access to signing out via a caret menu.

If first name and last name are set, the client should use this information instead of the username, both for showing the initials, and for the long form display of the username next to the initials.

See the screens tagged authwidget for the design spec.

Acceptance Criteria

Given that a first name and a last name are configured for my account
When I log into the SecureDrop Client
Then the first name and the last name should be shown, instead of my username
And the initials should be derived from my first and last name, instead of my username.

Given that a first name and a last name are not configured for my account
Then the behavior should be the same as before (username and username-derived first two letters).

User Story

As any user, when I am signed into the SecureDrop client, I want to see my first and last name reflected in the UI, because that feels more human and natural than seeing my username or email address.

[See the user stories spreadsheet for current prioritization of this functionality.]

@eloquence
Copy link
Member Author

(With the sprint load as high as it is, flagging that this is a good candidate to get bumped off the sprint, so let's treat it as lower priority relative to other tasks for now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants