-
Notifications
You must be signed in to change notification settings - Fork 166
Account page redesign (LG-3296) #4169
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
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
844ae6f
refactor account page a bit
acee842
placeholder
e93bb0d
lint
86e8679
rubocop
1993916
add redirect
0378802
fix backup codes spec
11c7422
add translations to mobile menu
1b91059
move two factor to own controller
f6d666d
move connected accounts to own controller
f63dbc5
move history to own controller
30005f9
fix indent
e73f0eb
fix menu not showing on tablets
011081b
fix some specs
8a27807
fix some specs
7f18ac5
rubocop
adb472b
fix greeting and header nav
186e1eb
fix more specs
651bfb7
double quotes in html attributes
2330d65
update redirects for piv/cac setup
79030cb
use USWDS breakpoints
e5588d3
convert navigation class method to being instantiated
0144981
rubocop
1ba6faa
csscop
9cbab8b
fix piv cac spec
3176909
remove semi-circle from user-access image
0070ef0
internationalization for new account banner
3848f43
normalize yaml
f4a926d
update events page to align with new account page design
730712e
review changes
909dbc3
update user access svg to hide bottom corners
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| module Accounts | ||
| class ConnectedAccountsController < ApplicationController | ||
| include RememberDeviceConcern | ||
| before_action :confirm_two_factor_authenticated | ||
|
|
||
| layout 'account_side_nav' | ||
|
|
||
| def show | ||
| @view_model = AccountShow.new( | ||
| decrypted_pii: nil, | ||
| personal_key: flash[:personal_key], | ||
| decorated_user: current_user.decorate, | ||
| locked_for_session: pii_locked_for_session?(current_user), | ||
| ) | ||
| end | ||
| end | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| module Accounts | ||
| class HistoryController < ApplicationController | ||
| include RememberDeviceConcern | ||
| before_action :confirm_two_factor_authenticated | ||
|
|
||
| layout 'account_side_nav' | ||
|
|
||
| def show | ||
| @view_model = AccountShow.new( | ||
| decrypted_pii: nil, | ||
| personal_key: flash[:personal_key], | ||
| decorated_user: current_user.decorate, | ||
| locked_for_session: pii_locked_for_session?(current_user), | ||
| ) | ||
| end | ||
| end | ||
| end |
18 changes: 18 additions & 0 deletions
18
app/controllers/accounts/two_factor_authentication_controller.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| module Accounts | ||
| class TwoFactorAuthenticationController < ApplicationController | ||
| include RememberDeviceConcern | ||
| before_action :confirm_two_factor_authenticated | ||
|
|
||
| layout 'account_side_nav' | ||
|
|
||
| def show | ||
| session[:account_redirect_path] = account_two_factor_authentication_path | ||
| @view_model = AccountShow.new( | ||
| decrypted_pii: nil, | ||
| personal_key: flash[:personal_key], | ||
| decorated_user: current_user.decorate, | ||
| locked_for_session: pii_locked_for_session?(current_user), | ||
| ) | ||
| end | ||
| end | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.