Skip to content

feat(incident-data): configurable Einsatznummer format, pre-filled on new incidents #462

Closed

Description

@DeepDiver1975

Field feedback

„einsatzdaten: einsatznummer format konfigurieren + vorausfüllen“

Today

  • The Einsatznummer starts as null (HomeViewModel.cs:149) and is typed in by hand.
  • IncidentNumber only rejects blank input.
  • The format exists only as the placeholder "z. B. B 1.2 260715 123" (IncidentDataDialogView.axaml:26).
  • IncidentSettings has no field for a format.

Proposal

  • A format template in the master-data settings, with placeholders for date and running number, e.g. B 1.2 {YYMMDD} {NNN}.
  • A new incident gets the known parts (date, fixed prefix) pre-filled, with the cursor on the missing part.
  • Optional check against the format, as a warning only, not blocking.

Open questions

  • Which parts are known up front? The running number comes from the ILS. Should it be counted locally, or just left as a gap?
  • Should a number that doesn't match the format still be accepted?

Activity

  1. added 5 commits that reference this issue on Oct 25, 2026
    fe61417
    d8be0c8
    63c0ea1
    2583d66
    cc46f60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions