ux(atemschutz): add tooltips to the five ScbaView state-transition buttons
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
src/LageBuch.App.Shared/Views/ScbaView.axaml の213~221行目付近にある5つの状態遷移ボタンを編集し、src/LageBuch.App.Shared/Views/MasterDataEditorView.axaml をツールチップのスタイルの参考にしてください。各アクションと適用される状況を説明する短いドイツ語のツールチップを追加し、部隊の状態によって2つの DRUCK ボタンを区別してください。make build と make run を実行し、次にインシデントを開いて Atemschutz タブのツールチップを確認してください。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 1
- フォーク
- 3
- 平均マージ
- 4時間 34分
- マージ済み PR(30日)
- 182
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodeForFire/lagebuch のほかの issue
-
bug ux
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CodeForFire/lagebuch#714 ·
メンテナーはふだん 1 日以内に返信
-
bug ux
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
CodeForFire/lagebuch#713 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
CodeForFire/lagebuch#405 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
CodeForFire/lagebuch#349 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
CodeForFire/lagebuch#348 ·
メンテナーはふだん 1 日以内に返信
CodeForFire/lagebuch の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
KnifeLemon/Filee#363 ·
メンテナーはふだん 1 日以内に返信
-
[CI] .trgen-ignore required for several grammars.対応中かも @kaby76 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
antlr/grammars-v4#5073 ·
メンテナーはふだん 1 日以内に返信
-
/api/oauth/introspect emits clientId and tokenType instead of RFC 7662's client_id and token_typeオープンbug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nightscout/nocturne#2317 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Position intent set on a simple order is dropped when it becomes a bracket, OCO or OTO order対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
alpacahq/alpaca-trade-api-csharp#903 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
joinrpg/joinrpg-net#5752 ·
メンテナーはふだん 1 日以内に返信