1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

[PM-27722] Deprecate risk insights terminology and rename to access intelligence (#17170)

* Deprecate risk insights terminology and rename to access intelligence
This commit is contained in:
Maximilian Power
2025-11-06 19:53:32 +01:00
committed by GitHub
parent ff12e672e6
commit e9a25d4e8c
13 changed files with 42 additions and 39 deletions

View File

@@ -6,15 +6,20 @@ import { organizationPermissionsGuard } from "@bitwarden/web-vault/app/admin-con
import { RiskInsightsComponent } from "./risk-insights.component";
const routes: Routes = [
{ path: "", pathMatch: "full", redirectTo: "risk-insights" },
{
path: "risk-insights",
path: "",
canActivate: [organizationPermissionsGuard((org) => org.canAccessReports)],
component: RiskInsightsComponent,
data: {
titleId: "RiskInsights",
titleId: "accessIntelligence",
},
},
{
path: "risk-insights",
redirectTo: "",
pathMatch: "full",
// Backwards compatibility: redirect old "risk-insights" route to new base route
},
];
@NgModule({

View File

@@ -37,7 +37,7 @@
<!-- Show screen when there is report data OR when feature flag is disabled (show tabs even without data) -->
<div class="tw-min-h-screen tw-flex tw-flex-col">
<div>
<h1 bitTypography="h1">{{ "riskInsights" | i18n }}</h1>
<h1 bitTypography="h1">{{ "accessIntelligence" | i18n }}</h1>
<div class="tw-text-main tw-max-w-4xl tw-mb-2" *ngIf="appsCount > 0">
{{ "reviewAtRiskPasswords" | i18n }}
</div>

View File

@@ -1,8 +1,11 @@
<div class="tw-flex-col tw-flex tw-justify-center tw-items-center tw-gap-5 tw-mt-4">
<div class="tw-flex tw-flex-col tw-items-center tw-justify-center tw-min-h-[70vh] tw-gap-4">
<i
class="bwi bwi-2x bwi-spinner bwi-spin tw-text-primary-600"
class="bwi bwi-spinner bwi-spin bwi-3x tw-text-primary-600"
title="{{ 'loading' | i18n }}"
aria-hidden="true"
></i>
<h2 bitTypography="h1">{{ "generatingYourRiskInsights" | i18n }}</h2>
<span class="tw-sr-only">{{ "loading" | i18n }}</span>
<p bitTypography="h2" class="tw-text-main tw-mb-0">
{{ "generatingYourAccessIntelligence" | i18n }}
</p>
</div>