Skip to content

CrowdCAD v1.2.0

Latest

Choose a tag to compare

@evanqua evanqua released this 14 Apr 00:50
· 22 commits to main since this release

This release refactors the event creation and venue management flows into focused, reusable components and extracts shared utilities, hooks, and UI primitives into dedicated library directories. Several bugs around upload error handling, navbar rendering, and equipment list stability are also resolved.

Added

  • src/lib/ utilities — uploadUtils.ts (exponential backoff retry with transient error detection), zoomPanUtils.ts (viewport clamp math), markerUtils.ts (marker detection and placement helpers)
  • src/hooks/ — useZoomPan, useScheduleGeneration, useTeamForm extracted for reuse across features
  • src/components/ui/ — map-zoom-controls.tsx and map-pan-surface.tsx shared map interaction primitives
  • Event creation sections — MetadataSection, TeamStaffingSection, SupervisorStaffingSection, PostingScheduleSection, PostsEquipmentSection
  • Venue management sections — EquipmentManagementSection, LayerControlBar, MarkerModeToggleButton, PendingMarkerDialog, MarkerPlacementInstruction
  • Lite event drafts now persist a postingScheduleEnabled flag for consistent setup-to-dispatch behavior

Changed

  • Event creation and venue management pages now use decomposed section components
  • Dispatch call tracking restores per-status row styling via rowClassName prop
  • Pan math in clampPanPosition corrected to clamp against scaled image bounds (fixes off-by-factor error at non-1× zoom)
  • Lite setup input/button row styling, Teams/Supervisors panel actions, navbar links, and landing page copy refined
  • public/logo.svg updated with revised artwork and viewBox

Fixed

  • Upload retry now scoped to transient Firebase Storage errors only; original error preserved
  • Navbar no longer flickers on initial page load
  • Equipment list uses stable item.id keys instead of array indices

Full changelog: v1.1.0...v1.2.0