feat: enhance playlist management by adding optional title input and updating URL submission logic

This commit is contained in:
4gray committed 2026-04-06 17:57:04 +02:00
1 parent 5fdd999c7e
commit 76e4e1b032
12 files changed
+424 -122

No files matched your search

@@ -373,6 +373,17 @@ describe('WorkspaceShellFacade', () => {
);
});
it('applies q to Xtream category search on vod routes', () => {
const xtreamStore = TestBed.inject(XtreamStore) as unknown as MockXtreamStore;
facade.currentUrl.set('/workspace/xtreams/pl-1/vod?q=neo');
(facade as { syncSearchFromRoute: () => void }).syncSearchFromRoute();
TestBed.flushEffects();
expect(xtreamStore.setCategorySearchTerm).toHaveBeenCalledWith('neo');
expect(xtreamStore.setSearchTerm).not.toHaveBeenCalled();
});
it('enables local-filter search on playlist favorites routes', () => {
facade.currentUrl.set('/workspace/playlists/pl-1/favorites?q=news');
(facade as { syncSearchFromRoute: () => void }).syncSearchFromRoute();