Skip to content

Commit

Permalink
Give user feedback when loading accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjgeiger committed Feb 6, 2024
1 parent 00d3d34 commit 57ff308
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/guid-node/addons/index/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@
data-test-addon-accept-terms-button
data-analytics-name='Accept Terms'
{{on 'click' manager.acceptTerms}}
disabled={{provider.getAuthorizedStorageAccounts.isRunning}}
>
{{t 'general.confirm'}}
{{#if provider.getAuthorizedStorageAccounts.isRunning}}
{{t 'addons.terms.accepting'}}
{{else}}
{{t 'general.confirm'}}
{{/if}}
</Button>
{{else if (eq manager.pageMode 'newOrExistingAccount')}}
<Button
Expand Down
1 change: 1 addition & 0 deletions translations/en-us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ addons:
no-results: 'No results found'
terms:
heading: '{providerName} Terms'
accepting: 'Accepting terms…'
accountSelect:
heading: 'Log in to {providerName} or select an account'
new-account: 'Setup new account'
Expand Down

0 comments on commit 57ff308

Please sign in to comment.