chore(openspec): generate map-component spec#378
Merged
Conversation
Add OpenSpec change proposal for a reusable MapComponent.vue that wraps CnMapWidget and serves as the shared map surface for case detail map tab, dashboard map widget, and public case page. Includes proposal, design, tasks (T01-T05 + V01-V04), and REQ-MC-1..6 delta spec covering the wrapper, prop API, events, interactive mode, NL Design System / accessibility, and customComponents registration. Sister spec to case-location and case-map-overview.
Contributor
Quality Report — ConductionNL/procest @
|
| Check | PHP | Vue | Security | License | Tests |
|---|---|---|---|---|---|
| lint | ✅ | ||||
| phpcs | ❌ | ||||
| phpmd | ✅ | ||||
| psalm | ✅ | ||||
| phpstan | ✅ | ||||
| phpmetrics | ✅ | ||||
| eslint | ❌ | ||||
| stylelint | ❌ | ||||
| composer | ✅ | ✅ 100/100 | |||
| npm | ✅ | ✅ 407/407 | |||
| PHPUnit | ⏭️ | ||||
| Newman | ⏭️ | ||||
| Playwright | ❌ |
Spec coverage: 3% (21 tests / 673 specs)
Quality workflow — 2026-05-11 11:55 UTC
Download the full PDF report from the workflow artifacts.
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
Generates a new OpenSpec change
map-componentproposing a single reusableMapComponent.vuethat wrapsCnMapWidgetfrom@conduction/nextcloud-vue(>= beta.30) and serves as the shared map surface for three Procest embeddings:CaseMapWidgetSister spec to
case-location(provides thegeometryfield) andcase-map-overview(provides themapFormattersregistry and thecaseMarkerFormatter). This is the shared base for all in-app map embeddings; the standalone/mappage stays withcase-map-overviewand itsCnMapPage.Spec only -- no code. STRICT validation passes (
openspec change validate map-component --strict).Contents
openspec/changes/map-component/proposal.md-- need / scope / dependencies (case-location + case-map-overview as upstream)openspec/changes/map-component/design.md-- component API, marker icon strategy, NL Design System tokens, WCAG AA accessibility, three integration pointsopenspec/changes/map-component/tasks.md-- T01 component, T02 customComponents registration, T03 case detail tab, T04 dashboard widget, T05 public case page; V01-V04 verificationopenspec/changes/map-component/specs/map-component/spec.md-- 6 ADDED requirements (REQ-MC-1..6) with 16 Given/When/Then scenariosRequirements
CnMapWidgetmarker-click,viewport-changedebounced 200ms,ready)customComponentsregistryTest plan
openspec change validate map-component --strictpasses (verified locally)case-locationandcase-map-overview