Broward-Drupal / broward-drupal

Broward Drupal projects
8 stars 0 forks source link

Data Model Document compared to wireframes #53

Open shaal opened 6 years ago

shaal commented 6 years ago

Please note - no changes should be made on the website itself, we are organizing our thoughts and decisions in the document first, all updates should be done as comments to issues

  1. Please review the stunning design (and that's only the draft!) made by @modulist - https://github.com/iribarne/broward-drupal/issues/48

  2. According to that, please find which content types/fields are missing or need to be changed in the data-model document - https://docs.google.com/spreadsheets/d/1SZdB2lKSNGzkk4XQjK4aurL-Yq0Yu2CjI6oSzdldp8s

  3. For existing content types that need to be updated - please find the relevant exiting issue (ie. https://github.com/iribarne/broward-drupal/issues/23)

  4. If a new content type is needed, please create a new issue for that content type and its fields

shaal commented 6 years ago

@modulist presented photos from unsplash.com, a step which requires having the copyright of images we're using. I suggest creating a special content type for images. In order to have the copyright information, and maybe even the alternative text for screen readers (so it doesn't need to be entered more than once. Every time we can use the library of images, we can connect other content types with entity reference to the new image content type.

Content type: image (imag) Fields: Image file (imag_image_file) Photographer (imag_photographer) Alternative Text (imag_alternative_text)

Example for other content types using it - Card Image (card_imag_ref)

We need to figure out what other content types would be using this image content type, and when a regular image field make sense)

Mercergirl commented 6 years ago

The image field type has an alt text field built in. Is there an advantage to creating an alt text field on the content type rather than using the built-in alt text field on the image?

Mercergirl commented 6 years ago

We might want to use image credit instead of photographer. It is possible that we would have a graphic, chart, art work with designer/creator attribution instead of photographer. Even stock photos sometimes require org name credit instead of photog.

jeppy64 commented 6 years ago

hey guys, it isnt a content type, its just fields on the card and hero content type.

remember, the hero is a single dimensional bundle and so is the card. each of those gets a single image field which already has alt text built in from the core image module, so if we add the following to cards and hero:

Source Name (card_source_name) - plain text Source URL (card_source_url) - link

Source Name (hero_source_name) - plain text Source URL (hero_source_url) - link

Then from the parent content type such as Event, thats where cardnality happens so for each hero youll have the option to add the image and the above fields