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

ux(atemschutz): add tooltips to the five ScbaView state-transition buttons

Đang mở Phù hợp với người mới
#346 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
frontend

Hướng nghiên cứu

Chỉnh sửa năm nút chuyển trạng thái quanh các dòng 213–221 trong src/LageBuch.App.Shared/Views/ScbaView.axaml; dùng src/LageBuch.App.Shared/Views/MasterDataEditorView.axaml làm mẫu tham khảo cho kiểu tooltip. Thêm các tooltip ngắn bằng tiếng Đức mô tả từng hành động và thời điểm áp dụng, phân biệt hai nút DRUCK theo trạng thái của đội. Chạy make build và make run, sau đó mở một sự cố và kiểm tra tooltip trên tab Atemschutz.

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

Mô tả

good first issue ux

src/LageBuch.App.Shared/Views/ScbaView.axaml is the Atemschutzüberwachung tab.
Its five state-transition buttons carry no tooltip at all — the whole 231-line
file has exactly one ToolTip.Tip, and that one is on a different element.

The buttons, around lines 213 to 221:

Line Label Command
213 IM EINSATZ StartCommand
215 DRUCK RecordPressureCommand
217 RÜCKZUG WithdrawCommand
219 DRUCK RecordPressureCommand
221 ABGENOMMEN MarkRemovedCommand

Two of them read DRUCK and do the same thing, but they appear in different
trupp states, so from the user's side they are not interchangeable. This is a
screen someone operates under time pressure during a real Einsatz, and a
mislabelled press has consequences.

What to do

Add a ToolTip.Tip to each of the five, in German, saying what the button does
to the Trupp and when it applies. The two DRUCK buttons should get tooltips
that distinguish the state they belong to rather than identical text.

Copy the style from src/LageBuch.App.Shared/Views/MasterDataEditorView.axaml,
which uses short imperative German tooltips throughout.

Wording matters more than code here. If you are a firefighter rather than a
developer, this is a good issue to take: propose the wording in a comment first
and someone can help with the XAML.

Verify
make build
make run

Open an incident, go to the Atemschutz tab, register a Trupp and hover the
action buttons in each state.

Difficulty: easy.


New here?

Comment to claim this issue and it is yours. If no pull request appears within
seven days it goes back in the pool, no hard feelings.

Before you open the PR, please skim CONTRIBUTING.md:
commits need DCO sign-off (git commit -s) and a Conventional Commit subject.
Changes under src/ additionally need an entry under ## [Unreleased] in
CHANGELOG.md — CI fails the PR otherwise.

Questions are welcome right here or in
Discussions.

Ngôn ngữ chính
C#
Star
1
Fork
3
Merge trung bình
4 giờ 15 phút
Pull request đã merge (30 ngày)
181

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.