Skip to content

Commit

Permalink
Merge branch 'main' into issue/1506
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbrown-io committed Dec 11, 2024
2 parents 8f63798 + 52fc856 commit 62cf4e6
Show file tree
Hide file tree
Showing 10 changed files with 416 additions and 598 deletions.
87 changes: 61 additions & 26 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,43 +9,77 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [20241211] - 2024-12-11

- ### Sidebar menu theme styles

Styles applied when the light gray sidebar menu style option is picked in the theme configuration. Styles override basic options with new css file.

Sister PR: <https://github.com/CuBoulder/ucb_site_configuration/pull/75>

Resolves Issue #1513

* * *

- ### Resolve URL Hash for mega menus
Resolves #1536.
Changes the functionality of the hash set function to only affect menus that are not mega menus.

* * *

- ### Related Articles: Refactors block for better relatedness scoring, faster generation

Previously the Related Articles block could produce results that were older than expected while more recent related Articles could be missing. The block has been completely reworked to use a modern Web Component style of the other Article List blocks we've developed as well as produce better and more recent Article matches by picking through a pool of the most 50 semi-related to find the top 3.

Resolves <https://github.com/CuBoulder/tiamat-theme/issues/1526>

* * *

- ### Adds Article Syndication "read more" article list
This update adds the Article Syndication "read more" article list, for use with the Campus News block. The article list is automatically created on sites using the CU Boulder Article Syndication module (if it doesn't already exist) and aliased to `/syndicate`. It allows URL parameters to specify category, audience, and unit filters.

[new] CuBoulder/ucb_article_syndication#3


This update adds the Article Syndication "read more" article list, for use with the Campus News block. The article list is automatically created on sites using the CU Boulder Article Syndication module (if it doesn't already exist) and aliased to `/syndicate`. It allows URL parameters to specify category, audience, and unit filters.

[new] CuBoulder/ucb_article_syndication#3

Sister PR in: [ucb_article_syndication](https://github.com/CuBoulder/ucb_article_syndication/pull/6)
---

* * *

- ### Article Lists: Hides Dates, Decodes Special Characters in Titles of Taxonomy Term Pages
If an Article has it's date set to 'Hide' this update will hide the date on `Category` and `Tag` Taxonomy pages as well as on the `Article List Page` and `Article List Block` displays that show the date (Teaser, Feature)

Additionally fixes the display of special characters on Taxonomy term pages from not decoding correctly.

Resolves https://github.com/CuBoulder/tiamat-theme/issues/1465
Resolves https://github.com/CuBoulder/tiamat-theme/issues/1429
Resolves https://github.com/CuBoulder/tiamat-theme/issues/1509

Profile -> https://github.com/CuBoulder/tiamat10-profile/pull/239
---

If an Article has it's date set to 'Hide' this update will hide the date on `Category` and `Tag` Taxonomy pages as well as on the `Article List Page` and `Article List Block` displays that show the date (Teaser, Feature)

Additionally fixes the display of special characters on Taxonomy term pages from not decoding correctly.

Resolves <https://github.com/CuBoulder/tiamat-theme/issues/1465>
Resolves <https://github.com/CuBoulder/tiamat-theme/issues/1429>
Resolves <https://github.com/CuBoulder/tiamat-theme/issues/1509>

Profile -> <https://github.com/CuBoulder/tiamat10-profile/pull/239>

* * *

- ### Mega menu Link color changes
Resolves #1530.
Resolves #1530.
Forces the color of links in the mega menu to be blue to resolve issues of links not showing up.
---

* * *

- ### Newsletters: allow unpublished to show in Email HTML preview
Previously the Email HTML of Newsletters would not display unpublished Articles. Now they will display so site-editors can verify and proof content before mailing. There is a content warning on the Node of any Articles that are unpublished.

Note: Articles must still be manually published before sending the email, or could result in email recipients getting broken links.

Resolves https://github.com/CuBoulder/tiamat-theme/issues/1517
---

Previously the Email HTML of Newsletters would not display unpublished Articles. Now they will display so site-editors can verify and proof content before mailing. There is a content warning on the Node of any Articles that are unpublished.

Note: Articles must still be manually published before sending the email, or could result in email recipients getting broken links.

Resolves <https://github.com/CuBoulder/tiamat-theme/issues/1517>

* * *

- ### Remove wrap from info footer
Resolves #1525.
Resolves #1525.
Removes wrapping from the site info contact footer to remove the extra space.
---

* * *

## [20241204] - 2024-12-04

Expand Down Expand Up @@ -4022,7 +4056,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.20221109] - 2022-11-09

[unreleased]: https://github.com/CuBoulder/tiamat-theme/compare/20241204...HEAD
[unreleased]: https://github.com/CuBoulder/tiamat-theme/compare/20241211...HEAD
[20241211]: https://github.com/CuBoulder/tiamat-theme/compare/20241204...20241211
[20241204]: https://github.com/CuBoulder/tiamat-theme/compare/20241122...20241204
[20241122]: https://github.com/CuBoulder/tiamat-theme/compare/20241120...20241122
[20241120]: https://github.com/CuBoulder/tiamat-theme/compare/20241120...20241120
Expand Down
9 changes: 8 additions & 1 deletion boulder_base.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ucb-global:
css/bootstrap/bootstrap.min.css: {}
css/layout.css: {}
theme:
https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&family=Roboto:wght@400;500;700&display=swap: { type: external }
https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&family=Roboto:wght@400;500;700&display=swap:
{ type: external }
css/style-responsive.css: {}
css/styleguide/global.css: {}
css/styleguide/branding.css: {}
Expand Down Expand Up @@ -527,3 +528,9 @@ ucb-newsletter-list-block:
css:
theme:
css/block/ucb-newsletter-list-block.css: {}

ucb-sidebar-menu-style-gray:
version: 1.x
css:
theme:
css/menu-styles/ucb-sidebar-gray-styles.css: {weight: 50}
2 changes: 1 addition & 1 deletion config/install/boulder_base.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ ucb_heading_font: 'bold'
ucb_above_content_region_color: 'white'
ucb_after_content_one_region_color: 'white'
ucb_after_content_two_region_color: 'white'
web_express_version: '20241204'
web_express_version: '20241211'
17 changes: 17 additions & 0 deletions css/menu-styles/ucb-sidebar-gray-styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.ucb-page-content .ucb-menu {
border-width: 1px 0px 1px 1px;
border-style: solid;
border-color: var(--ucb-light-gray);
}

.ucb-page-content .ucb-menu li.menu-item a.nav-link.is-active, .ucb-page-content .ucb-menu .menu-item.active:last-child > a {
background-color: var(--ucb-light-gray);
}

.ucb-page-content .ucb-menu .expanded.active > a.nav-link, .ucb-page-content .ucb-menu .expanded.active > .ucb-menu {
border: none;
}

.ucb-page-content .ucb-menu li.menu-item {
border: none;
}
16 changes: 9 additions & 7 deletions css/ucb-related-articles.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
.ucb-related-articles-block {
display: none;
display: none;
margin-top: 20px;
--bs-gutter-x: 0 !important;
--bs-gutter-y: 0 !important;
}

.ucb-article-card-img {
max-width: 100%;
height: auto;
max-width: 100%;
height: auto;
}

.ucb-article-card-data {
display: flex;
flex-direction: column;
display: flex;
flex-direction: column;
}

.ucb-article-card {
margin-bottom: 2em;
margin-bottom: 2em;
}

.ucb-related-article-card-body{
font-size: 85%;
font-size: 85%;
}
2 changes: 1 addition & 1 deletion js/ucb-expandable-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ document.addEventListener("DOMContentLoaded", function () {
}

// Add event listeners for all accordion or tab elements
document.querySelectorAll('.accordion-button, .nav-link').forEach(function (link) {
document.querySelectorAll('.accordion-button, .ucb-menu-link').forEach(function (link) {
link.addEventListener("click", function () {
const href = this.getAttribute("href");
if (href) {
Expand Down
Loading

0 comments on commit 62cf4e6

Please sign in to comment.