cleanup: drop coord backfill, drop transit overlay, block PM autofill
- Remove the admin "Koordinaten nachladen" button, /actions/backfill-coords endpoint, geocode.py, googlemaps dep, GMAPS_API_KEY plumbing in the web service, and the map diagnostic line. Going-forward geocoding happens in alert on scrape; upsert_flat backfill on re-submit remains for edge cases - Remove the OpenRailwayMap transit overlay (visually noisy); keep CartoDB Voyager as the sole basemap - Profile + notifications forms get autocomplete="off" + data-lpignore + data-1p-ignore at form and field level to keep password managers from popping open on /einstellungen; immomio_password uses autocomplete=new-password Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ceb2486f35
commit
7f7cbb5b1f
10 changed files with 20 additions and 159 deletions
|
|
@ -97,26 +97,7 @@
|
|||
</section>
|
||||
|
||||
<!-- Karte (Leaflet-Container bleibt über HTMX-Swaps hinweg erhalten) -->
|
||||
<section class="view-map space-y-2">
|
||||
<div class="card p-3 text-xs text-slate-600 flex items-center justify-between gap-3 flex-wrap">
|
||||
<div>
|
||||
{{ map_matched_with_coords }} / {{ map_matched_total }} passende Wohnungen mit Koordinaten
|
||||
{% if map_matched_without_coords %}
|
||||
· <span class="chip chip-warn">{{ map_matched_without_coords }} ohne Koordinaten</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if is_admin and map_matched_without_coords %}
|
||||
<form method="post" action="/actions/backfill-coords"
|
||||
hx-post="/actions/backfill-coords" hx-target="#wohnungen-body" hx-swap="outerHTML">
|
||||
<input type="hidden" name="csrf" value="{{ csrf }}">
|
||||
<button class="btn btn-ghost text-xs" type="submit"
|
||||
{% if not gmaps_available %}disabled title="GMAPS_API_KEY fehlt"{% endif %}
|
||||
hx-confirm="Fehlende Koordinaten jetzt über Google Maps nachladen?">
|
||||
Koordinaten nachladen
|
||||
</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
<section class="view-map">
|
||||
<div class="card p-3">
|
||||
<div id="flats-map" hx-preserve="true"></div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue