1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

UIF - Prefer signal & change detection (#16940)

This commit is contained in:
Oscar Hinton
2025-10-21 18:52:40 +02:00
committed by GitHub
parent d3fc20f8b9
commit 65da23feaa
135 changed files with 503 additions and 51 deletions

View File

@@ -5,6 +5,8 @@ import { Component, HostBinding, OnInit, input } from "@angular/core";
import type { SortDirection, SortFn } from "./table-data-source";
import { TableComponent } from "./table.component";
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
@Component({
selector: "th[bitSortable]",
template: `

View File

@@ -44,6 +44,8 @@ export class BitRowDef {
*
* Utilizes virtual scrolling to render large datasets.
*/
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
@Component({
selector: "bit-table-scroll",
templateUrl: "./table-scroll.component.html",

View File

@@ -21,6 +21,8 @@ export class TableBodyDirective {
constructor(public readonly template: TemplateRef<any>) {}
}
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
@Component({
selector: "bit-table",
templateUrl: "./table.component.html",