refactor: streamline navigation and layout handling across components

- Updated StalkerShellComponent to utilize utility functions for workspace layout detection and portal section resolution.
- Refactored StalkerVod utilities to include inline detail state normalization and added tests for new functionality.
- Modified workspace context panels to import shared components for better organization.
- Enhanced DownloadsComponent to utilize a collection context for managing categories and downloads.
- Updated FavoritesComponent to leverage a portal collection shell layout and improved category management.
- Refactored RecentlyViewedComponent to use a shared collection shell layout and optimized item filtering.
- Improved SearchResultsComponent to utilize query parameter signals for search term handling.
- Updated XtreamMainContainer and XtreamShell components to streamline layout detection and section management.
This commit is contained in:
4gray committed 2026-03-06 23:20:57 +01:00
1 parent ea55c485a7
commit 7bb61ab64c
47 files changed
+1487 -718

No files matched your search

@@ -1,7 +1,7 @@
import { Component, computed, inject, input } from '@angular/core';
import { Router } from '@angular/router';
import { PlaylistErrorViewComponent } from '../xtream-electron/playlist-error-view/playlist-error-view.component';
import { CategoryViewComponent } from '../xtream-electron/category-view/category-view.component';
import { CategoryViewComponent } from '../shared/components/category-view/category-view.component';
import { PlaylistErrorViewComponent } from '../shared/components/playlist-error-view/playlist-error-view.component';
import { XtreamStore } from '../xtream-electron/stores/xtream.store';
import { StalkerStore } from '../stalker/stalker.store';