Skip to content

Batch Updates#9

Merged
hgosalia merged 5 commits intomainfrom
batch-updates
May 2, 2026
Merged

Batch Updates#9
hgosalia merged 5 commits intomainfrom
batch-updates

Conversation

@hgosalia
Copy link
Copy Markdown
Member

@hgosalia hgosalia commented May 1, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 2, 2026

📋 PR Summary

Title: Batch Updates
Author: @hgosalia
State: OPEN
Draft: No

Changes

  • Commits: 5
  • Files Changed: 12
  • Additions: +339
  • Deletions: -125

Files Modified

  • .github/workflows/pr-summary.yml (52 changes)
  • README.md (2 changes)
  • css/styles.css (13 changes)
  • index.html (3 changes)
  • js/data.js (68 changes)
  • js/map.js (59 changes)
  • js/modals.js (13 changes)
  • js/pins.js (53 changes)
  • js/search.js (19 changes)
  • js/utils.js (26 changes)
  • ... and 2 more files

Description

This PR bundles UX polish and backend robustness improvements across 11 files. It adds smooth animations for the countries bar, improves export/import data flows with progress tracking, refines map clustering logic, enhances search result display, and hardens the Python server against network disconnections and memory pressure. Additionally, it updates the Service Worker cache versioning strategy to preserve tile data across app updates.

Files Modified:

css/styles.css — Improved styling for countries bar toggle, map loading spinner, gallery buttons
index.html — Added map loading spinner element, enhanced accessibility
js/data.js — Refactored export/import with chunked gzip compression and progress tracking; improved date picker value retrieval
js/map.js — Added WebGL context recovery, fetch timeout handling, dark-map CSS compensation improvements, better style patching
js/modals.js — Added album date validation (start date cannot be after end date)
js/pins.js — Fixed pixel cache data handling, improved cluster coloring logic (now uses country codes + geographic gradient for 10+ photo clusters)
js/search.js — Better search result deduplication, improved detail display using address fields instead of raw result strings
js/utils.js — Support for year-only and year-month date formats; enhanced geographic region boundaries (Atlantic islands, North Africa)
serve.py — Added request log rotation to prevent unbounded file growth; improved error handling with try-catch wrappers around all HTTP handlers; reduced max tile cache from 500MB to 200MB
sw.js — Updated cache versioning; changed tile fetch strategy to prefer direct origin fetches when online instead of disk proxy racing

@hgosalia hgosalia merged commit 30e7d87 into main May 2, 2026
1 check 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.

1 participant