From cb477006f45d6fea89be6b83b6e4ada1a36d42fc Mon Sep 17 00:00:00 2001 From: kayjaydee Date: Tue, 21 Apr 2026 12:52:51 +0200 Subject: [PATCH] =?UTF-8?q?fix(05):=20resolve=20checker=20issues=20?= =?UTF-8?q?=E2=80=94=20open=20questions=20resolved,=20depends=5Fon=20corre?= =?UTF-8?q?cted,=20test.vue=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 05-RESEARCH.md: rename section to 'Open Questions (RESOLVED)' with explicit answers (frontmatter schema: tags array, image relative path, author implicit from site.ts; i18n prefix: /blog for blog_fr, /en/blog for blog_en) - 05-02-PLAN.md: fix depends_on from '05-01-PLAN.md' to '01' - 05-02-PLAN.md: add app/pages/test.vue in Task 2 files (with note to delete after checkpoint) Co-Authored-By: Claude Sonnet 4.6 --- .../05-02-PLAN.md | 7 +++++-- .../05-RESEARCH.md | 18 +++++++++--------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.planning/phases/05-nuxt-content-setup-renderer/05-02-PLAN.md b/.planning/phases/05-nuxt-content-setup-renderer/05-02-PLAN.md index d772d1c..ec0dfc1 100644 --- a/.planning/phases/05-nuxt-content-setup-renderer/05-02-PLAN.md +++ b/.planning/phases/05-nuxt-content-setup-renderer/05-02-PLAN.md @@ -4,12 +4,15 @@ plan: 02 type: execute wave: 2 depends_on: - - "05-01-PLAN.md" + - '01' files_modified: + - app/components/content/ProseImg.vue + - app/components/content/Alert.vue - app/components/content/ProseImg.vue - app/components/content/Alert.vue - content/fr/blog/test-kotlin-syntax.md - content/en/blog/test-kotlin-syntax.md + - app/pages/test.vue autonomous: false requirements: - BLOG-01 @@ -231,7 +234,7 @@ components: [ Task 2: Créer les articles de test markdown FR et EN - content/fr/blog/test-kotlin-syntax.md, content/en/blog/test-kotlin-syntax.md + content/fr/blog/test-kotlin-syntax.md, content/en/blog/test-kotlin-syntax.md, app/pages/test.vue (a supprimer apres checkpoint visuel) - .planning/phases/05-nuxt-content-setup-renderer/05-UI-SPEC.md (Copywriting Contract — copie exacte des textes) - .planning/phases/05-nuxt-content-setup-renderer/05-RESEARCH.md (Code Examples — structure de l'article de test) diff --git a/.planning/phases/05-nuxt-content-setup-renderer/05-RESEARCH.md b/.planning/phases/05-nuxt-content-setup-renderer/05-RESEARCH.md index 471d979..665d4b2 100644 --- a/.planning/phases/05-nuxt-content-setup-renderer/05-RESEARCH.md +++ b/.planning/phases/05-nuxt-content-setup-renderer/05-RESEARCH.md @@ -425,17 +425,17 @@ highlight: { --- -## Open Questions +## Open Questions (RESOLVED) -1. **Frontmatter schema définitif** - - Ce qu'on sait : `title`, `description`, `date` sont nécessaires pour Phase 6 (listing) - - Ce qui est flou : `tags` (array ou string?), `image` (path relatif ou absolu?), `author` - - Recommandation : Définir un schema minimal dans `content.config.ts` avec `z.string().optional()` pour les champs non-critiques — peut s'étendre en Phase 7 +1. **Frontmatter schema définitif** — RESOLVED + - `tags`: `z.array(z.string()).optional()` dans content.config.ts (array, pas string) + - `image`: chemin relatif depuis `public/` (ex: `/images/og-image.png`) — string optionnel + - `author`: implicite depuis `site.ts` (pas dans le frontmatter de cette phase — ajouté en Phase 7 si besoin) -2. **Prefix des collections i18n** - - Ce qu'on sait : `prefix_except_default` avec `defaultLocale: 'fr'` → les URLs FR sont sans `/fr/` - - Ce qui est flou : Le `source.prefix` dans content.config.ts doit-il matcher exactement le path i18n ? - - Recommandation : Tester avec l'article de validation que `queryCollection('blog_fr').path('/blog/test-kotlin-syntax').first()` retourne le bon article +2. **Prefix des collections i18n** — RESOLVED + - `source.prefix` pour `blog_fr` : `/blog` (FR est la locale par défaut, pas de préfixe `/fr/` grâce à `prefix_except_default`) + - `source.prefix` pour `blog_en` : `/en/blog` (EN est préfixé) + - Aligné avec la strategy `prefix_except_default` de `@nuxtjs/i18n` ---