mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
[PM-11267] Extension Refresh Events (#10832)
* add `Cipher_ClientViewed` event to browser refresh components * add `Cipher_ClientToggledPasswordVisible` event to browser refresh components * add `Cipher_ClientToggledHiddenFieldVisible` event to browser refresh components * add `Cipher_ClientToggledCardCodeVisible` event to browser refresh components * add `Cipher_ClientToggledCardNumberVisible` event to browser refresh components * add `Cipher_ClientToggledTOTPSeedVisible` event to browser refresh components * add `Cipher_ClientCopiedPassword` event to browser refresh components * add events for copying cipher fields from the vault menu * add `Cipher_ClientCopiedHiddenField` event to browser refresh components * add mock for tests * add missing `Cipher_ClientCopiedCardCode` event * remove the need for separate fields input * add organization id to event collection so events are collected * update test * add event collection service to cipher form stories
This commit is contained in:
parent
70fbcf2a10
commit
a31ecb18a1
@ -10,6 +10,7 @@ import {
|
||||
import { BehaviorSubject } from "rxjs";
|
||||
|
||||
import { AuditService } from "@bitwarden/common/abstractions/audit.service";
|
||||
import { EventCollectionService } from "@bitwarden/common/abstractions/event/event-collection.service";
|
||||
import { Organization } from "@bitwarden/common/admin-console/models/domain/organization";
|
||||
import { AutofillSettingsServiceAbstraction } from "@bitwarden/common/autofill/services/autofill-settings.service";
|
||||
import { DomainSettingsService } from "@bitwarden/common/autofill/services/domain-settings.service";
|
||||
@ -168,6 +169,12 @@ export default {
|
||||
autofillOnPageLoadDefault$: new BehaviorSubject(true),
|
||||
},
|
||||
},
|
||||
{
|
||||
provide: EventCollectionService,
|
||||
useValue: {
|
||||
collect: () => Promise.resolve(),
|
||||
},
|
||||
},
|
||||
],
|
||||
}),
|
||||
componentWrapperDecorator(
|
||||
|
Loading…
Reference in New Issue
Block a user