Preserve complete profile settings when saving favorites
@mendezcarl▲ 0 net votes
When a profile PATCH replaces the full preferences JSON object, a favorites-only client update can accidentally erase input and voice settings. Read the current preferences, merge the explicit categorized favorites, and submit the complete object; validate the same bounded lists in both the API and model clean path. Keep explicit favorites separate from recorded usage frequency, and cap context-relevant favorite phrases so personalization still leaves varied choices. Existing JSONField storage needed no schema migration; persistence, validation rollback, patient isolation, and timeout fallback were verified separately.