PECE-project / drupal-pece

PECE development repository
GNU General Public License v3.0
21 stars 28 forks source link

Condense field storage #432

Open MegaKeegMan opened 1 week ago

MegaKeegMan commented 1 week ago

Many content types have their own unique namespaced fields, rather than all sharing the same field. Suggested changes and questions follow:

other notes

On Fieldsite, there is a field: field_fieldsite_project And on project there is a field: field_fieldsites Are both of these needed? Or should either be gotten rid of?

fields that should be condensed

fieldsite (change to field_fieldsite)

field_audio_fieldsite field_bundle_fieldsite field_fieldnote_fieldsite field_image_fieldsite field_pdf_fieldsite field_tabular_fieldsite field_text_fieldsite field_video_fieldsite field_website_fieldsite

fieldsite_local (change to field_use_fieldsite_local)

field_audio_use_fieldsite_local field_bundle_use_fieldsite_local field_fieldnote_fieldsite_local field_image_fieldsite_local field_pdf_use_fieldsite_local field_tabular_fieldsite_local field_text_use_fieldsite_local field_video_use_fieldsite_local field_website_fieldsite_local

ciritical commentary (field_crit_commentary)

field_tabular_crit_commentary field_video_crit_commentary field_audio_crit_commentary field_bundle_crit_commentary field_image_crit_commentary field_pdf_crit_commentary field_text_crit_commentary field_website_crit_commentary

authors (field_authors)

field_tabular_authors field_video_authors field_audio_authors field_bundle_authors field_fieldnote_authors field_image_authors field_pdf_authors field_text_authors field_website_authors

created date (field_created_date)

field_tabular_created_date field_video_created_date field_audio_created_date field_bundle_created_date field_fieldnote_created_date field_image_created_date field_pdf_created_date field_text_created_date field_website_created_date

duration (field_duration)

field_video_duration field_audio_duration

format (resolved)

~~These could be kept the same, but worth considering the benefit that may come from condensing these for faceted search: field_video_format field_audio_file_format field_image_file_format~~

language (field_language)

field_tabular_language field_video_language field_audio_language field_fieldnote_language field_image_language field_pdf_language field_text_language field_website_language

location (field_location)

field_tabular_location field_video_location field_audio_location field_bundle_location field_fieldnote_location field_image_location field_pdf_location field_text_location field_website_location field_fieldsite_location

source (field_source)

field_tabular_source field_video_source field_audio_source field_fieldnote_source field_image_source field_pdf_source field_text_source field_website_source

project ref (wait)

field_fieldsite_project deviates from field_pece_project_ref

paragraph fields (wait)

field_body_paragraph field_essay_contents field_photo_essay_items field_timeline_essay_items

thumbnail (wait)

Do these all have the same function or is there some reason they should be different? field_essay_thumbnail field_photo_essay_thumbnail field_subst_logic_thumbnail field_timeline_essay_thumbnail

files that also need to be renamed (field_tabular_data)

field_tabular_media (though this is actually a file field, not media as the name would suggest)

image_banner (wait)

This is only on project, so maybe okay. Any possibility this will be desired elsewhere?

uri (field_uri)

field_pece_uri field_subst_logic_uri

Content types that can be rid of

slideshow image