Skip to content

Feature/news and updates#427

Merged
andreasfrisch merged 2 commits into
developfrom
feature/news-and-updates
Apr 27, 2026
Merged

Feature/news and updates#427
andreasfrisch merged 2 commits into
developfrom
feature/news-and-updates

Conversation

@andreasfrisch
Copy link
Copy Markdown
Contributor

@andreasfrisch andreasfrisch commented Apr 22, 2026

🎶 Notes:
This is a suggestion, not the only possible solution to adding this feature.
Treat it as such, and let us throw it away if that is what we feel like

Changes:

  • Add new database type (news) and corresponding repository
  • Add endpoints for updating, creating, and deleting news items (for cloud engineers)
  • Add endpoints for fetching all news and all 'relevant' news (for a certain definition of 'relevant') to use on the frontpage

@DFDS-Snyk
Copy link
Copy Markdown

DFDS-Snyk commented Apr 22, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@andreasfrisch andreasfrisch marked this pull request as ready for review April 22, 2026 08:33
Copy link
Copy Markdown
Member

@SEQUOIIA SEQUOIIA left a comment

Choose a reason for hiding this comment

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

Left one comment

?? throw new KeyNotFoundException($"News item with id '{id}' not found.");

// Remove highlight from all others first
await _newsItemRepository.ClearHighlight();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not sure I like the approach to highlighting an item. But also not sure I want to a separate table for it just yet 🫪

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think we agree on this 😆

@andreasfrisch andreasfrisch merged commit e341c03 into develop Apr 27, 2026
9 checks passed
@andreasfrisch andreasfrisch deleted the feature/news-and-updates branch April 27, 2026 09:27
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.

3 participants