Skip to content

Comments

Fix/news section sorting 402#732

Merged
MakisH merged 3 commits intoprecice:masterfrom
Wdhanashri:fix/news-section-sorting-402
Feb 22, 2026
Merged

Fix/news section sorting 402#732
MakisH merged 3 commits intoprecice:masterfrom
Wdhanashri:fix/news-section-sorting-402

Conversation

@Wdhanashri
Copy link
Contributor

Sort news by publication date and make full card clickable

- Sort by created_at instead of last_posted_at
- Move date inside <a> tag so entire card is clickable
- Add created_at field to fetch-news.py for sort support
- Remove debug console.log
- Fix typo in CSS comment

Addresses precice#402
@Wdhanashri Wdhanashri force-pushed the fix/news-section-sorting-402 branch from 30625d9 to 76651ea Compare February 22, 2026 17:27
Copy link
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution, @Wdhanashri! Useful cleanup as well.

A screenshot comparing the current version to this one:

Screenshot from 2026-02-22 20-48-38

Wdhanashri and others added 2 commits February 23, 2026 02:43
…dant comment

The || fallback on created_at is kept as the current news.json does not yet contain created_at — it will be populated on the next CI run of fetch-news.py.
@MakisH MakisH merged commit c98b8a4 into precice:master Feb 22, 2026
2 checks passed
@precice-bot
Copy link
Contributor

This pull request has been mentioned on preCICE Forum on Discourse. There might be relevant details there:

https://precice.discourse.group/t/gsoc-2026-dhanashri-wankhade/2754/1

@MakisH MakisH added GSoC Contributed in the context of the Google Summer of Code technical Technical issues on the website labels Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GSoC Contributed in the context of the Google Summer of Code technical Technical issues on the website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants