From fa4711ff7b39a3df798f551317c0e3ca0f2da703 Mon Sep 17 00:00:00 2001 From: "Calum H." Date: Wed, 1 Apr 2026 19:53:19 +0200 Subject: [PATCH] feat: implement improved flow for server panel edit installation (#5711) * feat: implement improved flow for server panel edit installation * feat: installation form finalized * feat: error state for InstallingBanner * feat: action button refactor + save banner text fix * fix: lint * fix: content card alignment * feat: better copy * fix: lint * fix: hide shift click + fix NeoForge chip * fix: lint --- .../ui/servers/PanelServerActionButton.vue | 166 +++++++-------- .../src/components/ui/servers/SaveBanner.vue | 24 ++- .../src/pages/hosting/manage/[id].vue | 73 ++----- .../hosting/manage/[id]/options/loader.vue | 75 ++++++- .../api-client/src/modules/archon/types.ts | 6 + .../components/ModpackStage.vue | 1 + .../creation-flow-context.ts | 11 + .../components/servers/InstallingBanner.vue | 63 +++++- .../components/ContentModpackCard.vue | 2 +- .../modals/ConfirmBulkUpdateModal.vue | 6 + .../components/modals/InlineBackupCreator.vue | 3 +- .../components/ContentDiffModal.vue | 1 + .../components/IncompatibleContentModal.vue | 194 ++++++++++++++++++ .../composables/index.ts | 2 +- .../composables/use-installation-form.ts | 134 ++++++++++++ .../shared/installation-settings/layout.vue | 36 +++- .../providers/installation-settings.ts | 21 ++ packages/ui/src/locales/en-US/index.json | 27 +++ .../servers/InstallingBanner.stories.ts | 108 ++++++++++ 19 files changed, 785 insertions(+), 168 deletions(-) create mode 100644 packages/ui/src/layouts/shared/installation-settings/components/IncompatibleContentModal.vue create mode 100644 packages/ui/src/stories/servers/InstallingBanner.stories.ts diff --git a/apps/frontend/src/components/ui/servers/PanelServerActionButton.vue b/apps/frontend/src/components/ui/servers/PanelServerActionButton.vue index 9f2d465ce..3022a7b06 100644 --- a/apps/frontend/src/components/ui/servers/PanelServerActionButton.vue +++ b/apps/frontend/src/components/ui/servers/PanelServerActionButton.vue @@ -4,19 +4,19 @@

Are you sure you want to - {{ confirmActionText }} the server? + {{ pendingAction }} the server?

@@ -31,11 +31,11 @@
-
{{ serverData }}
+
{{ server }}
- +
@@ -62,14 +62,14 @@
- -
@@ -30,7 +30,8 @@ diff --git a/apps/frontend/src/pages/hosting/manage/[id].vue b/apps/frontend/src/pages/hosting/manage/[id].vue index 9eed7db68..be76662c7 100644 --- a/apps/frontend/src/pages/hosting/manage/[id].vue +++ b/apps/frontend/src/pages/hosting/manage/[id].vue @@ -172,17 +172,7 @@ @@ -320,12 +310,14 @@ >