Skip to content

Feat/carousel news scheduling#68

Merged
daniellemccool merged 6 commits into
mainfrom
feat/carousel-news-scheduling
Jun 15, 2026
Merged

Feat/carousel news scheduling#68
daniellemccool merged 6 commits into
mainfrom
feat/carousel-news-scheduling

Conversation

@daniellemccool

Copy link
Copy Markdown
Member

News scheduling

Added news scheduling so that news items can be planned, which also means that we had to add a third branch (production) so that we can trigger daily deploys with a github workflow to rebuild.

Current:
If something's edited in the CMS admin, it saves to branch "cms-staging". When edits are ready, you can click the "publish to staging" button in the CMS, which pushes the changes to the branch "main". That makes it visible on d3i-website.github.io so that we can preview it before it goes live. Then once it's approved, I run the action manually (GitHub actions) to trigger the deploy to Netlify where it's then visible on datadonation.eu.

New:
The manual deploy action now writes it to the production branch first, then deploys to Netlify from there. This allows us to trigger a daily update via a cron job so that the future news items will display on the day they're scheduled to.

Carousel

We switched the front page to a carousel format to cut down on the text overload and also have it be distinguishable enough from the news underneath it that it looked nice.

News pages

Just a small change to the news pages. Previously if you clicked on a news item, it would open to a two-column layout and squish in the right column. This fixes it.

@daniellemccool daniellemccool marked this pull request as ready for review June 15, 2026 14:54
@daniellemccool daniellemccool merged commit 3c31833 into main Jun 15, 2026
1 check passed
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.

1 participant