Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element content refactoring #1524

Closed
brandonkelly opened this issue Mar 13, 2017 · 1 comment
Closed

Element content refactoring #1524

brandonkelly opened this issue Mar 13, 2017 · 1 comment
Labels
content modeling 📓 features related to content modeling enhancement improvements to existing features system administration 💼 features related to system administration

Comments

@brandonkelly
Copy link
Member

  • All fields should be stored globally (remove the context column from craft_fields)
  • Each field layout should correlate to a “field set”. Each field set has its own content table (craft_content_X).
  • Field sets can be localizable or not, determining whether their content table has a siteId column, and whether that should be factored into element queries.
  • Field sets can override Name, Handle, and Instructions settings, and possibly some field type-specific settings (e.g. the "Add button label" in relational fields).
  • Element Query classes should be able to specify the field set IDs that will be relevant to a given query.
  • Each element should store its field set ID, so Element Queries know which field set the element is associated with (which custom field columns' values to care about) just by looking at its row data.
  • Element titles should be moved to the craft_elements_i18n table, next to Slugs.
  • Field Layout Designers should have inline field creation, to make up for the fact that Matrix field configurators will just have users select fields for their block types, rather than creating them.
@brandonkelly brandonkelly added system administration 💼 features related to system administration content modeling 📓 features related to content modeling labels Feb 25, 2018
@j-greig
Copy link
Contributor

j-greig commented Jun 21, 2018

Excited for this one!

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
content modeling 📓 features related to content modeling enhancement improvements to existing features system administration 💼 features related to system administration
Projects
None yet
Development

No branches or pull requests

2 participants