feat: enhance global favorites list and unified collection components with draggable functionality and improved layout

Entire-Checkpoint: 56d3e3141f61
This commit is contained in:
4gray committed 2026-03-26 19:07:01 +01:00
1 parent 34c2323216
commit d85ef89893
9 files changed
+91 -62

No files matched your search

@@ -101,18 +101,5 @@
<mat-icon>download</mat-icon>
</button>
}
@if (headerBulkAction(); as action) {
<span class="header-actions-divider" aria-hidden="true"></span>
<button
type="button"
mat-icon-button
(click)="onHeaderBulkActionRequested()"
[disabled]="action.disabled"
[matTooltip]="action.tooltip"
[attr.aria-label]="action.ariaLabel"
>
<mat-icon>{{ action.icon }}</mat-icon>
</button>
}
</div>
</header>
@@ -16,7 +16,6 @@ import {
PlaylistType,
} from '@iptvnator/playlist/shared/ui';
import { WorkspaceHeaderAction } from '@iptvnator/portal/shared/util';
import { WorkspaceHeaderBulkAction } from '../../services/workspace-shell.facade';
@Component({
selector: 'app-workspace-shell-header',
@@ -49,7 +48,6 @@ export class WorkspaceShellHeaderComponent {
readonly headerShortcut = input<WorkspaceHeaderAction | null>(null);
readonly isElectron = input(false);
readonly isDownloadsView = input(false);
readonly headerBulkAction = input<WorkspaceHeaderBulkAction | null>(null);
readonly searchChanged = output<string>();
readonly searchSubmitted = output<string>();
@@ -58,7 +56,6 @@ export class WorkspaceShellHeaderComponent {
readonly globalFavoritesRequested = output<void>();
readonly headerShortcutRequested = output<void>();
readonly downloadsRequested = output<void>();
readonly headerBulkActionRequested = output<void>();
readonly playlistInfoRequested = output<void>();
readonly accountInfoRequested = output<void>();
@@ -100,7 +97,4 @@ export class WorkspaceShellHeaderComponent {
this.downloadsRequested.emit();
}
onHeaderBulkActionRequested(): void {
this.headerBulkActionRequested.emit();
}
}
@@ -52,7 +52,6 @@
[headerShortcut]="facade.headerShortcut()"
[isElectron]="facade.isElectron"
[isDownloadsView]="facade.isDownloadsView()"
[headerBulkAction]="facade.headerBulkAction()"
(searchChanged)="facade.onSearchInput($event)"
(searchSubmitted)="facade.onSearchEnter($event)"
(commandPaletteRequested)="facade.openCommandPalette()"
@@ -60,7 +59,6 @@
(globalFavoritesRequested)="facade.navigateToGlobalFavorites()"
(headerShortcutRequested)="facade.runHeaderShortcut()"
(downloadsRequested)="facade.openDownloadsShortcut()"
(headerBulkActionRequested)="facade.runHeaderBulkAction()"
(playlistInfoRequested)="facade.openPlaylistInfo()"
(accountInfoRequested)="facade.openAccountInfo()"
/>