Ingot.Components.DefaultComponent (Ingot v0.1.0)
View SourceDefault fallback component for sample and label rendering.
This component provides generic rendering functionality that works with any sample type and label schema. It's used when:
- No custom component is configured for a queue
- A custom component fails to load
- Testing and development
Sample Rendering
- Displays sample ID
- Renders artifacts (images displayed inline, other files as links)
- Pretty-prints JSON payload
Label Form Rendering
- Generates form inputs based on schema field types
- Supports: scale (range), text (textarea), boolean (checkbox), generic (text input)
- No custom validation (uses standard schema validation)