feat: server settings split up + copy changes across panel warning modals

This commit is contained in:
Calum H. (IMB11)
2026-06-26 17:09:22 +01:00
parent 27f629a7a3
commit 9ab9fe994f
41 changed files with 1030 additions and 530 deletions
@@ -431,6 +431,9 @@
"app.project.install-context.install-content-to-instance": {
"message": "Install content to instance"
},
"app.project.install-context.world-fallback-name": {
"message": "Instance"
},
"app.settings.developer-mode-enabled": {
"message": "Developer mode enabled."
},
@@ -127,7 +127,6 @@ import {
ExternalIcon,
EyeIcon,
FolderOpenIcon,
TagCategoryGamepad2Icon as Gamepad2Icon,
GlobeIcon,
HashIcon,
MoreVerticalIcon,
@@ -136,6 +135,7 @@ import {
PlusIcon,
SettingsIcon,
StopCircleIcon,
TagCategoryGamepad2Icon as Gamepad2Icon,
TerminalSquareIcon,
TimerIcon,
UpdatedIcon,
@@ -145,9 +145,9 @@ import {
Avatar,
formatLoaderLabel,
injectNotificationManager,
LoaderIcon as ServerLoaderIcon,
NavTabs,
PageHeader,
LoaderIcon as ServerLoaderIcon,
ServerOnlinePlayers,
ServerPing,
ServerRecentPlays,
@@ -3326,6 +3326,9 @@
"project.gallery.title": {
"message": "Gallery"
},
"project.install-context.back-to-discover": {
"message": "Back to discover"
},
"project.license.error": {
"message": "License text could not be retrieved."
},
+6 -7
View File
@@ -427,7 +427,11 @@
class="sticky top-0 z-20 mx-auto max-w-[80rem] border-0 border-solid border-divider bg-surface-1 px-6 pt-4"
:class="[isInstallHeaderStuck ? 'border-t' : '']"
>
<BrowseInstallHeader :install-context="projectHeaderInstallContext" divider bottom-padding />
<BrowseInstallHeader
:install-context="projectHeaderInstallContext"
divider
bottom-padding
/>
</div>
<SelectedProjectsFloatingBar
v-if="projectInstallContext && !isSettings"
@@ -1392,12 +1396,7 @@ const projectDiscoverBackUrl = computed(() => {
? (project.value?.actualProjectType ?? project.value?.project_type ?? 'mod')
: (routeProjectType.value ?? project.value?.actualProjectType ?? 'mod')
return `/discover/${discoverType}s${getInstallContextQueryString([
'sid',
'wid',
'from',
'shi',
])}`
return `/discover/${discoverType}s${getInstallContextQueryString(['sid', 'wid', 'from', 'shi'])}`
})
const projectInstallContext = computed(() => {
const context = serverBrowseInstallContext.value