Ponshu Developer
2e770ff98d
refactor: ハードコード色をAppColorsセマンティックカラーに置換
...
- pending_analysis_banner: Colors.orange.* → appColors.warning(グラデーション・影・バッジ)
- activity_stats: Colors.orange → appColors.warning(残回数少ない警告色・テキスト)
- scan_screen: Colors.grey → appColors.textTertiary(蔵元/産地テキスト)
- sake_no_match_state: Colors.grey[400/600] → appColors.textTertiary(空状態アイコン・テキスト)
- camera_screen: Colors.greenAccent → appColors.success(解析開始ボタン)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 08:18:48 +09:00
Ponshu Developer
dd9b814174
refactor: TextEditingControllerリーク解消・エラー正規化・デザイントークン整備
...
- sake_detail_screen: _showTagEditDialog/TextEditDialog/BreweryEditDialog に
try/finally + controller.dispose() を追加(メモリリーク修正)
- sake_detail_screen: State フィールドを build() より前に移動
- 生例外の SnackBar 露出を人間可読メッセージに正規化(6ファイル・10箇所)
- camera_analysis_mixin: Colors.orange を appColors.warning に置換、
ガミフィケーション色を brandAccent/success/textTertiary に統一
- sake_detail_screen: ハードコード hex 色グラデーションをトークン化
- scan_screen / pdf_preview_screen / add_set_item_dialog: 絵文字 debugPrint を除去
- sake_basic_info_section: unnecessary_non_null_assertion (warning) を解消
- license_service: revoked 永続キャッシュの意図をコメントで明確化
- dart analyze: warning 0 / error 0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 23:48:32 +09:00
Ponshu Developer
5d8689b7ee
merge: claude/sync-cursor-history-cSlsP — SakeItem setter廃止 + セマンティックカラー置換
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 13:09:56 +09:00
Claude
a62bcd1d11
refactor: ハードコード色をAppColorsセマンティックカラーに置換
...
意図的な箇所(カメラUI・AppBar白テキスト・ハート色・Proバッジ等)はKEEP。
以下のUIロジックに影響しない7ファイルのみ変更:
- Colors.grey.shade400/[400] → appColors.iconSubtle (アイコン、無効状態)
- Colors.grey.shade300 → appColors.divider (プレースホルダー背景)
- Colors.grey → appColors.textSecondary / iconSubtle / divider (文脈別)
- Colors.grey[200] → appColors.surfaceSubtle (プログレスバー背景)
- Colors.orange → appColors.warning (警告スナックバー)
- Colors.green / Colors.red → appColors.success / error (完了・失敗スナックバー)
_createBackup()にappColorsをasync前にキャプチャするFlutterベストプラクティスを適用。
コメント化されていたデッドコメントも同時削除。
https://claude.ai/code/session_01DWQpnqrQWwxVKKWSL9kDPp
2026-04-16 23:50:39 +00:00
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
Ponshu Developer
68723a884e
feat: 記録日時を一覧カードと詳細画面に表示
...
- sake_list_item: カード末尾に相対日付を追加
今日 / 昨日 / N日前 / M/D / YYYY/M/D
- sake_basic_info_section: 蔵元行直下にカレンダーアイコン + 「YYYY年M月D日に記録」を追加
セット商品は非表示
- metadata.createdAt(非null保証)を使用、追加フィールド不要
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 14:01:17 +09:00
Ponshu Developer
d47bb201ac
feat: ライセンス管理システムを追加(Pro機能解放型)
...
- LicenseService / LicenseProvider / LicenseScreen を追加
- main_screen.dart: isProVersion(ビルド時)→ isProProvider(ランタイム)に変更
ライセンスキー購入後にARスキャン・Analytics・Instagram支援が解放される
- home_screen.dart: 不要なTrialStatusBannerを削除(AI解析は常時無制限)
- proxy/server.js: トライアル回数制限・Stripe/Resendコードを削除(整理)
- proxy/package.json: stripe/resend依存を削除
- .github/workflows/ios_build.yml: iOS CI追加
- scripts/deploy_android.ps1: Android配布スクリプト追加
AI解析(1日50回)はLite版でも制限なし
Proライセンス購入でARスキャン・Analytics・Instagram支援を解放
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 00:05:53 +09:00
Ponshu Developer
7844fc314d
fix: UI tweaks — alcohol unit, title card layout, stats card
...
- sake_detail_specs: アルコール分チラ見せを % → 度 に統一
- level_title_card: Lv.バッジを「現在の称号」行右寄せに移動、称号名36→26px・1行制限
- activity_stats: 小カード(お気に入り・撮影日数)を横並びレイアウトに変更
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 19:27:25 +09:00
Ponshu Developer
9587991999
feat(ponshu-room): Phase 3 UI — Bento Grid stats + progress bar animation
...
- activity_stats: Bento Grid layout (大カード×1 + 小カード×2) with AppColors tokens
- level_title_card: TweenAnimationBuilder progress bar (0→value, 900ms easeOutCubic)
- version bump: 1.0.20+31 → 1.0.21+32
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 17:04:20 +09:00
Ponshu Developer
db4af36f8b
fix: grid item separator / → · (consistent with list and detail screen)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 16:50:51 +09:00
Ponshu Developer
a691be07fa
feat: simplify list item — accurate info only, remove AI-inferred tags
...
- 酒蔵 · 都道府県: / → · 区切りに変更(詳細画面と統一)
- フレーバータグ削除: AI推測精度が低いため一覧から除去(詳細画面のみ)
- 特定名称 + アルコール度数を追加: ラベル直読みの正確な情報のみ表示
(どちらか一方のみの場合も対応、両方ない場合は行自体を非表示)
- セット商品の説明文は維持(ユーザー入力のため)
- お気に入りアイコンは現状(右上)のまま維持
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 09:12:59 +09:00
Ponshu Developer
818f8862a1
feat: detail screen UI polish — badge merge, clean typography, spec peek, no dividers
...
変更1: AI確信度 + MBTI相性バッジを横並び1行に統合(Wrap)
変更2: 銘柄名・酒蔵から常時表示の鉛筆アイコンを除去、区切りを / → · に変更
キャッチコピーを銘柄名直下に移動、タグをpill形状(radius:20)に変更
変更3: スペック詳細アコーディオンのタイトルにアルコール度数・精米歩合をチラ見せ
変更4: Divider 4本 → SizedBox(height:32) に置換
おすすめ見出しカラーを colorScheme.onSurface → appColors.textPrimary に統一
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 14:55:21 +09:00
Ponshu Developer
4758aa5c9c
fix: remove Pro-only placeholder in consumer APK, fix A-1/A-3 visibility
...
- sake_detail_screen: hide SakeMbtiStampSection when isProVersion=false
(consumer APK no longer shows Pro版限定 placeholder at card bottom)
- sake_grid_item / sake_list_item: apply Pressable to actual tap targets
(grid/list cards now animate on press instead of non-interactive LevelTitleCard)
- soul_screen / sommelier_screen: ambient glow alpha 0.07→0.12 for visibility
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 14:33:40 +09:00
Ponshu Developer
a14dae1afb
feat: UI modernization Phase 2 — micro-animation, typography, ambient glow
...
A-1 Micro-animation: Pressable wrapper widget (AnimatedScale 0.97 on tap)
applied to LevelTitleCard
A-2 Bold Typography: LevelTitleCard title font 28→36px, 現在の称号 label
demoted to bodySmall for stronger visual contrast
A-3 Ambient Glow: RadialGradient circle behind My Page (top-left, brandPrimary)
and Sommelier screen (top-right, brandAccent) via Stack + IgnorePointer
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 13:35:03 +09:00
Ponshu Developer
1741e74639
feat: restructure My Page and Sommelier screen layouts
...
My Page:
- LevelTitleCard: show nickname above title when set
- Add section header 成長記録 above gamification widgets
- Split profile card: basic info (nickname/gender) and sake character
(MBTI/sake persona) are now separate named sections
Sommelier:
- Add section headers テイストプロフィール / MBTI風診断 / さけのわ おすすめ
- Widen share button to full width with rounded rect shape
- Remove Dividers between sections, use SizedBox(32) spacing instead
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 13:32:52 +09:00
Ponshu Developer
d61427d7f6
feat: add grid text toggle to display settings (promoted from DevMenu)
...
一覧テキスト表示のON/OFFをSoulScreenの表示設定から操作可能に。
DevMenuのままだった機能を正式設定として昇格。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 07:26:42 +09:00
Ponshu Developer
b6163e8efe
chore: guard DevMenu in release build, clean up Phase/TODO comments
...
- DevMenu: kReleaseModeのときonTap=nullでリリースビルドから完全無効化
- Phase N マーカーを全ファイルから削除(実装済みのため歴史的コメントを除去)
- analysis_cache_service TODOを具体的な記述に改善
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 03:02:01 +09:00
Ponshu Developer
9f63578ca7
chore: remove development phase markers and dead commented code
...
- Remove Phase X / Phase D labels from inline comments and imports
- Remove debugPrint calls from CustomPainter.paint() (called every frame)
- Remove commented-out locale entries (fr, de) from main.dart and language_selector
- Remove version header comments (v1.5 etc.) not needed in source
No logic changes. flutter analyze: No issues found.
2026-04-04 23:02:52 +09:00
Ponshu Developer
aded5562cd
fix: Resolve all flutter analyze warnings (39 -> 0 issues)
...
Code Quality Improvements:
- Add vector_math to pubspec.yaml (fixes depend_on_referenced_packages)
- Remove deprecated tutorial fields from UserProfile (hasSeenCameraTutorial, etc.)
- Regenerate user_profile.g.dart (Hive adapter)
- Suppress Share API deprecation warning in sommelier_screen.dart
- Fix unnecessary_getters_setters in sake_item.dart with ignore comment
- Fix unnecessary_brace_in_string_interps in sakenowa service
- Fix unnecessary_underscores warnings (_, __ -> err, stack)
Configuration:
- Exclude scripts/ and tools/ from analyzer (avoid_print in dev tools)
- Add analyze_output*.txt to .gitignore
Result: flutter analyze now reports "No issues found!"
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-21 10:32:02 +09:00
Ponshu Developer
d89b6917fa
feat: v1.0.16 brushup + Synology Proxy integration
...
- fix: Replace hardcoded colors with AppColors theme
- refactor: Extract SakePhotoEditModal and SakeMbtiStampSection
- feat: Add taste chart manual editing feature
- test: Add unit tests for SakeItem and AnalysisCacheService (14 tests)
- feat: Add Synology AI Proxy server (Node.js/Docker)
- chore: Make useProxy configurable via dart-define
- chore: Add .apk/.aab/.ipa to .gitignore
- docs: Add proxy setup guide and project roadmap
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 00:13:12 +09:00
Ponshu Developer
f063ef6ec5
feat: Add Pro version lock mechanism for Lite version preparation
...
Phase 4.1完了: Pro版機能ロック機構の実装
変更内容:
- lib/widgets/pro_locked_screen.dart: 新規作成
- 和モダンな王冠アイコン付きロック画面
- Pro版限定機能を分かりやすく表示
- 日英両対応
- lib/main.dart: IS_PRO_VERSION ビルドフラグ追加
- bool.fromEnvironment('IS_PRO_VERSION', defaultValue: true)
- Pro版/Lite版をビルド時に切り替え可能に
- lib/screens/main_screen.dart: 条件分岐ロジック追加
- パーソナルモード: QRスキャン → Lite版ではロック画面
- ビジネスモード: Instagram・分析 → Lite版ではロック画面
- タブ表示は維持、タップ時にロック画面を表示
ビルドコマンド:
- Pro版: flutter build apk --release --dart-define=IS_PRO_VERSION=true
- Lite版: flutter build apk --release --dart-define=IS_PRO_VERSION=false
次ステップ:
- lite-versionブランチ作成
- QR依存関係削除(pubspec.yaml)
- パッケージ名・アプリ名変更
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-30 17:34:39 +09:00
Ponshu Developer
21833e4e75
feat: Code quality improvements (v1.0-full-with-qr)
...
✨ Improvements:
- Replace print() with debugPrint() (7 instances)
- Migrate withOpacity to withValues (9 instances)
- Remove unused imports (2 files)
- Fix BuildContext async gaps with mounted checks
- Remove unused local variables
📊 Analysis Results:
- Flutter analyzer: 57 → 46 issues (-11)
- Security audit: Passed ✅
- Code quality: Production ready ✅
🎯 Purpose:
Complete snapshot before QR feature removal.
This is the last version with full QR functionality.
🤖 Generated with Claude Code & Antigravity
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-30 00:54:22 +09:00
Ponshu Developer
6507ab9596
feat: enhance AI spec extraction
2026-01-16 00:53:44 +09:00
Ponshu Developer
94af953ac3
UI Polish: Dialogs for Backup/Account, Font Alignment, Hide Future Features
2026-01-13 19:00:16 +09:00
Ponshu Developer
fbeefd9456
feat(ui): Implement Developer Menu & A/B Testing (Grid/FAB)
2026-01-13 18:33:47 +09:00
Ponshu Developer
318fa19bfb
Fix compilation error in SakePriceDialog
2026-01-13 18:13:23 +09:00
Ponshu Developer
3018d9a9d1
Fix syntax error in HomeScreen logic
2026-01-13 12:13:10 +09:00
Ponshu Developer
4e8b619ec2
UI Polish: Remove redundant header icon, update usage guide assets, add close button to dialog
2026-01-13 11:56:17 +09:00
Ponshu Developer
e038fff77f
Code Cleanup: Fix analyzer issues (unused vars, dead code, logic, pdf_service restoration)
2026-01-13 10:33:13 +09:00
Ponshu Developer
191e334d0d
v1.2: Map Tab Tile Map, Sommelier Enhancements, APK Optimization (111MB)
2026-01-13 10:16:00 +09:00
Ponshu Developer
a6cefb8be5
Step 1 Cleanup: Safe code quality improvements
...
- Replace deprecated withOpacity() with withValues(alpha:) across 13 files
- Remove unnecessary imports (schema imports, unused dart:io, etc.)
- Reduce analysis issues from 122 to 111 (11 issues resolved)
- All changes are safe and do not break functionality
Changes:
- lib/main.dart: Remove redundant schema imports
- lib/screens/*.dart: Update color methods, clean imports
- lib/widgets/*.dart: Update color methods
- lib/theme/app_theme.dart: Update color methods
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-12 00:53:49 +09:00
Ponshu Developer
2eb451296b
Step 1 Polish: dart fix --apply (Resolved 47 analysis issues)
2026-01-11 17:40:26 +09:00
Ponshu Developer
5f2802728d
v1.0.8 - Original (Ponshu Room Lite MVP Complete)
2026-01-11 17:17:29 +09:00