Description
Refactor the SpeciesGuide component to exclusively use the SpeciesDatabase service, eliminating all hardcoded species data. Enhance with source attribution badges, taxonomy/IUCN filters, online search fallback, species sighting recording, vernacular name contributions, and data refresh.
Implementation Tasks
Acceptance Criteria
Dependencies
- Species Database Core + Search (2.1.1–2.1.12)
- Species Sighting Form (2.3) — for Record Sighting integration
Relevant Files
src/components/SpeciesGuide.tsx — primary refactor target
src/services/SpeciesDatabase.ts — data source
src/App.tsx — CaptureModal triggering
src/components/CaptureModal.tsx — observation type routing
Description
Refactor the SpeciesGuide component to exclusively use the SpeciesDatabase service, eliminating all hardcoded species data. Enhance with source attribution badges, taxonomy/IUCN filters, online search fallback, species sighting recording, vernacular name contributions, and data refresh.
Implementation Tasks
src/components/SpeciesGuide.tsx)src/components/SpeciesGuide.tsx)src/components/SpeciesGuide.tsx)src/components/SpeciesGuide.tsx)src/components/SpeciesGuide.tsx)observationType='species_sighting'+ pre-filledspeciesId(src/components/SpeciesGuide.tsx,src/App.tsx)src/components/SpeciesGuide.tsx)SpeciesDatabase.refreshData()(src/components/SpeciesGuide.tsx)Acceptance Criteria
Dependencies
Relevant Files
src/components/SpeciesGuide.tsx— primary refactor targetsrc/services/SpeciesDatabase.ts— data sourcesrc/App.tsx— CaptureModal triggeringsrc/components/CaptureModal.tsx— observation type routing