[PM-27782] Update Access Intelligence loading state text (#18808)

* [PM-27782] Update Access Intelligence loading state text

  Simplify the loading progress messages shown during Access Intelligence
  report generation to be more user-friendly and concise.

  Changes:
  - Add new i18n keys with simplified text
  - Update ProgressStepConfig to use new keys

  Progress message updates:
  - "Fetching member data..." → "Reviewing member data..."
  - "Analyzing password health..." → "Analyzing passwords..."
  - "Calculating risk scores..." → "Calculating risks..."
  - "Generating report data..." → "Generating reports..."
  - "Saving report..." → "Compiling insights..."
  - "Compiling insights..." → "Done!"

* delete old messages

* remove all "this might take a few minutes"
pull/18945/merge
Alex 16 hours ago committed by GitHub
parent ff775c7bbc
commit ec33ea4f3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4596,29 +4596,26 @@
"generatingYourAccessIntelligence": {
"message": "Generating your Access Intelligence..."
},
"fetchingMemberData": {
"message": "Fetching member data..."
"loadingProgress": {
"message": "Loading progress"
},
"analyzingPasswordHealth": {
"message": "Analyzing password health..."
"reviewingMemberData": {
"message": "Reviewing member data..."
},
"calculatingRiskScores": {
"message": "Calculating risk scores..."
"analyzingPasswords": {
"message": "Analyzing passwords..."
},
"generatingReportData": {
"message": "Generating report data..."
"calculatingRisks": {
"message": "Calculating risks..."
},
"savingReport": {
"message": "Saving report..."
"generatingReports": {
"message": "Generating reports..."
},
"compilingInsights": {
"compilingInsightsProgress": {
"message": "Compiling insights..."
},
"loadingProgress": {
"message": "Loading progress"
},
"thisMightTakeFewMinutes": {
"message": "This might take a few minutes."
"reportGenerationDone": {
"message": "Done!"
},
"riskInsightsRunReport": {
"message": "Run report"

@ -10,14 +10,9 @@
></bit-progress>
</div>
<!-- Status message and subtitle -->
<div class="tw-text-center tw-flex tw-flex-col tw-gap-1">
<span class="tw-text-main tw-text-base tw-font-medium tw-leading-4">
{{ stepConfig[progressStep()].message | i18n }}
</span>
<span class="tw-text-muted tw-text-sm tw-font-normal tw-leading-4">
{{ "thisMightTakeFewMinutes" | i18n }}
</span>
</div>
<!-- Status message -->
<span class="tw-text-main tw-text-base tw-font-medium tw-leading-4">
{{ stepConfig[progressStep()].message | i18n }}
</span>
</div>
</div>

@ -6,12 +6,12 @@ import { ProgressModule } from "@bitwarden/components";
// Map of progress step to display config
const ProgressStepConfig = Object.freeze({
[ReportProgress.FetchingMembers]: { message: "fetchingMemberData", progress: 20 },
[ReportProgress.AnalyzingPasswords]: { message: "analyzingPasswordHealth", progress: 40 },
[ReportProgress.CalculatingRisks]: { message: "calculatingRiskScores", progress: 60 },
[ReportProgress.GeneratingReport]: { message: "generatingReportData", progress: 80 },
[ReportProgress.Saving]: { message: "savingReport", progress: 95 },
[ReportProgress.Complete]: { message: "compilingInsights", progress: 100 },
[ReportProgress.FetchingMembers]: { message: "reviewingMemberData", progress: 20 },
[ReportProgress.AnalyzingPasswords]: { message: "analyzingPasswords", progress: 40 },
[ReportProgress.CalculatingRisks]: { message: "calculatingRisks", progress: 60 },
[ReportProgress.GeneratingReport]: { message: "generatingReports", progress: 80 },
[ReportProgress.Saving]: { message: "compilingInsightsProgress", progress: 95 },
[ReportProgress.Complete]: { message: "reportGenerationDone", progress: 100 },
} as const);
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush

Loading…
Cancel
Save