feat: add Universitetsparken solceller mock (deltag-aarhus)#23
Merged
Conversation
Adds a second deltag.aarhus.dk prototype — Lokalplan nr. 1245 om solceller i Universitetsparken — that reuses the Vosnæs mock's CSS and JS via a new per-mock config layer (mocks/js/config.js + window.DeltagMock.config override). Plan number, deadlines, map center/clusters and active dataset are now swappable without duplicating shared components. The Vosnæs mock keeps the file's defaults and is regression-clean. Co-authored-by: Claude <noreply@anthropic.com>
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.
Summary
docs/public/projects/deltag-aarhus/mocks/uniparken/. Functionally identical to the existing Vosnæs mock (784 høringssvar, åben/afsluttet variants, all modals, map, statistics, filters/sort/load-more), but with new content, hero image, dataset, deadlines and map clusters around Aarhus Universitet.mocks/js/config.js+ per-mockwindow.DeltagMock.configoverride) so plan number, deadlines, map center/clusters and active dataset are swappable without duplicating shared CSS/JS.variant.js,map.js,modal-submission.jsanddata.jsnow read fromDM.configinstead of hard-coding strings. The Vosnæs mock continues to use the file's defaults and is regression-clean.mocks.md,index.md, the mock-banner CI allowlist (scripts/check-mock-banners.mjs) andCHANGELOG.md.Test plan
npm run docs:buildsucceeds (verified locally — build complete in ~5s)npm run lint:mockspasses (verified locally)/projects/deltag-aarhus/mocks/index.html— confirm Vosnæs mock still renders identically: title "Vindmøller ved Vosnæs", deadlines flip between 14. august 2025 and 14. oktober 2025, map centers on Vosnæs, submission modal shows "Lokalplan nr. 1237"/projects/deltag-aarhus/mocks/uniparken/index.html— confirm new mock renders with solar-panel hero, header "Solceller i Universitetsparken", map at Universitetsparken with 11 Aarhus clusters, 784 høringssvar/projects/deltag-aarhus/mocksshows both prototype links and both open in new tabs🤖 Generated with Claude Code