Skip to content

New icons, smoother loading, and better mobile map gestures - #12

Open
ACoci86 wants to merge 2 commits into
ScottMoore0:mainfrom
ACoci86:improve-maps-icons-loading-gestures
Open

ACoci86 wants to merge 2 commits into
ScottMoore0:mainfrom
ACoci86:improve-maps-icons-loading-gestures

Conversation

@ACoci86

@ACoci86 ACoci86 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Hi! Here's what I changed on the Maps page:

Icons

  • New icons for the election groups and some Boundaries shelves.
  • Made the icons a bit bigger.

Contents menu (☰)

  • Fixed a shake when it opens.
  • Fixed a name mismatch ("People & Places" → "Census & Statistical Areas").

Loading

  • The left pane no longer starts too wide and jumps.
  • It shows a grey outline while loading instead of an empty space.

Mobile map

  • Pinching now just zooms; the map no longer tilts or slides.
  • A deliberate twist rotates the map, like Google Maps.
  • ⚠️ This changes how you set up touch gestures, so I updated your gesture checks to match.

Tested locally and on a real phone.

🤖 Generated with Claude Code

ACoci86 and others added 2 commits October 16, 2026 18:31
- New icons for the election groups and three Boundaries shelves, plus a
  census icon for Census & Statistical Areas; shelf and Contents icons larger.
- Contents menu: no shake on open; uses the shelf's section name.
- Catalogue pane opens at its final width and shows an outline while loading.
- Mobile map: pinch zooms around the fingers without tilting or sliding;
  rotation only after a deliberate twist (MapLibre's threshold); no touch tilt.
- Dev server serves a folder's own index.html.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build-site-partials regenerates everything between the site:head markers, so
the check failed on maps/index.html. The script now sits just after them,
still in <head> and still before the first paint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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