Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat(incident-data): autocomplete for street and Ortsteil

Đang mở
#461 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, json
Lĩnh vực
database, frontend

Hướng nghiên cứu

Start with src/LageBuch.App.Shared/Views/IncidentDataDialogView.axaml:20-36 and inspect how the existing Zugeteilt AutoCompleteBox is populated; then read the MasterDataSet and SetAddress definitions. The issue leaves the data source and its relationship to work in #401, #420 and #427 undecided, so those questions need resolution before implementation. Done means both fields support autocomplete, free text remains allowed, and an unambiguous street selection fills its Ortsteil; the example JSON and FFB master-data repository are updated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Field feedback

„einsatzdaten: autocomplete strasse / ortsteil“

Today

  • STRASSE and ORTSTEIL are plain TextBoxes (src/LageBuch.App.Shared/Views/IncidentDataDialogView.axaml:20-36), saved via SetAddress(street, district).
  • MasterDataSet has no list of streets or Ortsteile.

Proposal

  • New master-data categories: Ortsteile, and streets (optionally linked to an Ortsteil).
  • Both fields become AutoCompleteBoxes, like Zugeteilt.
  • Picking a street fills in its Ortsteil when that is unambiguous.
  • Free text stays allowed.

Open questions

  • Where do the lists come from: entered by hand, or imported (for example an OSM/CSV export for the municipality)?
  • How does this fit with #401 (address model lacks house number, PLZ and Ort) and #420/#427 (address/object entity in master data)? Streets should be the same entity as those, not a third one.
  • Schema change: update docs/master-data.example.json and the FFB master-data repo.
Ngôn ngữ chính
C#
Star
1
Fork
3
Merge trung bình
4 giờ 34 phút
Pull request đã merge (30 ngày)
182

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeForFire/lagebuch

Tất cả issue của CodeForFire/lagebuch

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.