mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
1 parent
134b5fb779
commit
aead89e3e6
3 files changed
+102
-10
No files matched your search
@@ -66,14 +66,12 @@ ALTER TABLE categories ADD COLUMN hidden INTEGER DEFAULT 0
|
||||
|
||||
**Integration Points**
|
||||
|
||||
- `xtream-main-container.component.ts` - Movies & Series sections
|
||||
- `live-stream-layout.component.ts` - Live TV section
|
||||
|
||||
Both components:
|
||||
|
||||
1. Add a "tune" icon button in the sidebar header
|
||||
2. Open the dialog with playlist ID and content type
|
||||
3. Call `xtreamStore.reloadCategories()` after dialog closes with changes
|
||||
- `libs/workspace/shell/feature/src/lib/workspace-context-panel/workspace-context-panel.component.ts`
|
||||
renders the tune icon button for Xtream Live TV, Movies, and Series sidebars.
|
||||
- The workspace context panel lazy-loads `CategoryManagementDialogComponent`
|
||||
from `@iptvnator/portal/xtream/feature`, opens it with playlist ID, content
|
||||
type, and item counts, then calls `xtreamStore.reloadCategories()` after a
|
||||
successful dialog save.
|
||||
|
||||
### Store
|
||||
|
||||
@@ -87,6 +85,11 @@ Added `reloadCategories()` method to refresh categories from database after visi
|
||||
- **Persistence**: Visibility settings survive playlist refresh (see below)
|
||||
- **Per-playlist, per-type**: Categories are managed per playlist and per content type (live/movies/series)
|
||||
- **No content deletion**: Hiding a category only affects sidebar visibility; the category and its content remain in the database
|
||||
- **All-hidden recovery**: Once the selected Xtream type is loaded, the manage
|
||||
categories button remains available even if every visible category has been
|
||||
hidden. The sidebar category list is filtered, but the dialog reads all
|
||||
categories through `getAllXtreamCategories()` so users can select categories
|
||||
again.
|
||||
|
||||
### Visibility Preservation During Refresh
|
||||
|
||||
|
||||
Reference in new issue
Block a user