From 23a6eeec9b5d8071f7a7444e439abb56e1bb6cb9 Mon Sep 17 00:00:00 2001 From: hzrd149 Date: Fri, 15 May 2026 13:43:34 -0500 Subject: [PATCH] Refine nsite action buttons next to Deploy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add a Settings icon button on the left of the Deploy button so all nsite actions live in one row. Drops the now-redundant "Edit site settings" text link from the summary card. - Only show the History (version-history) button when the project has publishSnapshotOnDeploy enabled — otherwise the modal would always be empty. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/deploy/DeploySteps.tsx | 52 ++++++++++++++------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/src/components/deploy/DeploySteps.tsx b/src/components/deploy/DeploySteps.tsx index 85feeb36..b28880b0 100644 --- a/src/components/deploy/DeploySteps.tsx +++ b/src/components/deploy/DeploySteps.tsx @@ -638,31 +638,22 @@ export function DeploySteps({ projectId, projectName, onClose }: DeployStepsProp const serverCount = nsiteVfsConfig.servers?.length ?? 0; return ( -
-
- {nsiteVfsConfig.title && ( -
- Title - {nsiteVfsConfig.title} -
- )} +
+ {nsiteVfsConfig.title && ( +
+ Title + {nsiteVfsConfig.title} +
+ )} -
- Relays - {relayCount} configured -
-
- Blossom servers - {serverCount} configured -
+
+ Relays + {relayCount} configured +
+
+ Blossom servers + {serverCount} configured
-
); } @@ -970,6 +961,19 @@ export function DeploySteps({ projectId, projectName, onClose }: DeployStepsProp {selectedProvider && (
+ {selectedProvider.type === 'nsite' && nsiteVfsConfig && ( + + )} +