0ab82964b902645ea8251df7e91863c3b21008c7
Moves the video-download UI from a modal into the same ephemeral side-panel slot the file viewer uses (double-click a video), per request. It's driven by the `download` search param (the target folder) + `downloadRoot`, exactly like the existing view/play/chat ephemeral panels. - layouts: singleDownloadLayout (files-download panel). - VideoDownloadPanel (new, apps/FileBrowser): self-contained — reads the target folder/root from the params, does its own useFilesAPI, prefetch + per-entry / download-all flow (unchanged from the dialog), and bumps the shared `files:refresh-signal` so the browser re-lists when a file lands. Header shows a "Saving to <folder>" hint. - useFileViewerPanels: register files-download (param → layout → panel + close), add download/downloadRoot to the on-refresh cleanup keys. - useFileBrowserApp: replace the showVideoDownload modal state with openVideoDownload(), which sets the download param for the current folder+root. - Toolbar + FileViewContainer trigger openVideoDownload(); drop the modal mount and delete VideoDownloadDialog.tsx. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
No description provided
51 MiB
Languages
TypeScript
84.6%
CSS
6.7%
Shell
5%
JavaScript
3.7%