Add configurable map defaults with admin Settings page#177
Open
Knobee wants to merge 7 commits intobrian7704:masterfrom
Open
Add configurable map defaults with admin Settings page#177Knobee wants to merge 7 commits intobrian7704:masterfrom
Knobee wants to merge 7 commits intobrian7704:masterfrom
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The axios_config wrapper is at src/axios_config.tsx and Map.tsx is in src/pages/Map/, so the relative path was wrong. Map.tsx originally used plain 'axios' import which works correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Click the map to set lat/lon, scroll to set zoom. The map layer updates when the dropdown changes. Form fields and map stay in sync bidirectionally. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Scroll zoom now only updates the zoom level without calling setView, which was recentering the map. Also syncs lat/lon fields to the current map center after zoom so the fields always reflect what the user is looking at. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
GET /api/config> hardcoded fallbacks/api/configendpoint (old version), falls back to hardcoded defaults with no errorsBackward compatibility
GET /api/configreturns 404, map falls back to hardcoded defaults, Settings page shows version mismatch messageTest plan
Companion backend PR: brian7704/OpenTAKServer#284
Fixes #165
🤖 Generated with Claude Code