Add Geografi › Naturgeografi category with 11 curriculum topics, source-linked content, and process demo - #57
Closed
rastermanden with Copilot wants to merge 7 commits into
Closed
rastermanden with Copilot wants to merge 7 commits into
rastermanden with Copilot wants to merge 7 commits into
Conversation
15 tasks
Agent-Logs-Url: https://github.com/rastermanden/myexams/sessions/40daeb78-f4c3-4e69-9212-0017759a4ec4 Co-authored-by: rastermanden <1125134+rastermanden@users.noreply.github.com>
Agent-Logs-Url: https://github.com/rastermanden/myexams/sessions/40daeb78-f4c3-4e69-9212-0017759a4ec4 Co-authored-by: rastermanden <1125134+rastermanden@users.noreply.github.com>
Agent-Logs-Url: https://github.com/rastermanden/myexams/sessions/40daeb78-f4c3-4e69-9212-0017759a4ec4 Co-authored-by: rastermanden <1125134+rastermanden@users.noreply.github.com>
Agent-Logs-Url: https://github.com/rastermanden/myexams/sessions/40daeb78-f4c3-4e69-9212-0017759a4ec4 Co-authored-by: rastermanden <1125134+rastermanden@users.noreply.github.com>
Agent-Logs-Url: https://github.com/rastermanden/myexams/sessions/40daeb78-f4c3-4e69-9212-0017759a4ec4 Co-authored-by: rastermanden <1125134+rastermanden@users.noreply.github.com>
Agent-Logs-Url: https://github.com/rastermanden/myexams/sessions/40daeb78-f4c3-4e69-9212-0017759a4ec4 Co-authored-by: rastermanden <1125134+rastermanden@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create umbrella issue for naturgeografi category in geography
Add Geografi › Naturgeografi category with 11 curriculum topics, source-linked content, and process demo
May 13, 2026
rastermanden
added a commit
that referenced
this pull request
May 13, 2026
* Split content registries to eliminate merge-conflict hot spots Topic PRs all converged on the same three central files (content/<subject>/index.ts, app/[subject]/[category]/[topic]/page.tsx, README.md), so any two open topic PRs were guaranteed to conflict. This refactor splits the registries so each PR only touches files it owns. Per-category content modules - Add content/<subject>/categories/<category>.ts files that import their own topics and export the Category object. - Slim content/matematik/index.ts and content/geografi/index.ts to just compose the category list. They only change when a brand-new category is added. - Adding a topic to an existing category now touches a single shared file (its category file) instead of the subject index. Per-topic demo components - Replace the string-keyed demoKey field on Topic with an optional demoComponent: ComponentType reference. - Each topic file imports its own demo component and sets it on the Topic object. - Remove the central TOPIC_DEMO_COMPONENTS record in app/[subject]/[category]/[topic]/page.tsx; the page reads topic.demoComponent directly. Topic PRs no longer touch the page file at all. Docs - Document the new "adding a topic" workflow in AGENTS.md so future topic PRs land in the per-category file and the per-topic demo field, keeping the shared surface minimal. Build still produces 131/131 static routes. * Ignore /.claude/ local agent worktree dir Claude Code's agent isolation creates worktrees under .claude/worktrees/; these are per-machine and should not be checked in. * Add Naturgeografi category to geografi (11 topics + 1 demo) — Re-roll of #57 onto the per-category content structure from #61. --------- Co-authored-by: Claude <noreply@anthropic.com>
Owner
|
Superseded by #70, which has been merged into Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements the new Geografi › Naturgeografi umbrella area so it is navigable in the subject/category/topic model and usable from folkeskole to gymnasium level.
It adds the requested naturgeografi scope (landskabsdannelse, hydrologi, jordbund, økosystemer) with Danish UI content and explicit source attribution.
Category + routing surface
naturgeografiundergeografi.categorieswith🏔️label and summary./<subject>/<category>/<topic>/<subject>/<category>/<topic>/quizTopic content set (11 topics)
content/geografi/naturgeografi.tsAnimation/demo integration
components/NaturgeografiProcesserDemo.tsx.demoKeymapping in topic page rendering.Source attribution quality
image.sourcePagepattern for rendered credits/links.