feat(style): implement audit v4 phase 7 style modes - #44
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
q2web-studio | df2078b | Commit Preview URL Branch Preview URL |
May 03 2026, 02:42 PM |
Summary
Testing
|
|
@codex CI failure root cause was the new compact Phase 7 parity test doing three ZIP exports in one test while still using the default Playwright timeout budget. The failing step was |
Summary
Testing
|
|
@codex Follow-up fix pushed in |
Summary
Testing
|
Phase 7, style modes general purpose
@codex
Summary
Audit V4 Phase 7 adds explicit style modes for Single symbol, Categorized, and Graduated. The editor, runtime preview, and ZIP runtime now share parity for style mode semantics, category regeneration, graduated ranges, and legend output.
Changes
src/types/project.ts,src/lib/defaults.ts,src/lib/styleMode.ts,src/lib/projectHydration.ts,src/lib/projectUpdates.ts,src/lib/opfs.ts,src/lib/qgis2webParser.tsmodediscriminator, graduated schema, back-compat normalization, and parser mode detection.src/components/Inspector/StyleTab.tsx,src/components/Inspector/CategorizedStylePanel.tsx,src/components/Inspector/GraduatedStylePanel.tsxStyle modeswitcher, single-symbol empty state, categorized regeneration, graduated numeric controls, andGenerate rangesflow.src/lib/graduatedBreaks.ts,src/lib/style.ts,src/runtime/runtime.tsscripts/smoke-fixture.ts,scripts/smoke-export.ts,tests/map-render.spec.tsdocs/screenshots/phase-7/Manual parity sweep
Style modeselector appears.scripts/smoke-export.tsexplicitly guards againstwindow.__q2wsStyleForappearing in exported runtime.Evidence
docs/screenshots/phase-7/npm-run-build-20260503-123528.txt, PASSdocs/screenshots/phase-7/npm-run-smoke-fixture-20260503-123528.txt, PASSdocs/screenshots/phase-7/npm-run-smoke-export-20260503-123528.txt, PASSdocs/screenshots/phase-7/npx-playwright-phase-7-20260503-123528.txt, PASS, 7 passeddocs/screenshots/phase-7/editor-20260503-123528.pngdocs/screenshots/phase-7/runtime-preview-20260503-123528.pngdocs/screenshots/phase-7/runtime-20260503-123528.pngdocs/screenshots/phase-7/console-20260503-123528.txt, 0 error, one legacy plugin warning aboutL.Mixin.Eventsdocs/screenshots/phase-7/network-tile-20260503-123528.jsonQA checklist
npm run buildnpm run smoke:fixturenpm run smoke:exportnpx playwright test tests/map-render.spec.ts -g "phase 7"../AGENTS.MDand../docs/agents/changelog/2026-05.mdNotes