Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: delete backup code for snippet I deleted #456

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented May 8, 2024

Overview

I deleted this snippet yesterday from production CMS, because:

  • CMD lead writer and CMD website admin agreed to always show byline.
  • Hiding "by:" of byline is alreaedy applied via Core-CMS styles.

Related

None

Changes

  • deleted backup of live snippet code (not directly used)

Testing / UI

actual poster
(previously, this was hidden, and would have been "Hedda")
unknown poster
(previously, this was hidden, and would have been "Hedda")
Actual Poster Unknown Poster
"by" is hidden via CMS code
(as on https://tacc.utexas.edu/news/latest-news/)
styles migrated to cms

I deleted this snippet yesterday from production CMS.
- CMD lead writer and CMD website admin agreed to always show byline.
- Hiding "by:" of byline is alreaedy applied via Core-CMS styles.
@wesleyboar wesleyboar requested review from van-go and sophia-massie May 8, 2024 17:25
Copy link
Member Author

@wesleyboar wesleyboar left a comment

Choose a reason for hiding this comment

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

Notes

Comment on lines -2 to -7
/* To hide byline of an article by another outlet */
/* NOTE: Requires author add "external" tag to the article */
/* TODO: Figure out how to show external author that user enters */
.has-blog-tag-external .byline {
display: none;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Yesterday, CMD Lead Writer and CMD Website Admin agreed to not hide this anymore.

I deleted actual snippet and updated CMS data to ensure all now visible "bylines" look good.

Copy link
Member Author

@wesleyboar wesleyboar May 8, 2024

Choose a reason for hiding this comment

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

actual poster
(previously, this was hidden, and was "Hedda")
unknown poster
(previously, this was hidden, and was "Hedda")
Actual Poster Unknown Poster

Comment on lines -9 to -14
/* To hide the "by: " in the byline */
/* CAVEAT: The   between "by:" and author name is still visible */
/* TODO: (TUP-552) Whether to hide this in Core, TUP, or any CMS */
.byline span {
display: none;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

This code is already present and taking effect because it was migrated to Core-CMS styles 2 months ago.

Copy link
Member Author

Choose a reason for hiding this comment

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

"by" is hidden via CMS code
(as on https://tacc.utexas.edu/news/latest-news/)
styles migrated to cms

@jarosenb jarosenb merged commit 437dc10 into main Aug 13, 2024
1 check passed
@jarosenb jarosenb deleted the chore/delete-backup-code-for-deleted-snippet branch August 13, 2024 14:55
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