Mock Data Guide
Implementing the Data Seeder UI.
This guide outlines how to build the frontend interface for the Data Seeding feature.
1. Trigger
Add a context menu item to the Sidebar Table node:
- Label: "Generate Mock Data"
- Icon:
Wand2(Lucide) - Action: Open
<DataSeederModal />
2. Component State (DataSeederModal)
Since the backend does the generation, we might just fire-and-forget for the MVP.
3. Backend Integration
Call the seed_table command (to be implemented).
4. Improvements
For a better UX without a dedicated preview command:
- Fetch table schema using
get_database_schema. - Display column names that will be populated.
- Show a warning "This will insert data into [Table]".
Edit this page on GitHub
Last updated on