ponshu-room-lite/lib/screens
Ponshu Developer ac2a54d07a feat: AI使用回数トラッキング + クォータ上限時ドラフト保存
- ApiUsageService: SharedPreferences で Gemini 日次使用回数を追跡
  - UTC 08:00(=日本時間 17:00)でリセット
  - 上限 20回/日(プロジェクトあたりの無料枠)
- DraftReason enum: offline / quotaLimit / congestion を区別
- camera_analysis_mixin: 解析前にクォータを事前チェック
  - 上限到達時は Draft 保存してカメラを閉じる(写真は失われない)
  - 429 エラー時も同様に Draft 保存(従来はエラー表示のみで写真消失)
  - API 呼び出し成功時(キャッシュ除く)にカウントアップ
- pending_analysis_screen: ドラフト理由を各アイテムに表示
  - クォータ: リセット時刻つきの警告(オレンジ)
  - 混雑 / オフライン: 理由別メッセージ
- ActivityStats: AI 使用状況 bento カードを追加
  - 今日のAI解析 X / 20回 + プログレスバー
  - 残り5回以下でオレンジ、上限到達で赤

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 17:58:00 +09:00
..
features fix: ソムリエ画面UIを統一 — カードスタイル・padding・重複ヘッダー削除 2026-04-11 12:11:21 +09:00
sake_detail feat: 記録日時を一覧カードと詳細画面に表示 2026-04-16 14:01:17 +09:00
camera_analysis_mixin.dart feat: AI使用回数トラッキング + クォータ上限時ドラフト保存 2026-04-16 17:58:00 +09:00
camera_screen.dart refactor: P2/P3-Step1 — camera_screen Mixin分離 + license storeURL修正 2026-04-16 13:20:53 +09:00
dev_menu_screen.dart fix: address code review findings - crash fixes, proxy OCR accuracy, lint cleanup 2026-04-15 13:30:00 +09:00
guide_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
home_screen.dart chore: v1.0.26 — Pro版ライセンス管理リリース 2026-04-11 00:23:36 +09:00
license_screen.dart refactor: P2/P3-Step1 — camera_screen Mixin分離 + license storeURL修正 2026-04-16 13:20:53 +09:00
main_screen.dart feat: ライセンス管理システムを追加(Pro機能解放型) 2026-04-11 00:05:53 +09:00
menu_creation_screen.dart feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
menu_pricing_screen.dart feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
menu_settings_screen.dart feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
pdf_preview_screen.dart chore: guard DevMenu in release build, clean up Phase/TODO comments 2026-04-05 03:02:01 +09:00
pending_analysis_screen.dart feat: AI使用回数トラッキング + クォータ上限時ドラフト保存 2026-04-16 17:58:00 +09:00
sake_detail_screen.dart fix: address code review findings - crash fixes, proxy OCR accuracy, lint cleanup 2026-04-15 13:30:00 +09:00
scan_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
shop_settings_screen.dart feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
soul_screen.dart fix: remove Pro-only placeholder in consumer APK, fix A-1/A-3 visibility 2026-04-05 14:33:40 +09:00