clients/apps
Jared c3c5faf413
[PM-25627] convert policy dialogs to drawers (#20078)
* [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
2026-04-17 12:42:36 -04:00
..
browser [SM-1762] Bump Jest to 30.3.0 (#20211) 2026-04-17 17:48:29 +02:00
cli [deps] Vault: Update koa to v3.1.2 [SECURITY] (#19294) 2026-04-15 12:03:13 -04:00
desktop [PM-31438] Send unsaved edits dialog (#19425) 2026-04-17 09:50:05 -04:00
web [PM-25627] convert policy dialogs to drawers (#20078) 2026-04-17 12:42:36 -04:00