mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-04 21:05:54 +08:00
* Refactor: Remove ConfigService dependency from auto-confirm related components - Eliminated ConfigService from MainBackground, AutoConfirmPolicy, UserLayoutComponent, WebVaultPromptService, and organizationPolicyGuard. - Updated logic to directly use organization properties instead of feature flags for auto-confirm functionality. - Adjusted tests in DefaultAutomaticUserConfirmationService to reflect the removal of feature flag checks. - Cleaned up unused imports related to ConfigService across various files. * Refactor: Update date handling in tests and remove unused feature flag checks - Changed date calculation in WebVaultExtensionPromptService tests to use milliseconds for accuracy. - Removed unused feature flag checks from WebVaultPromptService tests, simplifying the logic and improving clarity. * Refactor: Update organizationPolicyGuard to include ConfigService in feature callback - Modified the organizationPolicyGuard to accept ConfigService as an additional parameter in the feature callback. - Adjusted the SendComponent route to align with the updated guard implementation. * Fix: Adjust date calculation in WebVaultExtensionPromptService tests for accuracy - Updated the test to set the exact date to 30 days prior using setDate method for clarity and to avoid potential issues with DST boundaries. |
||
|---|---|---|
| .. | ||
| guards | ||
| validators | ||