CuBoulder / tiamat-theme

University of Colorado Boulder Drupal 9+ base theme
GNU General Public License v2.0
3 stars 0 forks source link

Related Articles on Migrated Sites #1242

Closed kevincrafts closed 1 week ago

kevincrafts commented 3 weeks ago

There's a few issues we're seeing with related articles on migrated sites.

Migrated sites with articles are displaying the related articles at the bottom of the page even though the article is not set to display them. (https://live-ucbprod-lab-betterton.pantheonsite.io/2022/06/12/toward-task-capable-active-matter-learning-avoid-clogging-confined-collectives-collisions)

image

The element has no heading so it's not clear what these are

image

The related articles aren't the most recent. On https://live-ucbprod-lab-betterton.pantheonsite.io/2022/06/12/toward-task-capable-active-matter-learning-avoid-clogging-confined-collectives-collisions the articles are from 2017, 2016, and 2006, but on a test list I made (https://live-ucbprod-lab-betterton.pantheonsite.io/test-list) there's at least 10 articles that should've been included that were skipped.

Articles aren't even related On https://www.colorado.edu/aerospace, some of the articles just have the same three articles displaying but they don't even have anything in common. https://www.colorado.edu/aerospace/2024/07/15/designing-autonomous-robots-use-mars-and-closer-home https://www.colorado.edu/aerospace/2024/07/02/students-earn-third-nasa-lunar-competition https://www.colorado.edu/aerospace/2024/07/03/scheeres-joins-esas-hera-asteroid-mission

I'm still unclear on how if someone wants to add or remove this functionality that they are able to do it without having to edit each article one by one. There only seems to be a way to set that new articles will have it added by default. New sites may not want to add something like this until they have more article content, making it difficult to add to each article, and a site with a lot of articles will have difficulty removing it should they not want that to display anymore.

patrickbrown-io commented 3 weeks ago

(Partial) Duplicate of https://github.com/CuBoulder/migrate_express/issues/54

patrickbrown-io commented 3 weeks ago

Migrated sites with articles are displaying the related articles at the bottom of the page even though the article is not set to display them

Migration issue see https://github.com/CuBoulder/migrate_express/issues/54, adding the paragraph will fix this behavior

Related Articles aren't most recent or relevent

Check component ranking functionality for relatedness. See if API pulls most recent first or check if async calls like Article Aggregator Blocks throwing off the order.

I'm still unclear on how if someone wants to add or remove this functionality...

Global on/off? Need to discuss, potentially separate issue

timurtripp commented 3 weeks ago

There is a site-wide setting. CU Boulder site settings → Content types

edit: You're already aware of that, my bad.

jcsparks commented 3 weeks ago

@timurtripp - does that apply retroactively to previously created articles? The help text for the setting says it will apply to "new" articles.