Skip to content

Conversation

@BytePaul
Copy link
Contributor

This PR addresses the issue reported in #402 where the Latest News section did not stack correctly on mobile devices and cards remained in a horizontal layout.

Changes Included

Ensured .news-card entries stack vertically on small screens

Adjusted flex behaviour in #news-container to allow wrapping

Increased summary visibility by allowing 4 text lines on mobile

Improved spacing between cards for better readability

Kept desktop layout unchanged

Tested On

Responsive mode in Chrome DevTools

BytePaul and others added 22 commits October 9, 2025 11:18
…cements

- Updated news-collect.js to support both local and production environments
  (replaced hardcoded 127.0.0.1 references with dynamic endpoint detection)
- Added short excerpts from the body of each Discourse post
- Filtered out pinned and “Welcome to the category” topics
- Removed external link marker from “Read more” links for cleaner UI
- Resolved CSS conflicts and unified .news-card styles in customstyles-precice.css
… same color and arrow, and removing external link icon
- Added package.json and package-lock.json for Node.js dependencies
- Updated 'More news' link to point to the correct Discourse category
- Added .github/workflows/fetch-news.yml to run daily at 6 AM UTC
- Updated news-collect.js to display 3 news cards from static JSON
- Added tools/fetch-news.js for CI-based Discourse data generation
@MakisH
Copy link
Member

MakisH commented Oct 30, 2025

Superceded by #625

@MakisH MakisH closed this Oct 30, 2025
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