mirror of
https://github.com/bitwarden/clients.git
synced 2026-06-13 21:01:11 +08:00
* Refactor password strength component for improved performance and readability - Introduced ChangeDetectorRef to optimize rendering in response to input changes. - Consolidated visual update logic into a separate method for clarity. - Enhanced handling of password strength calculations and visual feedback. - Ensured real-time updates for password strength in the input-password component. * Enhance password strength component's ngOnChanges method for better performance - Updated ngOnChanges to debounce rendering only for email or name changes, avoiding unnecessary renders for password updates. - Improved clarity of the method by explicitly handling password changes. * Update tests for PasswordStrengthV2Component to include email change handling - Modified ngOnChanges test cases to simulate email changes using SimpleChange. - Ensured that password score emissions are correctly tested when email input is updated. |
||
|---|---|---|
| .. | ||
| src | ||
| jest.config.js | ||
| package.json | ||
| project.json | ||
| test.setup.ts | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||