6
Reusable Field Templates for Consistent and Efficient Schema Design
Source: directus/directus#25381 · opened by @MrCasquette
Summary Directus should allow users to define and reuse field templates (type, interface, icon, translations, validation, etc.) that can be quickly applied to any collection, ensuring consistency and saving time. Basic Example Define a title field template once, then add it to any collection in one click, with all settings (type, interface, translations, validation) pre-filled. Example (JSON): Motivation • Avoid repetitive manual configuration for common fields (e.g., title, description, image, etc.) • Ensure consistent UX, validation, and translations across all collections • Make onboarding and maintenance easier for teams Detailed Design • UI and API to create, manage, and apply field templates • Templates include all field settings (type, interface, translations, icon, validation, etc.) • Import/export templates as YAML/JSON for sharing or backup Requirements List Must Have • Create, save, and apply field templates …
No pledges yet. Be the first to back this.
Comments
Similar requests
Feedback on schema migration strategy
1 vote · 0 comments
Schema Apply on Startup
3 votes · 0 comments
Partial Schema Definition
1 vote · 0 comments
Facets: Streamlined Filtering and Advanced Search Integration for Directus Collections
38 votes · 0 comments
Project Boilerplate and Easy Schema Export/Import for Rapid Project Setup
5 votes · 0 comments
No comments yet.