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

The "also on the beeminder blog" blurbs show "DRAFT" sometimes #583

Open
1 task
dreeves opened this issue Feb 19, 2025 · 3 comments
Open
1 task

The "also on the beeminder blog" blurbs show "DRAFT" sometimes #583

dreeves opened this issue Feb 19, 2025 · 3 comments
Assignees
Labels
BUG DEV UVI Will count as a User-Visible Improvement

Comments

@dreeves
Copy link
Member

dreeves commented Feb 19, 2025

Desiderata

  • Narthur says whether this sounds easy or hard

Reported by user Rob Felty ❤ and confirmed by dreev.

Replicata

  1. Go to a blog post (only some do this and I think it's random what's shown in the "also on" section so keep trying)
  2. Look at the "ALSO ON BEEMINDER BLOG" section

Expectata

Thumbnails and titles of other blog posts.

Resultata

Image

Image

Cognata

Verbata: embarrassing bugs, drafts vs published posts, confusion about draft vs published status, disqus,

@dreeves dreeves added BUG DEV UVI Will count as a User-Visible Improvement labels Feb 19, 2025
@dreeves
Copy link
Member Author

dreeves commented Feb 19, 2025

Is it possible that every post that started its life as a DRAFT is permanently shown that way?

@narthur
Copy link
Collaborator

narthur commented Feb 21, 2025

Interesting. Not yet sure exactly what's going on here. I feel like we had a bug like this in the past. These related posts are displayed by Disqus. I think. So I guess there's a possibility that we had this bug in the past, fixed it, but whatever data Disqus had already ingested has persisted. I'm not immediately certain how to test that, nor how to fix it if that is the case. It might be worth checking your Disqus dashboard to see what settings or management tools they expose. 🤔

@narthur
Copy link
Collaborator

narthur commented Feb 21, 2025

This is the file where we load in the Disqus comments:

https://github.com/beeminder/blog/blob/master/src/components/Comments.astro

And this indicates that we disable Disqus on draft pages (uncertain if that's relevant or not):

https://github.com/beeminder/blog/blob/master/src/pages/%5Bslug%5D.astro#L73-L82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG DEV UVI Will count as a User-Visible Improvement
Projects
None yet
Development

No branches or pull requests

2 participants