Skip to content

claude/clever-raman-a8f9b4#96

Merged
sundancekid73 merged 13 commits into
masterfrom
claude/clever-raman-a8f9b4
Apr 29, 2026
Merged

claude/clever-raman-a8f9b4#96
sundancekid73 merged 13 commits into
masterfrom
claude/clever-raman-a8f9b4

Conversation

@sundancekid73

Copy link
Copy Markdown
Collaborator

No description provided.

sundancekid73 and others added 13 commits October 29, 2025 12:27
BREAKING-CHANGE: use new API for nuxt-content v3
BREAKING-CHANGE: use new API for nuxt-content v3
Complete the queryContent (v2) → queryCollection (v3) migration across all
remaining pages and components. Fix content not rendering due to missing
wasm-unsafe-eval CSP directive (required for browser-side WebAssembly SQLite)
and missing custom frontmatter fields in the content schema.

Changes:
- components/ArticleContent.vue, ContentPreview.vue, TextPreviewBox.vue:
  migrate to queryCollection, fix null-safety, fix ContentRenderer v3 API
- pages/activities.vue, blog.vue, collaborations.vue, database/index.vue,
  glossary/index.vue: migrate queryContent → queryCollection
- content.config.ts: add heading, image, caption, captionLink, subheading,
  img, route fields to schema so they are first-class SQLite columns
- nuxt.config.ts: add wasm-unsafe-eval to CSP script-src for WebAssembly
  SQLite support; add routeRules to bypass security middleware on
  /__nuxt_content/** API routes; upgrade @nuxtjs/i18n to v9 (fixes unhead
  v2 incompatibility); fix swapped locale names (de/en)
- package.json / pnpm-lock.yaml: update @nuxtjs/i18n to ^9.5.6
- .gitignore: exclude /.data/ (runtime SQLite database)
- .data/content/contents.sqlite: untrack from git (runtime-generated file)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Complete Nuxt Content v3 migration and fix content rendering
- Fix members query to use LIKE prefix match instead of exact path match
- Fix useAsyncData key to use template literal for proper interpolation
- Rename loop variable from 'index' to 'i' to avoid conflict with index data ref
- Update data access patterns from v2 (members.data.value) to v3 (members)
- Update path field from _path to path
- Remove debug template code and old commented-out v2 declarations

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sort by stem instead of path so that the numeric file prefixes
(1.susanne-hochreiter, 2.marina-rauchenbacher, ...) determine
display order. The path column strips these prefixes, causing
alphabetical-by-name ordering instead of the intended sequence.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The project was migrated from npm to pnpm, but the GitHub Actions
workflows still had Setup Node.js / npm ci steps referencing the
non-existent package-lock.json. These steps caused the workflow to
fail because npm ci requires a package-lock.json.

The Docker build is self-contained (Dockerfile uses corepack + pnpm),
so the host-side install steps were always redundant and are removed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sundancekid73 sundancekid73 merged commit cecdcab into master Apr 29, 2026
4 checks 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.

1 participant