[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"> <bit-layout variant="secondary">
<nav slot="sidebar" *ngIf="organization$ | async as organization"> <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> <bit-icon [icon]="logo"></bit-icon>
</a> </a>
<org-switcher [filter]="orgFilter"></org-switcher> <org-switcher [filter]="orgFilter"></org-switcher>
<bit-nav-item <bit-nav-item
icon="bwi-collection" icon="bwi-collection"
[text]="organization.flexibleCollections ? 'collections' : ('vault' | i18n)" [text]="(organization.flexibleCollections ? 'collections' : 'vault') | i18n"
route="vault" route="vault"
*ngIf="canShowVaultTab(organization)" *ngIf="canShowVaultTab(organization)"
> >

View File

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

View File

@ -1,6 +1,6 @@
<bit-layout> <bit-layout>
<nav slot="sidebar"> <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> <bit-icon [icon]="logo"></bit-icon>
</a> </a>

View File

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

View File

@ -1,6 +1,6 @@
<bit-layout variant="secondary"> <bit-layout variant="secondary">
<nav slot="sidebar" *ngIf="provider"> <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> <bit-icon [icon]="logo"></bit-icon>
</a> </a>