feat: improved onboarding part 1 (#2186)

* feat: analytics events

* improved forms

* store state

* lint

* cleanup tenant name

* nits

* add environment to the form

* environment tag

* include env with tenant

* lint

* fix gen

* address comments

* feedback

* fix: layout

* navigation state

* rm dep

* lint

* address review

* lint

* lint

* fix: build
This commit is contained in:
Gabe Ruttner
2025-08-25 11:14:34 -07:00
committed by GitHub
parent 2a8ba155fa
commit 59fe6c110e
31 changed files with 6721 additions and 849 deletions
@@ -34,6 +34,8 @@ TenantMember:
$ref: "./tenant.yaml#/TenantMember"
TenantMemberList:
$ref: "./tenant.yaml#/TenantMemberList"
TenantEnvironment:
$ref: "./tenant.yaml#/TenantEnvironment"
TenantMemberRole:
$ref: "./tenant.yaml#/TenantMemberRole"
TenantResource:
@@ -20,6 +20,9 @@ Tenant:
uiVersion:
$ref: "#/TenantUIVersion"
description: The UI of the tenant.
environment:
$ref: "#/TenantEnvironment"
description: The environment type of the tenant.
required:
- metadata
- name
@@ -67,6 +70,14 @@ TenantAlertingSettings:
- maxAlertingFrequency
type: object
# IMPORTANT: keep values in sync with sql/schema/v0.sql#TenantEnvironment
TenantEnvironment:
enum:
- "local"
- "development"
- "production"
type: string
CreateTenantRequest:
properties:
name:
@@ -85,6 +96,13 @@ CreateTenantRequest:
engineVersion:
$ref: "#/TenantVersion"
description: The engine version of the tenant. Defaults to V0.
environment:
$ref: "#/TenantEnvironment"
description: The environment type of the tenant.
onboardingData:
type: object
description: Additional onboarding data to store with the tenant.
additionalProperties: true
required:
- name
- slug