Files
karten/.scratch/2026-10-08_16-47-erste-version/issues/04-name-a-ziel.md
T
konradandCursor 3a49d52681 Record that downloads fill the Cache and ship the built app.
A failed open can repair the shell, and the installed PWA matches Ziele, Einstellungen, and the view download.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 08:55:43 +02:00

1.7 KiB

04: Name a Ziel

What to build: The person types one Koordinate as Gitter, Rechtswert, and Hochwert. The Gitter starts as 32U MA. A valid Ziel is shown in red and the view centers on it at 1:25,000, even while its Kacheln are blank. A bad Koordinate, or one that no Blatt covers, is explained in German and leaves the previous Ziel and the view unchanged. A second Koordinate replaces the first. The Ziel is gone after the page is left.

Blocked by: 01: Open the Karte

Status: done

  • The entry is three fields labelled Gitter, Rechtswert, and Hochwert, and Gitter starts as 32U MA.
  • 32u ma and 32UMA are accepted as the same Gitter as 32U MA.
  • Rechtswert and Hochwert must be exactly five digits. Any other length is rejected with a German explanation.
  • An impossible Gitter is rejected with a German explanation.
  • A rejected Koordinate leaves the previous Ziel and the view unchanged.
  • A Koordinate that no Blatt covers, including a hole between Blätter, is rejected and leaves the previous Ziel and the view unchanged.
  • A valid Ziel is drawn in red and the view centers on it at 1:25,000, even when its Kacheln are still blank.
  • The typed Gitter, Rechtswert, and Hochwert stay visible after a successful entry.
  • Entering another Koordinate replaces the Ziel. There is only one Ziel.
  • The Koordinate is decoded on the device, with no network required.
  • Leaving or reloading the page drops the Ziel. It is not stored.

Comments

The screen offers Gitter, Rechtswert, and Hochwert, starting at 32U MA. A valid Ziel is red and centers the view at 1:25,000. A rejected Koordinate leaves the previous Ziel. A new session does not keep the Ziel.