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 | ||
| config | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| claude-plan.md | ||
| CLAUDE.md | ||
| config.js | ||
| crowdin.yml | ||
| dev-server.shared.pem | ||
| Dockerfile | ||
| entrypoint.sh | ||
| jest.config.js | ||
| package.json | ||
| postcss.config.js | ||
| project.json | ||
| README.md | ||
| tailwind.config.js | ||
| test.setup.ts | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
| webpack.base.js | ||
| webpack.config.js | ||
Bitwarden Web App
The Bitwarden web project is an Angular application that powers the web vault (https://vault.bitwarden.com/).
Documentation
Please refer to the Web vault section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.