feat(anime): open Anime Browser in player modal

- Add the Ctrl+Alt+A shortcut and dedicated overlay modal
- Share queue, sources, and watch history while isolating browser state
This commit is contained in:
2026-08-15 21:44:52 -07:00
parent cc43d3007a
commit 7a1450ddb7
51 changed files with 921 additions and 180 deletions
+4
View File
@@ -27,6 +27,7 @@ export interface SessionActionExecutorDeps {
openTsukihime: () => void;
openYoutubeTrackPicker: () => void | Promise<void>;
openPlaylistBrowser: () => boolean | void | Promise<boolean | void>;
openAnimeBrowser: () => boolean | void | Promise<boolean | void>;
replayCurrentSubtitle: () => void;
playNextSubtitle: () => void;
cycleRuntimeOption: (id: RuntimeOptionId, direction: 1 | -1) => RuntimeOptionApplyResult;
@@ -125,6 +126,9 @@ export async function dispatchSessionAction(
case 'openPlaylistBrowser':
await deps.openPlaylistBrowser();
return;
case 'openAnimeBrowser':
await deps.openAnimeBrowser();
return;
case 'replayCurrentSubtitle':
deps.replayCurrentSubtitle();
return;