[PM-6397] [AC-2141] [PM-6449] VVR Design Follow Up Fixes (#8077)

* [AC-2141] Re-order products in product switcher

* [PM-6397] Fix missing accessibility text

* [PM-6449] Fix casing on left side nav
This commit is contained in:
Shane Melton 2024-02-23 14:43:14 -08:00 committed by GitHub
parent 44bda82bc4
commit 6ba0d1cbbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 16 additions and 10 deletions

View File

@ -1,13 +1,13 @@
<bit-layout variant="secondary">
<nav slot="sidebar" *ngIf="organization$ | async as organization">
<a routerLink="." class="tw-m-5 tw-mt-7 tw-block">
<a routerLink="." class="tw-m-5 tw-mt-7 tw-block" [appA11yTitle]="'adminConsole' | i18n">
<bit-icon [icon]="logo"></bit-icon>
</a>
<org-switcher [filter]="orgFilter"></org-switcher>
<bit-nav-item
icon="bwi-collection"
[text]="organization.flexibleCollections ? 'collections' : ('vault' | i18n)"
[text]="(organization.flexibleCollections ? 'collections' : 'vault') | i18n"
route="vault"
*ngIf="canShowVaultTab(organization)"
>

View File

@ -110,18 +110,18 @@ export class ProductSwitcherContentComponent {
const bento: ProductSwitcherItem[] = [products.pm];
const other: ProductSwitcherItem[] = [];
if (acOrg) {
bento.push(products.ac);
} else {
other.push(products.orgs);
}
if (smOrg) {
bento.push(products.sm);
} else {
other.push(products.sm);
}
if (acOrg) {
bento.push(products.ac);
} else {
other.push(products.orgs);
}
if (providers.length > 0) {
bento.push(products.provider);
}

View File

@ -1,6 +1,6 @@
<bit-layout>
<nav slot="sidebar">
<a routerLink="." class="tw-m-5 tw-mt-7 tw-block">
<a routerLink="." class="tw-m-5 tw-mt-7 tw-block" [appA11yTitle]="'passwordManager' | i18n">
<bit-icon [icon]="logo"></bit-icon>
</a>

View File

@ -7589,5 +7589,11 @@
},
"releaseBlog": {
"message": "Read release blog"
},
"adminConsole": {
"message": "Admin Console"
},
"providerPortal": {
"message": "Provider Portal"
}
}

View File

@ -1,6 +1,6 @@
<bit-layout variant="secondary">
<nav slot="sidebar" *ngIf="provider">
<a routerLink="." class="tw-m-5 tw-mt-7 tw-block">
<a routerLink="." class="tw-m-5 tw-mt-7 tw-block" [appA11yTitle]="'providerPortal' | i18n">
<bit-icon [icon]="logo"></bit-icon>
</a>