Commit a5ff9fd
Fix v2.0.0 refactor regressions: restore frontend features, fix AI provider defaults
- Revert Inventory/Recipes/Calendar pages to pre-refactor versions (20+ lost features:
product grouping, category emojis, percentage mode, quick-add buttons, localStorage
persistence, direct cook, allow-extra UI, confirm dialogs, portions editing, etc.)
- Fix missing state declarations (editingDateId, planSettings, showWeeklyModal) and
add Edit2 import + handleUpdateDate handler in Calendar
- Fix ai.service.ts: per-provider model defaults (gpt-4o for OpenAI, claude-3-5-sonnet
for Anthropic) instead of falling back to gemini-3-flash-preview for all providers
- Add SSRF validation for Ollama URL in ai.service.ts
- Keep backend extraction (database, migrations, categories, units, bring service)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cbae80c commit a5ff9fd
4 files changed
Lines changed: 1303 additions & 721 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
| |||
108 | 119 | | |
109 | 120 | | |
110 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
111 | 131 | | |
112 | 132 | | |
113 | 133 | | |
| |||
0 commit comments