3
Add "Deprecated" field meta tag
Source: directus/directus#23768 · opened by @stafyniaksacha
Summary
Add a checkbox in directus field edition form to mark it as deprecated.
When deprecated, the field is still viewable/editable in content editor, but user as feedback that the field should not be used (field name is struck, or an icon is present)
Basic Example
_No response_
Motivation
Deprecating the field can be useful when performing long-running migrations, or when we want to support legacy features without hiding them.
Detailed Design
• add deprecated column in directus_field
• update FieldMeta schema
• update app settings module to be able to mark field as deprecated
• update app content module to display deprecated field
Requirements List
Could Have:
• A deprecated reason would be a good addition
Add a checkbox in directus field edition form to mark it as deprecated.
When deprecated, the field is still viewable/editable in content editor, but user as feedback that the field should not be used (field name is struck, or an icon is present)
Basic Example
_No response_
Motivation
Deprecating the field can be useful when performing long-running migrations, or when we want to support legacy features without hiding them.
Detailed Design
• add deprecated column in directus_field
• update FieldMeta schema
• update app settings module to be able to mark field as deprecated
• update app content module to display deprecated field
Requirements List
Could Have:
• A deprecated reason would be a good addition
No pledges yet. Be the first to back this.
Comments
Similar requests
Storing Directus metadata in a different database and keeping user database clean
12 votes · 0 comments
Tags in the Kanban layout should respect the colours of their Display settings.
1 vote · 0 comments
Specify sort by field on one to many field
8 votes · 0 comments
`sort` field is visible after creating a M2M field
1 vote · 0 comments
API-only flag on Collections and Fields
1 vote · 0 comments
No comments yet.