Files
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

2.6 KiB

01: Mehrere Ziele behalten

What to build: The person types Koordinaten as Gitter, Rechtswert, and Hochwert. Each valid Koordinate adds a Ziel instead of replacing the previous one. The Ziele are red points, listed newest first, and each row shows that Koordinate. When a Standort is known, the Entfernung to that Ziel follows the Koordinate, in metres below 1000 m and in kilometres from 1000 m, and it updates as the Standort moves. Adding a Ziel, or tapping its row, centers it at 1:25,000. Auf Ziel is gone. Auf Standort stays. Löschen on a row removes that Ziel and does not move the view. The list remains on the device until each Ziel is deleted. Deleting the whole Cache leaves the Ziele in place.

Blocked by: None (can start immediately).

Status: ready-for-agent

The session contract in the spec is the seam. This ticket owns enterKoordinate, deleteZiel, centerOnZiel, ziele on the snapshot, Entfernung per Ziel, and remembered ziele. deleteCache already exists and must leave those Ziele in place. A repeated Koordinate uses the notice Diese Koordinate ist schon ein Ziel.

  • The Ziele section offers Gitter, Rechtswert, and Hochwert, and Gitter starts as 32U MA.
  • A valid Koordinate adds a red Ziel. A second Koordinate adds another. The newest stands at the top of the list.
  • Each row shows that Ziel's Koordinate. When a Standort is known, the Entfernung follows it, in metres below 1000 m and in kilometres from 1000 m, and it updates as the Standort moves. With no Standort, the row shows only the Koordinate.
  • Adding a Ziel centers the view on it at 1:25,000, even while its Kacheln are blank. Tapping the row centers that Ziel the same way.
  • Auf Standort remains. There is no Auf Ziel control.
  • Löschen on a row removes that Ziel without asking and does not move the view.
  • The same Koordinate cannot be added twice. A repeat is explained in German and leaves the list and the view unchanged.
  • An invalid Koordinate, or one that no Blatt covers, is explained in German and leaves the list and the view unchanged.
  • The typed Gitter, Rechtswert, and Hochwert stay visible after a successful entry.
  • Leaving or reloading the page keeps the Ziele. The Standort is not stored.
  • A late first Standort, after a pan or an added Ziel, moves only the blue mark.
  • Deleting the whole Cache leaves the Ziele in place.

Comments

The screen offers the Koordinate fields in Ziele, lists every Ziel newest first, and centers the one just added or the row that was tapped. A rejected Koordinate changes nothing. A new session keeps the Ziele and drops the Standort.