Skip to content

fix(map): validate user coordinates - #177

Merged
AnayDhawan merged 2 commits into
StudentSuite:mainfrom
techykaif:fix/user-coordinate-validation
Aug 22, 2026
Merged

fix(map): validate user coordinates#177
AnayDhawan merged 2 commits into
StudentSuite:mainfrom
techykaif:fix/user-coordinate-validation

Conversation

@techykaif

Copy link
Copy Markdown
Contributor

What this changes

Fixes #142 by validating latitude and longitude ranges in the saved-place and home-location dialogs.

Coordinates are now constrained to:

  • Latitude: -90 to 90
  • Longitude: -180 to 180

Out-of-range values show clear field-level validation messages and cannot be saved. Valid boundary values remain accepted.

Type of change

  • New public place(s)
  • New or updated benefit guide
  • New or updated resource link
  • Code or fix
  • Docs

Proof (required for new public places)

Not applicable. This PR does not add or modify any public places.

Checklist

  • The site hosts no copyrighted files; resource and paper changes are links only.
  • No em dashes in any copy.

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

@techykaif is attempting to deploy a commit to the studentsuite Team on Vercel.

A member of the Team first needs to authorize it.

@AnayDhawan
AnayDhawan merged commit 6a2d955 into StudentSuite:main Aug 22, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: saved place / home dialogs accept out-of-range lat/lng (no ±90/±180 validation)

2 participants