Repository navigation
フッターのメッセージをトーストに移す - #151
Merged
Merged
Conversation
長い文でフッターの高さが伸び、複数のメッセージが横に並んで崩れていた。 フッターの真上の右端に縦に積み、応答を待つもの(無音・自動開始・開始忘れ)は フッター側に残し続け、知らせるだけのもの(エラー・マイクの代替)は時間で消す。 マイクが取れていないことは録音中ずっと見えている必要があるので、フッターに短い札を残す。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
塗りつぶすと後ろの画面が隠れて困る。80% の不透明度にし、後ろの文字が トーストの文と重なって読めなくならないよう 2px だけぼかす。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
変更内容
メイン画面のフッター右側に並べていたエラー・お知らせ・確認のメッセージを、フッターのすぐ上の右端に縦に積むトーストに移した。長い文でフッターの高さが伸びたり、複数のメッセージが横に押し合って崩れたりしていたため。
title)。どのトーストをどの順で出すか、上限・延長・一時停止の規則は
src/renderer/toasts.tsの純粋関数に分けてテストした。描画はToastStackが担い、時刻とタイマーはuseToastsが扱う。確認
npm run typecheck && npm run lint && npm testが通る(fmt:checkも通る)docs/decisions.html)を確認した実機での確認:
OMR_LOCALE=en)でボタンの文言が 1 行に収まること。🤖 Generated with Claude Code