Skip to content

Conversation

matt-bernhardt
Copy link
Member

@matt-bernhardt matt-bernhardt commented Mar 31, 2023

This removes the three page templates which Darcy indicated were no longer needed.

Developer

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

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 has been confirmed

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:

* In conversation with Darcy, we've identified three templates in the
  News theme that are no longer needed.

** Relevant ticket(s):

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

** How does this address that need:

* This removes the three templates which we've agreed are no longer
  needed:
  * Subscribe
  * Last Year Archive
  * Test

** Document any side effects to this change:

* None
@matt-bernhardt matt-bernhardt requested review from JPrevost and removed request for JPrevost March 31, 2023 15:44
@matt-bernhardt
Copy link
Member Author

I pulled this PR back from code review because I realized that I missed a related step. Second commit coming...

** Why are these changes being introduced:

* The Parent theme defines a number of page templates which are only
  needed by the parent site, and which end up cluttering the template
  picker for descendant themes.

** Relevant ticket(s):

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

** How does this address that need:

* This implements the same filter which we introduced in the Child theme
  to remove unneeded inherited templates. We allow the Style Guide
  template to remain, on the off chance that we'll need such a page on
  the News site.

** Document any side effects to this change:

* This also introduces the block comment in functions.php which
  separates "things that get called automatically" from "functions which
  may be called elsewhere in the theme". That division should help us to
  keep the file somewhat organized during future development.
@JPrevost JPrevost self-assigned this Mar 31, 2023
@matt-bernhardt matt-bernhardt merged commit d6e6a19 into master Mar 31, 2023
@matt-bernhardt matt-bernhardt deleted the lm297 branch March 31, 2023 17:46
matt-bernhardt pushed a commit that referenced this pull request May 10, 2023
#79)

78: Force symbolic links in composer (no clone/embed folders).
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