Skip to content

5. Using Editor Mode ​

Advanced adjustments with the editor — for when Chat AI doesn't give you the precision you need.

When to use Editor Mode ​

Use Chat AIUse Editor Mode
Create a new app from scratchAdjust a specific field's configuration
Add entire modules or entitiesFix a menu item or route
Refactor rules in "business language"Change a field's display label
Large iterative changesResolve a detail the chat handled poorly

Accessing Editor Mode ​

  1. Open your project in the Project Editor
  2. Click the mode toggle in the top bar: switch from AI Chat to Editor
  3. The editor panel opens, showing the project structure

Editor panels ​

Modules & Entities ​

Browse the full structure of your project:

  • Modules → Entities → Fields
  • Click any entity to inspect and edit its fields
  • Add fields directly without prompting the AI

Fields ​

For each field you can configure:

  • Type: text, number, boolean, date, picklist, relationship, file
  • Required: whether the field must be filled
  • Unique: enforce uniqueness at database level
  • Display label: the label shown in the UI (can differ from the field name)
  • Picklist options: add, remove and reorder options
  • Default value: pre-fill the field on create

Relationships ​

Configure how entities relate:

  • 1-to-N: one record relates to many of another
  • N-to-N: many records relate to many (join table auto-created)
  • Set display field: which field of the related entity to show in dropdowns

Scripts (Business Rules) ​

View and edit generated backend scripts:

  • Triggered on create, update, delete, or custom events
  • Written in Python; AI-generated, human-editable
  • Test scripts in isolation before re-deploying

UI Scaffold ​

Inspect the generated frontend structure:

  • Routes and menu items
  • Screen components (List, Form, Detail, Dashboard)
  • Edit labels, column visibility, and filter defaults

Best practices ​

  • Use Editor for targeted fixes: change one thing at a time
  • After editing, use Preview to validate before deploying
  • For larger changes, switch back to Chat AI and describe the change in natural language
  • Editor changes and Chat changes are both tracked in the project history

Troubleshooting ​

  • Field not showing in UI: check if the field is marked as visible in the UI scaffold
  • Relationship not appearing in form: ensure the relationship is configured as "editable" in the field settings
  • Script error after edit: check the script logs in the Runtime panel

Next: Demonstrations →

© Madrix Software. All rights reserved.