dev #20

Merged
Latte merged 3 commits from dev into main 2026-03-02 18:19:47 +00:00
Owner

Description

Changes

  • ...

Related Issues

Checklist

  • I have tested my changes locally
  • Linting passes (make lint)
  • Tests pass (make test)
  • Documentation updated (if applicable)
  • No secrets or credentials are committed
## Description <!-- What does this PR do? Why is it needed? --> ## Changes - [ ] ... ## Related Issues <!-- Link related issues: Closes #123, Fixes #456 --> ## Checklist - [ ] I have tested my changes locally - [ ] Linting passes (`make lint`) - [ ] Tests pass (`make test`) - [ ] Documentation updated (if applicable) - [ ] No secrets or credentials are committed
Latte added 2 commits 2026-03-02 18:19:29 +00:00
Add blog via Astro content collections
CI / ci (push) Successful in 26s
CI / ci (pull_request) Successful in 27s
Docker / docker (pull_request) Successful in 15s
Enterprise AI Code Review / ai-review (pull_request) Successful in 1m53s
Security / security (pull_request) Successful in 6s
077cc06d75
Introduce blog support: content collection schema, listing and post
routes, and a sample Markdown post. Update docs and TODO; add blog
assets dir and adjust color variables in docs. Also set
absolute_redirect off in nginx.conf for container routing.
Merge pull request 'Add blog via Astro content collections' (#19) from feature/blog into dev
CI / ci (push) Has been cancelled
CI / ci (pull_request) Successful in 26s
Docker / docker (pull_request) Successful in 16s
Enterprise AI Code Review / ai-review (pull_request) Successful in 1m54s
Security / security (pull_request) Successful in 7s
3a40c6560c
Reviewed-on: #19
Latte added 1 commit 2026-03-02 18:19:37 +00:00
Merge branch 'main' into dev
CI / ci (push) Successful in 26s
CI / ci (pull_request) Successful in 26s
Docker / docker (pull_request) Successful in 16s
Enterprise AI Code Review / ai-review (pull_request) Successful in 1m41s
Security / security (pull_request) Successful in 6s
7ba5b9d1f1
Latte merged commit 9353b6b854 into main 2026-03-02 18:19:47 +00:00
Owner

📋 Pull Request Summary

Adds a self-hosted blog feature using Astro Content Collections and a sample post, plus accompanying documentation updates and a small nginx configuration tweak. The PR introduces a content collection schema, a dynamic post page, and updates developer docs and README to reflect the blog workflow and new color palette.

Type: Feature

Changes

Added:

  • src/content/config.ts — defines the blog content collection schema (title, date, description, draft).
  • src/pages/blog/[...slug].astro — dynamic route template to render individual blog posts with prose styling and layout.
  • src/content/blog/love-without-access.md — new example/first blog post (Markdown).
  • Documentation snippets and examples in DEVELOPMENT.md and README.md to describe blog usage, image placement, and color palette.

📝 Modified:

  • DEVELOPMENT.md — expanded file/folder structure, added blog pages and content instructions, updated component/section list and color variables (Catppuccin Mocha palette).
  • README.md — features list updated to mention Catppuccin Mocha palette and blog; docker run example port mapping changed from 3000:3000 to 3000:80; added blog usage notes.
  • TODO.md — marks blog work as complete and adjusts roadmap (adds RSS task).
  • nginx.conf — adds absolute_redirect off; to server config.

Files Affected

  • src/content/config.ts - New content collection configuration for blog using zod schema; declares title, date, description, and optional draft flag.
  • src/pages/blog/[...slug].astro - New dynamic page that builds static paths from the blog collection and renders individual Markdown posts inside BaseLayout with scoped prose styles and a subtle grid background.
  • src/content/blog/love-without-access.md - New blog post (Markdown) added as example content and to demonstrate the blog feature.
  • 📝 DEVELOPMENT.md - Large documentation update: describes new src/content structure, blog pages, content schema, instructions for adding posts/images, and swaps the documented color palette to Catppuccin Mocha.
  • 📝 README.md - Updated features and setup instructions: mentions Catppuccin Mocha palette, documents the blog, adjusts docker run port mapping and asset guidelines.
  • 📝 TODO.md - Project TODO updated to mark the blog implementation complete and refine related tasks (RSS, wording about no CMS).
  • 📝 nginx.conf - Small server config change: absolute_redirect off; added (affects how nginx constructs redirects).

Impact

🟡 Scope: Medium
Introduces a new blog feature and content pipeline (Astro Content Collections) which affects site structure, build-time routes, and documentation. Reviewers should verify build/static generation, routing for blog pages, markdown rendering, and that public asset conventions (/blog//) and nginx redirect behavior are acceptable. Documentation and Docker run instructions were updated; confirm the port mapping change is intentional.

## 📋 Pull Request Summary Adds a self-hosted blog feature using Astro Content Collections and a sample post, plus accompanying documentation updates and a small nginx configuration tweak. The PR introduces a content collection schema, a dynamic post page, and updates developer docs and README to reflect the blog workflow and new color palette. **Type:** ✨ Feature ## Changes **✅ Added:** - src/content/config.ts — defines the `blog` content collection schema (title, date, description, draft). - src/pages/blog/[...slug].astro — dynamic route template to render individual blog posts with prose styling and layout. - src/content/blog/love-without-access.md — new example/first blog post (Markdown). - Documentation snippets and examples in DEVELOPMENT.md and README.md to describe blog usage, image placement, and color palette. **📝 Modified:** - DEVELOPMENT.md — expanded file/folder structure, added blog pages and content instructions, updated component/section list and color variables (Catppuccin Mocha palette). - README.md — features list updated to mention Catppuccin Mocha palette and blog; docker run example port mapping changed from 3000:3000 to 3000:80; added blog usage notes. - TODO.md — marks blog work as complete and adjusts roadmap (adds RSS task). - nginx.conf — adds `absolute_redirect off;` to server config. ## Files Affected - ➕ `src/content/config.ts` - New content collection configuration for `blog` using zod schema; declares title, date, description, and optional draft flag. - ➕ `src/pages/blog/[...slug].astro` - New dynamic page that builds static paths from the blog collection and renders individual Markdown posts inside BaseLayout with scoped prose styles and a subtle grid background. - ➕ `src/content/blog/love-without-access.md` - New blog post (Markdown) added as example content and to demonstrate the blog feature. - 📝 `DEVELOPMENT.md` - Large documentation update: describes new src/content structure, blog pages, content schema, instructions for adding posts/images, and swaps the documented color palette to Catppuccin Mocha. - 📝 `README.md` - Updated features and setup instructions: mentions Catppuccin Mocha palette, documents the blog, adjusts docker run port mapping and asset guidelines. - 📝 `TODO.md` - Project TODO updated to mark the blog implementation complete and refine related tasks (RSS, wording about no CMS). - 📝 `nginx.conf` - Small server config change: `absolute_redirect off;` added (affects how nginx constructs redirects). ## Impact 🟡 **Scope:** Medium Introduces a new blog feature and content pipeline (Astro Content Collections) which affects site structure, build-time routes, and documentation. Reviewers should verify build/static generation, routing for blog pages, markdown rendering, and that public asset conventions (/blog/<post-slug>/) and nginx redirect behavior are acceptable. Documentation and Docker run instructions were updated; confirm the port mapping change is intentional.
Owner

AI Code Review

AI review encountered an error: Failed to parse JSON response: '{\n "summary": "This PR adds a blog (content collection, markdown posts, and dynamic post page), updates docs (README, DEVELOPMENT, TODO), and makes small infra/config changes (nginx, Docker run example). The blog implementation is mostly complete and includes styling and a long sample post. However, there are several functional correctness and maintainability issues that can break builds (how dynamic routes/props are handled), documentation inaccuracies (Docker port mapping), potential runtime/...'

Summary

Severity Count
HIGH 0
MEDIUM 0
LOW 0

Overall Severity: UNKNOWN
AI Recommendation: Changes Requested

<!-- AI_PR_REVIEW --> ## AI Code Review AI review encountered an error: Failed to parse JSON response: '{\n "summary": "This PR adds a blog (content collection, markdown posts, and dynamic post page), updates docs (README, DEVELOPMENT, TODO), and makes small infra/config changes (nginx, Docker run example). The blog implementation is mostly complete and includes styling and a long sample post. However, there are several functional correctness and maintainability issues that can break builds (how dynamic routes/props are handled), documentation inaccuracies (Docker port mapping), potential runtime/...' ### Summary | Severity | Count | |----------|-------| | HIGH | 0 | | MEDIUM | 0 | | LOW | 0 | --- **Overall Severity:** `UNKNOWN` **AI Recommendation:** Changes Requested
Owner

📋 Pull Request Summary

Adds a blog to the project using Astro Content Collections: new content schema, routes to render Markdown posts, and an initial post. Documentation, TODOs, and README were updated to reflect the blog and a new Catppuccin Mocha color palette; a small nginx config tweak and a Docker run port example were also changed.

Type: 🔀 Mixed

Changes

Added:

  • src/content/config.ts — content collection schema for blog (title, date, description, draft)
  • src/pages/blog/[...slug].astro — dynamic page to render individual blog posts using Astro Content Collections and scoped prose styles
  • src/content/blog/love-without-access.md — initial Markdown blog post content
  • public/blog/ (documented) — new recommended location for blog images (per-post subdirectories)

📝 Modified:

  • DEVELOPMENT.md — updated project tree, added blog pages and content docs, swapped in Catppuccin Mocha color palette, added blog authoring & image instructions, updated component/section list
  • README.md — added blog feature notes, switched color palette wording, updated Docker run port mapping example, documented blog post/image locations
  • TODO.md — marked blog-related items as completed and updated other tasks
  • nginx.conf — set absolute_redirect off

Files Affected

  • src/content/config.ts - New Astro content collection config defining the blog schema (title, date, description, optional draft flag).
  • src/pages/blog/[...slug].astro - New dynamic route to generate static paths for non-draft blog posts and render Markdown content with layout, styling, and date formatting.
  • src/content/blog/love-without-access.md - New blog post (Markdown) added to the content collection as the initial example post.
  • 📝 DEVELOPMENT.md - Documentation update: file tree extended to include content/blog, blog authoring and image guidance, color palette swap to Catppuccin Mocha, and updated page/section breakdown.
  • 📝 README.md - README updated to advertise the blog feature, show new palette name, add blog/image setup instructions, and change the example Docker run port mapping.
  • 📝 TODO.md - Task list updated: marks blog implementation (Astro content collections) as done and tweaks related items (RSS, analytics notes).
  • 📝 nginx.conf - Small server config change: absolute_redirect off added (affects how nginx rewrites redirects).

Impact

🟡 Scope: Medium
Introduces a new blog feature and content pipeline that affects routing, build-time content collection usage, and documentation. Requires Astro's content collections support and proper static image placement under public/blog/. Minor operational impacts: README's Docker run example maps host port 3000 to container port 80 (adjust if your container serves a different port), and nginx redirect behavior is slightly changed. Overall, non-breaking if the environment supports Astro content collections and existing assets are unaffected, but reviewers should verify build settings, dependency compatibility (astro/content + zod usage), and container/NGINX port expectations.

## 📋 Pull Request Summary Adds a blog to the project using Astro Content Collections: new content schema, routes to render Markdown posts, and an initial post. Documentation, TODOs, and README were updated to reflect the blog and a new Catppuccin Mocha color palette; a small nginx config tweak and a Docker run port example were also changed. **Type:** 🔀 Mixed ## Changes **✅ Added:** - src/content/config.ts — content collection schema for `blog` (title, date, description, draft) - src/pages/blog/[...slug].astro — dynamic page to render individual blog posts using Astro Content Collections and scoped prose styles - src/content/blog/love-without-access.md — initial Markdown blog post content - public/blog/ (documented) — new recommended location for blog images (per-post subdirectories) **📝 Modified:** - DEVELOPMENT.md — updated project tree, added blog pages and content docs, swapped in Catppuccin Mocha color palette, added blog authoring & image instructions, updated component/section list - README.md — added blog feature notes, switched color palette wording, updated Docker run port mapping example, documented blog post/image locations - TODO.md — marked blog-related items as completed and updated other tasks - nginx.conf — set `absolute_redirect off` ## Files Affected - ➕ `src/content/config.ts` - New Astro content collection config defining the `blog` schema (title, date, description, optional draft flag). - ➕ `src/pages/blog/[...slug].astro` - New dynamic route to generate static paths for non-draft blog posts and render Markdown content with layout, styling, and date formatting. - ➕ `src/content/blog/love-without-access.md` - New blog post (Markdown) added to the content collection as the initial example post. - 📝 `DEVELOPMENT.md` - Documentation update: file tree extended to include content/blog, blog authoring and image guidance, color palette swap to Catppuccin Mocha, and updated page/section breakdown. - 📝 `README.md` - README updated to advertise the blog feature, show new palette name, add blog/image setup instructions, and change the example Docker run port mapping. - 📝 `TODO.md` - Task list updated: marks blog implementation (Astro content collections) as done and tweaks related items (RSS, analytics notes). - 📝 `nginx.conf` - Small server config change: `absolute_redirect off` added (affects how nginx rewrites redirects). ## Impact 🟡 **Scope:** Medium Introduces a new blog feature and content pipeline that affects routing, build-time content collection usage, and documentation. Requires Astro's content collections support and proper static image placement under public/blog/. Minor operational impacts: README's Docker run example maps host port 3000 to container port 80 (adjust if your container serves a different port), and nginx redirect behavior is slightly changed. Overall, non-breaking if the environment supports Astro content collections and existing assets are unaffected, but reviewers should verify build settings, dependency compatibility (astro/content + zod usage), and container/NGINX port expectations.
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Hiddenden/Cozy-Den#20