mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
* Open pasted HTML file:// URLs as document previews Pasting a file:// URL to an HTML file into the new-tab box used to fall through to the generic URL path, which does not show the document's relative assets. It now routes to the workspace document preview, so the file renders with its local scripts and styles. - Classify HTML file URLs before the file list loads, so the "Open file" option appears immediately. - Resolve file URLs and absolute paths only against workspaces on the same host, so an SSH target is never matched to a sibling on another host. - Reuse an open document on any page of its workspace instead of opening a duplicate preview. - Keep the preview in the group the user targeted, including for remote hosts. * Open HTML file:// previews without resolving file-operation context Opening an HTML file:// URL used to need the worktree and file-operation context before the preview could open. In remote or not-yet-loaded states that lookup can fail, so the preview never appeared. Pass the context as a lazy getter, so it is read only when a file operation actually needs it. The preview path now runs without it, and the dispatch in openTabBarEntry no longer special-cases HTML before the network and file paths.