Browse Source

feat(04-01): add placeholder model search dialog with state management

- Dialog opens when provider icon is clicked with provider filter in state
- Placeholder UI shows "Coming in 04-02" message
- Close button properly resets modelSearchOpen state
- Ready for 04-02 to implement full search functionality
handoff-20260429-1057
shrimbly 6 months ago
parent
commit
e0a21f8d39
  1. 15
      src/components/FloatingActionBar.tsx

15
src/components/FloatingActionBar.tsx

@ -394,6 +394,21 @@ export function FloatingActionBar() {
)}
</div>
</div>
{/* Model search dialog placeholder */}
{modelSearchOpen && (
<div className="fixed inset-0 bg-black/50 flex items-center justify-center z-50">
<div className="bg-neutral-800 p-4 rounded-lg border border-neutral-700 shadow-xl">
<p className="text-white text-sm">Model Search Dialog (Coming in 04-02)</p>
<button
onClick={() => setModelSearchOpen(false)}
className="mt-3 px-3 py-1.5 bg-neutral-700 hover:bg-neutral-600 text-white text-xs rounded transition-colors"
>
Close
</button>
</div>
</div>
)}
</div>
);
}

Loading…
Cancel
Save