1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 22:44:11 +00:00

Introduce search history

This is a first pass that needs a lot of UX and accessibility cleanup
This commit is contained in:
Matt Gibson
2025-03-13 15:08:07 -07:00
parent 9353cfb6fb
commit 98a3e85d13
12 changed files with 351 additions and 33 deletions

View File

@@ -270,6 +270,10 @@ import {
import { TotpService as TotpServiceAbstraction } from "@bitwarden/common/vault/abstractions/totp.service";
import { VaultSettingsService as VaultSettingsServiceAbstraction } from "@bitwarden/common/vault/abstractions/vault-settings/vault-settings.service";
import { DefaultFilterService, FilterService } from "@bitwarden/common/vault/search/filter.service";
import {
SearchHistoryService,
DefaultSearchHistoryService,
} from "@bitwarden/common/vault/search/search-history.service";
import {
CipherAuthorizationService,
DefaultCipherAuthorizationService,
@@ -1471,6 +1475,11 @@ const safeProviders: SafeProvider[] = [
useClass: DefaultFilterService,
deps: [],
}),
safeProvider({
provide: SearchHistoryService,
useClass: DefaultSearchHistoryService,
deps: [SingleUserStateProvider, EncryptService, KeyService],
}),
];
@NgModule({