Skip to content

Experiment: Content types tracking issue #77600

@ntsekouras

Description

@ntsekouras

In #77497 we landed an experiment to manage custom taxonomies (Content types: manage custom taxonomies).

Let's see how far we can get with the current APIs and how possible it can be to support the majority of use cases for custom taxonomies (and later for post types), where it's assumed that the majority of the cases are the simple ones. Complex use cases will remain in the plugin territory.

This effort is also valuable to help other core features and APIs evolve, like DataViews and DataForm.

Custom taxonomies architecture

Taxonomy fields

  • Add more fields. Right now we've only added all labels. This task should be implemented incrementally for easier testing.
  • Labels should probably be auto-generated on creating a new taxonomy from singular-plural labels. User should be able to manually update them after that.
  • Users should be able to regenerate labels automatically when there are edits in singular-plural labels. Should this be an explicit button in the labels card UI (regenerate)? Should it be a checkbox (auto regenerate)? Take into account if manual edits exists before auto generating
  • Investigate how/if labels are internationalized. Maybe adding some filters that 3rd party plugins is the way to go here.

Enhancements

  • Relax taxonomy-key pattern validation. See ongoing discussion here: Experiment: Add custom taxonomies #77497 (comment)
  • Now that the Drawer component has landed, explore using it for the edit action. This will inform us whether is good for our use case and whether the quick edit in site editor can use it too.
  • Add more filters - especially the post type. This is related to how we end up storing the config. PR for post type filter: Experiment: Taxonomies REST controller #77697
  • Investigate the rest of labels and whether they should be auto generated by the singular/plural labels - they should still be editable.

Bugs

Upstream fixes

Notes

This is a living issue and any suggestions are welcome.

Metadata

Metadata

Labels

Content types (experimental)Affects the content types experiment[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions