Skip to content

Conversation

@jonkafton
Copy link
Contributor

@jonkafton jonkafton commented Jun 18, 2024

What are the relevant tickets?

Closes Page titles in Unified/Open #4510

Description (What does it do?)

  • Adds a build variable, SITE_NAME, defaults to "MIT Open"
  • Appends "MIT Open" (currently) page title part to all page titles.
  • Separates title parts with |
  • Updates titles according to https://github.com/mitodl/hq/issues/4510

Also updates titles:

  • Edit article page from "Editing: <article_name>" to "<article_name> | Edit | MIT Open"
  • User dashboard from "User Home" to "Your MIT Learning Journey | MIT Open"
  • User lists page from "User Lists" to "My Lists | MIT Open"
  • Any titles prefixed "MIT Open", now suffixed.

How can this be tested?

  • Navigate through site and confirm page title updated in tab and appears in history and bookmarks.

  • Lighthouse report passes title checks (post RC release? not tested)

@shanbady shanbady self-requested a review June 18, 2024 20:32
@jonkafton jonkafton added the Needs Review An open Pull Request that is ready for review label Jun 18, 2024
Copy link
Contributor

@shanbady shanbady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works as intended. left a minor nitpick

@shanbady shanbady added Waiting on author and removed Needs Review An open Pull Request that is ready for review labels Jun 20, 2024
@jonkafton jonkafton merged commit 067f350 into main Jun 20, 2024
@odlbot odlbot mentioned this pull request Jun 20, 2024
7 tasks
@shanbady shanbady deleted the jk/4510-page-titles branch June 20, 2024 14:07
@odlbot odlbot mentioned this pull request Jun 20, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants