D2: Remote Host browser, compare and sync preview in the UI; docs and G17
Some checks failed
ci / ci (macos-15) (push) Has been cancelled
ci / ci (ubuntu-24.04) (push) Has been cancelled
ci / ci (windows-2025) (push) Has been cancelled

Remote Host tool window (server select, tree, read-only viewer with Edit
and Upload, rename, new folder, delete after its question), server tabs
in the diff viewer, sync preview (uploads preselected, deletions never,
extra confirmation before deleting on the server), Compare with Server
in the tree menu and Tools › Deployment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-11-06 19:49:53 +01:00
parent 7601ce12f6
commit 1c6c67194a
16 changed files with 1813 additions and 19 deletions

View file

@ -3,8 +3,10 @@
* The project tree's context menu (M4.3). For a file: Open, Show Diff
* (`vcs.showDiff {path}`) and Show History (`vcs.showHistory {path}`,
* M4.6), the Git items dimmed while their command is disabled. For a file
* and a folder: Upload to Server and Download from Server
* (`deployment.upload` / `deployment.download {path}`, G17), dimmed while
* and a folder: Upload to Server, Compare with Server (a diff for a file,
* the sync preview for a folder, C9 D2) and Download from Server
* (`deployment.upload` / `deployment.compare` / `deployment.download
* {path}`, G17), dimmed while
* no project is open or a deployment job runs.
*
* Follows the WAI-ARIA menu pattern: it takes the focus when it opens,
@ -65,6 +67,12 @@ const deployItems = computed<MenuItem[]>(() => [
enabled: commands.isEnabled("deployment.upload"),
run: () => commands.execute("deployment.upload", { path: props.path }),
},
{
id: "compareServer",
label: t("project.tree.menu.compareServer"),
enabled: commands.isEnabled("deployment.compare"),
run: () => commands.execute("deployment.compare", { path: props.path, kind: props.kind ?? "file" }),
},
{
id: "download",
label: t("project.tree.menu.download"),