= ({ onSelect, loading
variant="light"
onClick={() => onSelect('server')}
disabled={loading}
- leftSection={}
+ leftSection={}
>
{t('setup.mode.server.title', 'Connect to Server')}
diff --git a/frontend/src/desktop/components/SetupWizard/index.tsx b/frontend/src/desktop/components/SetupWizard/index.tsx
index c0fe2f019..3c7976262 100644
--- a/frontend/src/desktop/components/SetupWizard/index.tsx
+++ b/frontend/src/desktop/components/SetupWizard/index.tsx
@@ -117,7 +117,7 @@ export const SetupWizard: React.FC = ({ onComplete }) => {
{t('setup.description', 'Get started by choosing how you want to use Stirling PDF')}
-
+
{
+ // Get the proprietary sections (includes core Preferences + admin sections)
+ const sections = createProprietaryConfigNavSections(isAdmin, runningEE, loginEnabled);
+
+ // Add Connection section at the beginning (after Preferences)
+ sections.splice(1, 0, {
+ title: 'Connection',
+ items: [
+ {
+ key: 'connectionMode',
+ label: 'Connection Mode',
+ icon: 'cloud-rounded',
+ component: ,
+ },
+ ],
+ });
+
+ return sections;
+};
diff --git a/frontend/src/desktop/components/shared/config/types.ts b/frontend/src/desktop/components/shared/config/types.ts
new file mode 100644
index 000000000..d22056e01
--- /dev/null
+++ b/frontend/src/desktop/components/shared/config/types.ts
@@ -0,0 +1,8 @@
+import { VALID_NAV_KEYS as CORE_NAV_KEYS } from '@core/components/shared/config/types';
+
+export const VALID_NAV_KEYS = [
+ ...CORE_NAV_KEYS,
+ 'connectionMode',
+]
+
+export type NavKey = typeof VALID_NAV_KEYS[number];