Skip to content

Refactor foundation: decompose monolith pages and extract shared utilities/hooks/components #9

@evanqua

Description

@evanqua

Summary

This issue tracks the completed foundation refactor currently on branch chore/reorg-foundation and represented by the last 8 commits.

Scope covered

  • Core utility extraction for schedule, analytics, marker, and zoom logic.
  • Reusable hook extraction for schedule generation, team form state, and zoom/pan behavior.
  • Dispatch decomposition by extracting lite adapters, team widget, portal dropdown, call-tracking state hook, and call detail row component.
  • Event create and venue management decomposition into focused section components.
  • Shared map interaction controls and type-safety fixes in create/venue flows.
  • Documentation updates reflecting the new structure and conventions.

Commits included

  • 199a347 refactor(core): extract pure schedule, analytics, marker, and zoom utilities
  • 784d133 refactor(hooks): extract reusable schedule, team-form, and zoom-pan hooks
  • c1146a0 refactor(dispatch): extract lite adapters, team widget, and portal dropdown
  • a31ae70 refactor(dispatch): extract call tracking state hook
  • c0bab8c refactor(dispatch): extract call tracking detail row
  • 2bfcfbd refactor: decompose event create and venue management into focused sections
  • db8e189 refactor: fix create venue typing and share map controls
  • 7f233de docs: reflect decomposed event and venue sections

Acceptance criteria

  • Behavior remains unchanged from user perspective.
  • Refactor compiles/lints in CI environment.
  • Documentation reflects the reorganized structure.
  • Branch is merged and closed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions