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:
@@ -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({
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user