Skip to content

Conversation

@rdsov
Copy link
Member

@rdsov rdsov commented Apr 18, 2025

Resolves #21.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR (V5.21) resolves issue #21 by updating type definitions, removing the EMAIL property, updating news content metadata, and introducing a new promotion collection configuration.

  • Removed the EMAIL field from the Site type and SITE constant
  • Updated news post metadata (date and draft flags) in both English and German content
  • Added a new promotion collection in the content configuration

Reviewed Changes

Copilot reviewed 8 out of 23 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/types.ts Removed the EMAIL property from the Site type
src/content/news/en/what-you-can-learn-from-futureblurs-philosophy.md Updated date and draft flag
src/content/news/de/what-you-can-learn-from-futureblurs-philosophy.md Updated date, draft flag, and added a period in a caption
src/content/config.ts Added the promotion collection with new validation
src/consts.ts Removed the EMAIL property from the SITE object
Files not reviewed (15)
  • package.json: Language not supported
  • src/components/Footer.astro: Language not supported
  • src/components/Header.astro: Language not supported
  • src/components/Home/Promotion.astro: Language not supported
  • src/components/Icons/FutureblurLogo.astro: Language not supported
  • src/components/LocaleHeader.astro: Language not supported
  • src/components/Navigation/NavBar.astro: Language not supported
  • src/components/Navigation/NavBarLinks.astro: Language not supported
  • src/content/promotion/de/archviz.json: Language not supported
  • src/content/promotion/de/octane.json: Language not supported
  • src/content/promotion/en/archviz.json: Language not supported
  • src/content/promotion/en/octane.json: Language not supported
  • src/layouts/Layout.astro: Language not supported
  • src/pages/[lang]/index.astro: Language not supported
  • src/styles/global.css: Language not supported
Comments suppressed due to low confidence (1)

src/content/config.ts:10

  • The error message for the 'order' field may be misleading because the 'nonnegative' validation accepts zero as valid. Consider updating the message to indicate that a value of zero is acceptable, or adjust the validation if only strictly positive numbers are allowed.
order: z.number().nonnegative({ message: 'Promotion object order needs to be positive.' }),

@rdsov rdsov self-assigned this Apr 19, 2025
@rdsov rdsov merged commit ebe7d78 into preview Apr 19, 2025
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.

2 participants