From 26642bac9fc2ac5b86e4947c85214e91609c907c Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 19 Feb 2026 19:40:39 +0000
Subject: [PATCH 1/2] Initial plan
From b154bbd563031515976b760ee0d452bc1b69aec6 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 19 Feb 2026 19:49:03 +0000
Subject: [PATCH 2/2] fix: landing admin select option typing
Co-authored-by: thinkdj <688055+thinkdj@users.noreply.github.com>
---
.../app/theme-demo/page.tsx | 2 +-
.../next-env.d.ts | 2 +-
.../src/ottaorm-models/LandingSection.ts | 2 +-
packages/ottalanding/src/section-fields.ts | 14 +++++++-------
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/apps/ottabase-template-app-nextjs-homepage/app/theme-demo/page.tsx b/apps/ottabase-template-app-nextjs-homepage/app/theme-demo/page.tsx
index fb410f3ce..31e2587a0 100644
--- a/apps/ottabase-template-app-nextjs-homepage/app/theme-demo/page.tsx
+++ b/apps/ottabase-template-app-nextjs-homepage/app/theme-demo/page.tsx
@@ -31,7 +31,7 @@ export default function ThemeDemo() {
-
Theme Demo: {config.themeBase}
+ Theme Demo: {config.theme.name}
{/* Typography Demo */}
diff --git a/apps/ottabase-template-app-nextjs-homepage/next-env.d.ts b/apps/ottabase-template-app-nextjs-homepage/next-env.d.ts
index 9edff1c7c..c4b7818fb 100644
--- a/apps/ottabase-template-app-nextjs-homepage/next-env.d.ts
+++ b/apps/ottabase-template-app-nextjs-homepage/next-env.d.ts
@@ -1,6 +1,6 @@
///
///
-import "./.next/types/routes.d.ts";
+import "./.next/dev/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
diff --git a/packages/ottalanding/src/ottaorm-models/LandingSection.ts b/packages/ottalanding/src/ottaorm-models/LandingSection.ts
index ab0ec040f..1c445ef27 100644
--- a/packages/ottalanding/src/ottaorm-models/LandingSection.ts
+++ b/packages/ottalanding/src/ottaorm-models/LandingSection.ts
@@ -64,7 +64,7 @@ export class LandingSection extends BaseModel {
formConfig: {
visible: true,
fieldType: 'select',
- options: SECTION_TYPES.map((t) => ({ label: t, value: t })),
+ options: SECTION_TYPES.map((t) => ({ id: t, name: t, label: t, value: t })),
},
tableConfig: { visible: true, colWidth: 150 },
},
diff --git a/packages/ottalanding/src/section-fields.ts b/packages/ottalanding/src/section-fields.ts
index 758d463bf..a953265e1 100644
--- a/packages/ottalanding/src/section-fields.ts
+++ b/packages/ottalanding/src/section-fields.ts
@@ -125,9 +125,9 @@ const featuresFields: ModelFields = {
visible: true,
fieldType: 'select',
options: [
- { label: '2 columns', value: '2' },
- { label: '3 columns', value: '3' },
- { label: '4 columns', value: '4' },
+ { id: '2', name: '2 columns', label: '2 columns', value: '2' },
+ { id: '3', name: '3 columns', label: '3 columns', value: '3' },
+ { id: '4', name: '4 columns', label: '4 columns', value: '4' },
],
order: 4,
},
@@ -173,8 +173,8 @@ const pricingFields: ModelFields = {
visible: true,
fieldType: 'select',
options: [
- { label: 'Monthly', value: 'monthly' },
- { label: 'Annual', value: 'annual' },
+ { id: 'monthly', name: 'Monthly', label: 'Monthly', value: 'monthly' },
+ { id: 'annual', name: 'Annual', label: 'Annual', value: 'annual' },
],
order: 4,
},
@@ -401,8 +401,8 @@ const featureHighlightFields: ModelFields = {
visible: true,
fieldType: 'select',
options: [
- { label: 'Right', value: 'right' },
- { label: 'Left', value: 'left' },
+ { id: 'right', name: 'Right', label: 'Right', value: 'right' },
+ { id: 'left', name: 'Left', label: 'Left', value: 'left' },
],
order: 4,
},