mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
* [PM-34804] Implement policy drawer feature for editing policies * Added `openDrawer` method to `PolicyDialogComponent` and `MultiStepPolicyEditDialogComponent` to support opening dialogs in a drawer format. * Updated `edit` method in `PoliciesComponent` to conditionally use the drawer based on the `PolicyDrawers` feature flag. * Introduced `PolicyDrawers` feature flag in `feature-flag.enum.ts` to control the new drawer functionality. * Enhance policy edit dialogs with drawer support * Updated `policy-edit-dialog.component.html` and `multi-step-policy-edit-dialog.component.html` to conditionally apply full height class based on drawer state. * Modified `PolicyEditDialogComponent` to include a host binding for full height when in drawer mode. * Enhance MultiStepPolicyEditDialogComponent to support full height in drawer mode by adding a host binding for the full height class based on the dialog reference state. * Enhance PoliciesComponent to manage dialog references and ensure proper cleanup on destroy. Added drawerRef to handle drawer state and close it when the component is destroyed. * Refactor PoliciesComponent to change drawerRef from readonly to mutable, allowing for potential updates to the dialog reference during component lifecycle. * Enhance PoliciesComponent tests to support async operations and add new test for drawer functionality. Update policy-edit-dialog components to remove deprecated host bindings. Adjust layout component styles for drawer container. * Refactor layout component: Simplify drawer container markup by removing unnecessary grid styling. * Refactor PoliciesComponent: Replace drawerRef with signal for improved state management and update cleanup logic on component destruction. * Refactor policy edit dialog components: Simplify form markup by integrating dialog properties directly into the form tag and enhancing title template handling for improved readability and maintainability. * Refactor loading indicator in policy edit dialog to use @if syntax for improved readability * Refactor policy edit dialog to dynamically set title and subtitle based on current step content |
||
|---|---|---|
| .. | ||
| .vscode | ||
| admin-console | ||
| angular | ||
| assets | ||
| auth | ||
| auto-confirm | ||
| billing | ||
| client-type | ||
| common | ||
| components | ||
| core-test-utils | ||
| dirt/card | ||
| eslint | ||
| guid | ||
| importer | ||
| key-management | ||
| key-management-ui | ||
| logging | ||
| messaging | ||
| node | ||
| nx-plugin | ||
| platform | ||
| pricing | ||
| scheduling | ||
| serialization | ||
| shared | ||
| state | ||
| state-internal | ||
| state-test-utils | ||
| storage-core | ||
| storage-test-utils | ||
| subscription | ||
| tools | ||
| ui | ||
| unlock | ||
| user-core | ||
| user-crypto-management | ||
| vault | ||