clients/libs/common
Jared 79c6b51599
[PM-26383] Remove feature flag to enable autoconfirm (#20015)
* 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.
2026-04-09 15:36:38 -04:00
..
spec [PM-24102] Remove encstring decrypt function (#17108) 2026-03-03 14:57:05 +01:00
src [PM-26383] Remove feature flag to enable autoconfirm (#20015) 2026-04-09 15:36:38 -04:00
custom-matchers.d.ts
jest.config.js
package.json
project.json build: add nx configuration in libs/common (#16544) 2025-09-24 13:20:42 +02:00
test.setup.ts
tsconfig.json
tsconfig.spec.json [deps] Platform: Update electron-store to v11 (#16846) 2026-01-13 08:04:40 -07:00