Skip to content

Releases: chnnick/ca-district-mapper

v0.5.0 — Per-constituent district lookup on the map

Choose a tag to compare

@chnnick chnnick released this 28 May 04:52

Map dots are now clickable. Clicking a dot opens a popup with that constituent's ID and their assigned CD / SD / AD / BOE under the current active BEF version, so users can audit individual assignments without leaving the map.

Features

  • CircleMarkers on the map respond to click events. A Leaflet popup opens at the dot and renders the constituent's districts as a label/value table (CD, SD, AD, BOE).
  • Popup handles every state: loading, lookup error (404 → "No person found with id …"), address-found-but-not-yet-geocoded, and partial assignments ("Some districts unavailable.").
  • Reuses the existing /api/person/{id}/districts endpoint — no new per-person lookup route.

API

  • GET /map/points now returns id alongside lat/lng for each point (both the filtered-by-district and unfiltered branches), so the frontend can fetch districts on click. Response shape: { "id": "...", "lat": ..., "lng": ... }.

Fixes

  • Pipeline summary: assigned in run_assignment() now counts distinct addresses assigned in this run (filtered by assigned_at = now) instead of cumulatively across the whole table. The upload-success banner used to grow over time as old data accumulated; it now reflects the file you just uploaded.
  • Upload-success message reworded for clarity: Done — Geocoded: X, In CA districts: Y/X (was: geocoded: X, assigned: Y), making explicit that Y is a subset of X.
  • Migration: removed a stray trailing comma in a CREATE TABLE column list (shipped as v0.4.1).

Full changelog: v0.4.0...v0.5.0

Native desktop app deployment

  • macOS Apple Silicon: *-aarch64-apple-darwin*.dmg
  • Windows x64: *.msi

Important note: These builds are unsigned.

macOS — if the app appears "damaged" and can't be opened:
macOS quarantines downloads from the internet, and Gatekeeper
blocks unsigned apps on Apple Silicon with a misleading "damaged"
message. After dragging the app to Applications, open Terminal
and run:

xattr -dr com.apple.quarantine "/Applications/California District Mapper.app"

Then launch the app normally. You only need to do this once per install.

Windows — SmartScreen warning: click More info → Run anyway.

v0.4.1

Choose a tag to compare

@chnnick chnnick released this 20 May 01:24

Full Changelog: v0.4.0...v0.4.1

Native desktop app deployment

  • macOS Apple Silicon: *-aarch64-apple-darwin*.dmg
  • Windows x64: *.msi

Important note: These builds are unsigned.

macOS — if the app appears "damaged" and can't be opened:
macOS quarantines downloads from the internet, and Gatekeeper
blocks unsigned apps on Apple Silicon with a misleading "damaged"
message. After dragging the app to Applications, open Terminal
and run:

xattr -dr com.apple.quarantine "/Applications/California District Mapper.app"

Then launch the app normally. You only need to do this once per install.

Windows — SmartScreen warning: click More info → Run anyway.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 19 May 19:33

Native desktop app deployment

  • macOS Apple Silicon: *-aarch64-apple-darwin*.dmg
  • Windows x64: *.msi

Important note: These builds are unsigned.

macOS — if the app appears "damaged" and can't be opened:
macOS quarantines downloads from the internet, and Gatekeeper
blocks unsigned apps on Apple Silicon with a misleading "damaged"
message. After dragging the app to Applications, open Terminal
and run:

xattr -dr com.apple.quarantine "/Applications/California District Mapper.app"

Then launch the app normally. You only need to do this once per install.

Windows — SmartScreen warning: click More info → Run anyway.

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 19 May 16:03

Native desktop app (no Docker required)

  • macOS Apple Silicon: *-aarch64-apple-darwin*.dmg
  • Windows x64: *.msi

These builds are unsigned. On macOS the first launch may require
System Settings → Privacy & Security → Open Anyway.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 14 May 23:01

Installation (native desktop app — no Docker required)

  1. Download the installer for your OS from the assets below:
    • macOS Apple Silicon (M1/M2/M3/M4): *-aarch64-apple-darwin*.dmg
    • macOS Intel: *-x86_64-apple-darwin*.dmg
    • Windows x64: *.msi
  2. Install:
    • Mac: Open the .dmg and drag California District Mapper into Applications.
    • Windows: Double-click the .msi and follow the installer.
  3. Launch the app from Applications (Mac) or the Start menu (Windows).

The first launch downloads district data and may take a few minutes.

Mac: if the launcher is blocked

These builds are unsigned. If macOS shows "Apple could not verify… is free of malware",
dismiss the dialog, open System Settings → Privacy & Security, scroll to the bottom,
and click Open Anyway. Confirm with your password / Touch ID. You only need to do
this the first time.

Windows: SmartScreen warning

If Windows shows "Windows protected your PC", click More info → Run anyway.

Full Changelog: v0.1.1...v0.2.0

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 09 May 16:57

Installation

  1. Install Docker Desktop (one-time) — docker.com/products/docker-desktop
  2. Download California-District-Mapper-v0.1.1.zip below and unzip it
  3. Mac: Double-click Launch California District Mapper.command
    Windows: Double-click Launch California District Mapper.bat
  4. Your browser opens automatically when the app is ready

The first launch downloads district data and may take a few minutes.

Mac: if the launcher is blocked

If macOS shows "Apple could not verify… is free of malware", dismiss the dialog,
open System Settings → Privacy & Security, scroll to the bottom, and click
Open Anyway next to the blocked launcher. Confirm with your password / Touch ID.
Repeat once for the Stop launcher. You only need to do this the first time.

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 09 May 05:53

Installation

  1. Install Docker Desktop (one-time) — docker.com/products/docker-desktop
  2. Download California-District-Mapper-v0.1.0.zip below and unzip it
  3. Mac: Double-click Launch California District Mapper.command
    Windows: Double-click Launch California District Mapper.bat
  4. Your browser opens automatically when the app is ready

The first launch downloads district data and may take a few minutes.

Full Changelog: https://github.com/chnnick/ca-district-mapper/commits/v0.1.0