Keyboard Shortcuts
Essential shortcuts for quick work:Entity Management Tips
1. Structure Parent-Child Entities
Organize related Entities in parent-child relationships:- Displayed hierarchically in sidebar
- Easy to find related Entities
- Logical grouping
2. Consistent Naming Conventions
3. Leverage AI Chat
Writing effective prompts:- Specify field types and constraints
- Describe relationship settings
- Mention index requirements
4. Organize Property Order
Arrange fields in meaningful order:Migration Tips
1. Run in Small Units Frequently
2. Use Migration Preview
Always check Preview before execution: Check items:- β Are the columns being added correct?
- β οΈ Are any columns being deleted?
- π Are type changes intentional?
3. Production Migration Checklist
Scaffolding Tips
1. Batch Generation Strategy
Project initial:2. Backup Habit
Backup Models with important business logic before regeneration:3. Utilize Git
Commit generated files immediately to manage change history:Subset Usage Tips
1. Define Standard Subsets
Define consistent Subsets for all Entities:2. Performance Optimization
Include only needed fields:3. Subset Selection by API
Using Search
Quick Navigation
Search (βK) can find:
- Entity:
User,Post - Fields:
email,created_at - Migration: Filename search
- Subset:
User.Subset A
Workflow Optimization
New Feature Development Flow
Entity Modification Flow
Using Browser Developer Tools
Network Tab
Check API calls for debugging:Console Tab
Check error messages:Troubleshooting
When UI is Slow
Cause: Too many Entities or large data Solution:- Clear browser cache
- Close unnecessary browser tabs
- Restart Sonamu UI
When Changes Arenβt Reflected
Solution:- Browser refresh (
F5) - Hard reload (
ββ§R/Ctrl+Shift+R) - Restart API server
- Restart Sonamu UI
Entity Save Failed
Check:- Is API server running?
- Do you have file write permission?
- Is field name valid? (reserved word check)
- Is foreign key reference correct?
Next Steps
Entity Management
View Entity management details
Sonamu CLI
Advanced tasks via CLI