Skip to content

Conversation

thortve
Copy link
Member

@thortve thortve commented Oct 5, 2026 •

Adds an accessible form for users to submit UFO sightings.

Changes

  • Added /submit route and navigation link.
  • Added client-side validation with clear error messages.
  • Added clickable Leaflet map for selecting latitude and longitude.
  • Added keyboard-accessible coordinate inputs and visible focus states.
  • Added success feedback after submission.
  • Submitted sightings appear in search results and detail pages.
  • Added shared in-memory sighting store for the current mock-data setup.

@thortve thortve linked an issue Oct 5, 2026 that may be closed by this pull request
4 tasks
@thortve thortve marked this pull request as ready for review October 5, 2026 10:38
@thortve thortve requested a review from a team as a code owner October 5, 2026 10:38
Copy link
Member

@asgeija asgeija left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@asgeija asgeija merged commit b24ce53 into main Oct 5, 2026
@asgeija asgeija deleted the 38-build-the-submit-sighting-form branch October 5, 2026 10:57
asgeija added a commit that referenced this pull request Oct 5, 2026
The submit form (#46) made Banner use router links and useSighting
read from a store, which broke the tests added in #22. Wraps Banner
in a MemoryRouter, looks for the title as a link and runs useSighting
inside renderHook. No production code changes.
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build the submit sighting form
2 participants