Inspector template customization with eject command
Problem
Inspector HTML reports are rendered from built-in templates that ship with Dataface, and there is no supported way for teams to customize the profile UI — adding company-specific sections, removing irrelevant metrics, or adjusting layout — without forking the templates entirely. Forking breaks the upgrade path: when Dataface ships template improvements (new chart types, accessibility fixes, layout changes), forked templates don't receive them and diverge silently. Teams need an eject workflow that copies templates into their project space with version metadata, so they can customize rendering while retaining a clear diff path against upstream changes.
Context
- Users can eject inspector templates into project space with clear structure.
- Customization path includes guardrails for compatibility with core updates.
- Docs explain when to eject, how to diff upstream changes, and how to rebase custom templates.
Possible Solutions
Plan
- Define command UX and output structure for template ejection.
- Implement generation/copy pipeline with version marker metadata.
- Add validation/check tooling to detect incompatible custom edits.
- Write migration workflow guidance for future template upgrades.
- Test eject flow end-to-end in CLI and IDE-integrated workflows.
Implementation Progress
- GitHub issue: https://github.com/fivetran/dataface/issues/302
Review Feedback
- [ ] Review cleared