-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GUI: キャンセル可能にする & 変換ログを表示する(いずれも初期的実装) (#461)
変換中の画面に、(1) キャンセルボタンと (2) 変換ログの表示、を設けて、いずれも最低限機能するようにする。 Close #267, Close #460 注意: - log crate によるシステムログは受信しない。Feedback 機構から得た変換ログのみ受信する。  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **新機能** - `nusamai::pipeline`から`feedback`のインポートを追加しました。 - `ConversionTasksState`構造体を追加しました。 - `LogMessage`構造体と`Error`列挙型の実装を追加しました。 - `run`関数を`run_conversion`に変更し、追加のパラメータとキャンセルロジックを追加しました。 - タスクのキャンセルに使用する`cancel_conversion`関数を追加しました。 - **バグ修正** - エラータイプを確認してからエラーメッセージを表示するようにエラー処理を変更しました。 - **リファクタ** - `PipelineError`列挙型のエラーメッセージをセマンティックに調整しました。 - `ParseError`と`Canceled`のエラーメッセージを洗練しました。 - **スタイル** - ローディングアニメーションと見出しテキストのスタイリングクラスを調整しました。 <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
11 changed files
with
275 additions
and
87 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.