Skip to content

Conversation

yuubinnkyoku
Copy link
Collaborator

No description provided.

yuubinnkyoku and others added 27 commits August 14, 2025 09:11
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
Copy link
Contributor

@github-actions github-actions bot left a 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の変更の一部は、もう少し洗練させることができます。

レビュー内のコメントに対応してください。

Copy link
Contributor

@github-actions github-actions bot Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 updateサービスとmainウィジェットのテストが削除されています。テストを削除すると、将来的なリグレッション(デグレード)のリスクを高め、メンテナンスを困難にするため、強く非推奨です。これらのテストを復元するか、削除した理由を説明してください。もし根本的なコードが大幅に変更された場合は、テストを削除するのではなく、変更に合わせて更新すべきです。

Copy link
Collaborator Author

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
Copy link
Contributor

@github-actions github-actions bot Aug 14, 2025

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を削除し、ステップが失敗する原因となっている解析エラーを修正することを推奨します。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warningしか出ていないのにActionが終了してしまうためtrueを消しました

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@github-actions github-actions bot Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 EditorScreen_EditorAppBar_CodeEditorのような、より小さく管理しやすいウィジェットにリファクタリングしたのは素晴らしい改善です。コードの可読性と保守性が大幅に向上していますね。お見事です!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます

Copy link
Contributor

@github-actions github-actions bot Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 問題推薦機能の実装、堅実で良いですね。コンテスト参加数に基づいてtrueRatingを計算している点から、このドメインへの深い理解がうかがえます。ユーザーが難易度の範囲をカスタマイズできる機能も、素晴らしい追加点です。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あざす

Copy link
Contributor

@yuubinnkyoku I've received your request and I'm working on it now! 🤖

@yuubinnkyoku
Copy link
Collaborator Author

@gemini-cli
warningしか出ていないのにActionが終了してしまうため消しました

@yuubinnkyoku yuubinnkyoku merged commit 4de0461 into main Aug 14, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant