feat: Add location settings for ISS pass predictions

- Add Location tab to settings modal with lat/lon inputs
- Add GPS detection button for auto-location
- Update SSTV to use saved location for ISS pass predictions
- Fix SSTV panels to use full screen width (remove max-width constraint)
- Improve ISS pass messages to guide users to location settings
- Add checked/last_check fields to update status response

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-29 15:36:37 +00:00
parent 7e643afdea
commit e6a9d5ae90
5 changed files with 226 additions and 14 deletions
+5 -1
View File
@@ -174,6 +174,7 @@ def check_for_updates(force: bool = False) -> dict[str, Any]:
return {
'success': True,
'checked': True,
'update_available': update_available,
'show_notification': show_notification,
'current_version': current_version,
@@ -196,6 +197,7 @@ def check_for_updates(force: bool = False) -> dict[str, Any]:
update_available = _compare_versions(current_version, cached_version) < 0
return {
'success': True,
'checked': True,
'update_available': update_available,
'current_version': current_version,
'latest_version': cached_version,
@@ -223,6 +225,7 @@ def check_for_updates(force: bool = False) -> dict[str, Any]:
return {
'success': True,
'checked': True,
'update_available': update_available,
'show_notification': show_notification,
'current_version': current_version,
@@ -231,7 +234,8 @@ def check_for_updates(force: bool = False) -> dict[str, Any]:
'release_notes': release['body'] or '',
'release_name': release['name'] or f'v{latest_version}',
'published_at': release['published_at'],
'cached': False
'cached': False,
'last_check': datetime.now().isoformat()
}