Update for private function and bundle size

This commit is contained in:
2026-01-24 11:21:35 -05:00
parent d698dddfe7
commit a303c4c03e
3 changed files with 9 additions and 5 deletions

View File

@@ -37,13 +37,13 @@
"budgets": [ "budgets": [
{ {
"type": "initial", "type": "initial",
"maximumWarning": "500kb", "maximumWarning": "1mb",
"maximumError": "1mb" "maximumError": "2mb"
}, },
{ {
"type": "anyComponentStyle", "type": "anyComponentStyle",
"maximumWarning": "100kb", "maximumWarning": "200kb",
"maximumError": "400kb" "maximumError": "500kb"
} }
], ],
"outputHashing": "all" "outputHashing": "all"

View File

@@ -16,7 +16,7 @@
<span>Push Image Commands</span> <span>Push Image Commands</span>
</button> </button>
<mat-divider></mat-divider> <mat-divider></mat-divider>
<button mat-menu-item (click)="searchFilterService.clearSearchHistory()"> <button mat-menu-item (click)="clearSearchHistory()">
<mat-icon>history</mat-icon> <mat-icon>history</mat-icon>
<span>Clear Search History</span> <span>Clear Search History</span>
</button> </button>

View File

@@ -290,6 +290,10 @@ export class AppComponent implements OnInit {
this.searchFilterService.toggleFavorite(repository.name); this.searchFilterService.toggleFavorite(repository.name);
} }
clearSearchHistory(): void {
this.searchFilterService.clearSearchHistory();
}
// Delete operations // Delete operations
async deleteTag(repository: Repository, tag: Tag): Promise<void> { async deleteTag(repository: Repository, tag: Tag): Promise<void> {
const isLastTag = await this.registryService.isLastTag(repository.name); const isLastTag = await this.registryService.isLastTag(repository.name);