1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

[PM-21663] nudge service name refactor (#14789)

* update names of vault nudge service and their corresponding files, convert components using showNudge$ to instead target spotlight and badges directly with new observables. Core logic for dismiss remains the same
This commit is contained in:
Jason Ng
2025-05-15 15:10:38 -04:00
committed by GitHub
parent 82d0925f4e
commit ee4c3cfd94
20 changed files with 199 additions and 152 deletions

View File

@@ -36,7 +36,7 @@ import {
CipherFormGenerationService,
NudgeStatus,
PasswordRepromptService,
VaultNudgesService,
NudgesService,
} from "@bitwarden/vault";
// FIXME: remove `/apps` import from `/libs`
// FIXME: remove `src` and fix import
@@ -144,7 +144,7 @@ export default {
],
providers: [
{
provide: VaultNudgesService,
provide: NudgesService,
useValue: {
showNudge$: new BehaviorSubject({
hasBadgeDismissed: true,