clients/libs/common
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
..
spec [PM-24102] Remove encstring decrypt function (#17108) 2026-03-03 14:57:05 +01:00
src [PM-25627] convert policy dialogs to drawers (#20078) 2026-04-17 12:42:36 -04:00
custom-matchers.d.ts [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
jest.config.js Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
package.json PM-16220: Account does not exist during login race condition (#12488) 2025-01-27 16:11:42 +01:00
project.json build: add nx configuration in libs/common (#16544) 2025-09-24 13:20:42 +02:00
test.setup.ts Improve SDK direct function usage (#13353) 2025-02-26 09:08:42 +01:00
tsconfig.json Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
tsconfig.spec.json [deps] Platform: Update electron-store to v11 (#16846) 2026-01-13 08:04:40 -07:00