1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 22:13:32 +00:00

[PM-30542] Conditionally render old Access Intelligence tabs, sub heading copy update (#18847)

First step of removing code for old Access Intelligence tabs. The old tabs should not appear when the milestone 11 feature flag is on. Once flipped in Production, the remainder of this ticket can be completed (old code entirely removed)

Also included in this change is a copy update for the sub heading of the page.
This commit is contained in:
Brad
2026-02-11 09:00:14 -08:00
committed by GitHub
parent f20686cdf4
commit a9ccb421c4
2 changed files with 18 additions and 16 deletions

View File

@@ -47,8 +47,8 @@
"noEditPermissions": {
"message": "You don't have permission to edit this item"
},
"reviewAtRiskPasswords": {
"message": "Review at-risk passwords (weak, exposed, or reused) across applications. Select your most critical applications to prioritize security actions for your users to address at-risk passwords."
"reviewAccessIntelligence": {
"message": "Review security reports to find and fix credential risks before they escalate."
},
"reviewAtRiskLoginsPrompt": {
"message": "Review at-risk logins"

View File

@@ -46,7 +46,7 @@
<div>
@if (appsCount > 0) {
<div class="tw-text-main tw-max-w-4xl tw-mb-2">
{{ "reviewAtRiskPasswords" | i18n }}
{{ "reviewAccessIntelligence" | i18n }}
</div>
}
<div
@@ -85,20 +85,22 @@
<bit-tab label="{{ 'applications' | i18n }}">
<dirt-applications></dirt-applications>
</bit-tab>
} @else {
<bit-tab label="{{ 'allApplicationsWithCount' | i18n: appsCount }}">
<dirt-all-applications></dirt-all-applications>
</bit-tab>
<bit-tab>
<ng-template bitTabLabel>
<i class="bwi bwi-star"></i>
{{
"criticalApplicationsWithCount"
| i18n
: (dataService.criticalReportResults$ | async)?.reportData?.length ?? 0
}}
</ng-template>
<dirt-critical-applications></dirt-critical-applications>
</bit-tab>
}
<bit-tab label="{{ 'allApplicationsWithCount' | i18n: appsCount }}">
<dirt-all-applications></dirt-all-applications>
</bit-tab>
<bit-tab>
<ng-template bitTabLabel>
<i class="bwi bwi-star"></i>
{{
"criticalApplicationsWithCount"
| i18n: (dataService.criticalReportResults$ | async)?.reportData?.length ?? 0
}}
</ng-template>
<dirt-critical-applications></dirt-critical-applications>
</bit-tab>
</bit-tab-group>
</div>
</div>