-
Notifications
You must be signed in to change notification settings - Fork 1
v1.0.0 #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.0.0 #98
Conversation
This commit introduces a new feature that recommends AtCoder problems to you based on your rating. The feature includes: - A new screen where you can enter your AtCoder username. - Fetching your latest rating from the AtCoder history API. - Fetching problem difficulty data from the kenkoooo.com API. - A list of recommended problems with a difficulty close to your rating (+/- 100). - New data models for AtCoder user history and problem difficulty. - New methods in `AtCoderService` to fetch the required data.
refactor: 不要なインポートを削除 fix: 表示用レートの計算ロジックを修正
…ove test/widget_test.dart, add test/.gitkeep), update workflow and remove obsolete update_service_test.dart
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📋 レビューの概要
このプルリクエストでは、多数の機能追加とリファクタリングが行われています。主な変更点は以下の通りです。
- ユーザーのレーティングに基づいた新しい問題おすすめ機能
- 可読性と保守性を向上させるための
EditorScreen
のリファクタリング - CI/CDパイプラインの更新
- AtCoderのレーティングカラーを使用するオプションを含む、UIの改善とテーマの更新
🔍 全体的なフィードバック
- コードは全体的にうまく構造化されていますが、コードの重複を減らし、一部のロジックを単純化できる箇所があります。
- 新機能は素晴らしい追加ですが、新しいコードの一部はより堅牢にし、テストを充実させる必要があります。
- ハードコーディングされた文字列がいくつか見受けられます。これらは定数として抽出することが望ましいです。
- UIの変更の一部は、もう少し洗練させることができます。
レビュー内のコメントに対応してください。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 update
サービスとmain
ウィジェットのテストが削除されています。テストを削除すると、将来的なリグレッション(デグレード)のリスクを高め、メンテナンスを困難にするため、強く非推奨です。これらのテストを復元するか、削除した理由を説明してください。もし根本的なコードが大幅に変更された場合は、テストを削除するのではなく、変更に合わせて更新すべきです。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warningしか出ていないのにActionが終了してしまうため消しました
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 flutter analyze
に || true
を付けて使用すると、静的解析エラーが存在してもCIが成功してしまいます。--no-fatal-warnings
フラグは警告を無視するのに便利ですが、アナライザーの終了コードを完全に無視してしまうと、コードに存在する実際の問題を見過ごす可能性があります。|| true
を削除し、ステップが失敗する原因となっている解析エラーを修正することを推奨します。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warningしか出ていないのにActionが終了してしまうためtrueを消しました
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟢 EditorScreen
を_EditorAppBar
や_CodeEditor
のような、より小さく管理しやすいウィジェットにリファクタリングしたのは素晴らしい改善です。コードの可読性と保守性が大幅に向上していますね。お見事です!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟢 問題推薦機能の実装、堅実で良いですね。コンテスト参加数に基づいてtrueRating
を計算している点から、このドメインへの深い理解がうかがえます。ユーザーが難易度の範囲をカスタマイズできる機能も、素晴らしい追加点です。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あざす
@yuubinnkyoku I've received your request and I'm working on it now! 🤖 |
@gemini-cli |
No description provided.