Custom zones · 0.8.1

Custom logic and interface in custom zones

Extend the backend, lists and forms while the generator continues updating standard foundations.

On this page

Custom zones contain team-owned files preserved across regeneration. Develop the standard application through the model while adding business rules, integrations and custom screens in code.

For example, add a field and filter in UI while another developer implements order pricing. The next Generate updates the standard form and API and preserves the custom implementation. Your team still checks compatibility with changed types and contracts.

Choose the right place

Task Location
Fields, relationships, languages, permissions, standard forms Generator UI → Content
Logic before saving or after reading backend/internal/custom/ENTITY_NAME/hooks.go
Shared clients, services and dependencies backend/internal/custom/app/composition.go
Dedicated API backend/internal/custom/app/routes.go or entity routes
Cells, actions, controls and field wrappers admin/src/features/ENTITY_NAME/custom/ui-extension.tsx
Complete custom page admin/src/features/ENTITY_NAME/custom/extension.tsx
SQL data backfill backend/migrations/custom/, using a registered migration
Environment and CI additions deploy/custom/

ENTITY_NAME denotes your generated entity directory. Use the actual generated folder name. EntityName in code denotes the generated type. Do not create files literally named ENTITY_NAME.

Generated and custom work together

Generator-owned files update from the model. Existing custom files remain preserved; starter files are created only when absent. Standard domain/app files can also be generator-owned without generated in their path. Review ownership and planned differences in Generate → Preview changes.

Read generated files as contracts and connect your implementation through an extension point. Manual changes in generator-owned files otherwise require conflict resolution or replacement through an explicitly chosen force action.

Task guides

Generator UI does not edit arbitrary Go/React source. Use your ordinary IDE for that work while continuing to generate the same project.

Model, AI and custom code have separate jobs

Develop custom business logic alongside manual model changes; Generate preserves user-owned zones. AI Model proposes only new model objects and has no shell, SQL, source-code editing or Generate authority. Admin editor arranges generated forms but does not replace a full custom page override. A saved custom interface remains yours to maintain.

Application dashboard

The admin home page has a team-owned extension at admin/src/app/custom/dashboard.tsx. CustomDashboard receives the standard dashboard as children: surround it with your own blocks or return your own page. Generate preserves the existing file. This wrapper does not add authorization, API operations or data protection. See admin extensions.

Configure before writing presentation code

Use Branding for application/Login titles, logos, company/support text and palettes. It does not require editing generated theme or layout files. Enable or disable General → Custom dashboard in Project settings to connect the home-page wrapper; disabling it preserves your custom source. A full entity PageOverride remains a separate code-level extension.