Conversation
Co-authored-by: oldtopos <2193065+oldtopos@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix blank map in sighting detail view
Fix privacy setting value mismatch preventing sighting creation
Feb 17, 2026
Collaborator
|
@copilot is this pr still relevant |
Contributor
Author
Yes, this PR is still relevant. The main branch still has the incorrect privacy setting values ("approximate" and "hidden") that cause sighting creation to fail backend validation. These need to be changed to "obscured" and "private" to match the backend's expectations defined in config/settings/base.py. Without this fix, users cannot successfully create sightings with the default privacy setting, which prevents location data from being stored and causes blank maps in the post detail view. |
oldtopos
force-pushed
the
copilot/fix-map-display-issue
branch
from
August 16, 2026 16:47
ba992b5 to
9b10366
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The create sighting form was sending privacy values that failed backend validation, preventing any sightings from being created. No sightings meant no location data in the feed, resulting in blank maps in post detail views.
Changes
Form values corrected (
siteapps/templates/sightings/create_sighting.html):"approximate"→"obscured""hidden"→"private"Default fallback updated (
siteapps/sightings/views.py):"approximate"to"obscured"Backend expectations
Valid privacy settings defined in
config/settings/base.py:PRIVACY_SETTING_PUBLIC = "public"- exact location shownPRIVACY_SETTING_OBSCURED = "obscured"- obfuscation box shownPRIVACY_SETTING_PRIVATE = "private"- no location shownStatus
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.