-
Notifications
You must be signed in to change notification settings - Fork 0
V5.21 #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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.' }),
Resolves #21.