Adds the token name to the Profile link in the top nav (#20539)

This commit is contained in:
Phil Renaud
2024-05-08 12:33:58 -04:00
committed by GitHub
parent fe1533e638
commit 8620fdca85
2 changed files with 5 additions and 3 deletions

3
.changelog/20539.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:improvement
ui: Added token.name information to the top nav for ease of operator debugging
```

View File

@@ -7,9 +7,8 @@
<Hds::Dropdown @color="secondary" class="profile-dropdown"
{{keyboard-shortcut menuLevel=true pattern=(array "g" "p") }}
as |dd|>
<dd.ToggleIcon @color="secondary" @icon="user-circle" @text="user menu" @size="small" data-test-header-profile-dropdown />
<dd.Title @text="Signed In" />
<dd.Description @text={{this.token.selfToken.name}} />
<dd.ToggleButton @color="secondary" @icon="user-circle" @text={{this.token.selfToken.name}} @size="small" data-test-header-profile-dropdown />
<dd.Description @text="Signed In" />
<dd.Separator />
<dd.Interactive @route="settings.tokens" @text="Profile" data-test-profile-dropdown-profile-link />
<dd.Interactive {{on "click" this.signOut}} @text="Sign Out" @color="critical" data-test-profile-dropdown-sign-out-link />