feat(FN-2044): propagate model favorites through QuickChatFAB

- Extend QuickChatFAB props with favorite providers/models and favorite toggle callbacks
- Forward favorite state and handlers to the model override CustomModelDropdown
- Wire App.tsx favorite provider/model state and toggle handlers into QuickChatFAB
- Add QuickChatFAB tests for pinned favorite models, provider favorites, and toggle callback behavior
This commit is contained in:
Fusion
2026-04-18 00:08:27 -07:00
committed by gsxdsm
parent d58825cbd2
commit 5a6f5b8edf
4 changed files with 170 additions and 10 deletions

View File

@@ -794,15 +794,6 @@ export function ChatView({ projectId, addToast }: ChatViewProps) {
// Render empty state (no active session)
const renderEmptyState = () => {
if (showNewDialog) {
return (
<NewChatDialog
onClose={() => setShowNewDialog(false)}
onCreate={handleCreateSession}
/>
);
}
return (
<div className="chat-empty-state">
<MessageSquare size={48} strokeWidth={1.5} />