Skip to content

Conversation

matt-bernhardt
Copy link
Member

@matt-bernhardt matt-bernhardt commented Apr 4, 2023

This resolves the problems identified during a close review of the needed workflows in the News site. Specically, each of the following changes are made in one commit each:

  • The name of the controlled vocabulary for issues of the Bibliotech is updated to be "Bibliotech Issues" - to prevent confusion between that and the actual "Bibliotech" content type.
  • A few specific image sizes / formats are added from the legacy theme, which makes it easier for content authors to accurately apply those image sizes while writing articles.
  • A few field groups are updated to make sure that all the needed fields are actually appearing (two field groups were not visible because of a name collision, and some invalid JSON)

Ticket

https://mitlibraries.atlassian.net/browse/LM-300

Developer

Secrets

  • No secrets are affected

Documentation

  • No documentation changes are needed

Accessibility

  • ANDI or Wave has been run in accordance to
    our guide and
    all issues introduced by these changes have been resolved or opened as new
    issues (link to those issues in the Pull Request details above)

Stakeholder approval

  • Stakeholder approval is not needed

Dependencies

NO dependencies are updated

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • The changes have been verified
  • The documentation has been updated or is unnecessary
  • New dependencies are appropriate or there were no changes

** Why are these changes being introduced:

* There is currently a confusing overlap between a content type and a
  category applied to that content type - both being named "Bibliotech"
  in some cases.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/lm-300

** How does this address that need:

* This updates the name of the category applied to the Bibliotech post
  type to be "Bibliotech Issues", to prevent the confusion.

** Document any side effects to this change:

* None
** Why are these changes being introduced:

* The news theme makes reference to a few named image sizes which are
  not yet defined in the theme's functions.php file. This gap means that
  content editors are not constrained to the proper dimensions when they
  assign images to those fields which use the missing sizes.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/lm-300

** How does this address that need:

* This adds the definitions for the image sizes to the news theme's
  functions.php.

** Document any side effects to this change:

* None
** Why are these changes being introduced:

* There are two sets of custom fields which are not loading correctly.
  One is due to a name collision, as two JSON files have identical
  names. The other is because of invalid JSON.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/lm-300

** How does this address that need:

* The two sets of field definisions which share a name are updated to
  use the "-1" and "-2" suffixes, like we use in other cases.
* The invalid JSON is corrected in another field definition.

** Document any side effects to this change:

* None (although I now want to identify a CLI tool that can be run by
  Composer in GitHub Actions to guard against this).
@matt-bernhardt matt-bernhardt changed the title Lm300 News site updates based on internal review Apr 5, 2023
@matt-bernhardt matt-bernhardt requested a review from JPrevost April 5, 2023 15:17
@JPrevost JPrevost self-assigned this Apr 5, 2023
@matt-bernhardt matt-bernhardt merged commit f06a79a into master Apr 5, 2023
@matt-bernhardt matt-bernhardt deleted the lm300 branch April 5, 2023 15:32
matt-bernhardt pushed a commit that referenced this pull request May 10, 2023
74:Setting script PHP version properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants