hoof-ai / hoof

"Just hoof it!" - A spotlight like interface to Ollama
https://hoof.ing
MIT License
55 stars 6 forks source link

Popup placeholder chat and settings windows from toolbar icon buttons #39

Closed simoncollins closed 10 months ago

simoncollins commented 10 months ago

When you click on the settings and chat icons in the spotlight window toolbar you now open a blank placeholder window for the settings dialog and chat view respectively.

On first creation, windows are initially hidden and then client side useEffect hook triggers the window to be shown. This avoids the flashing effect as it takes a few milliseconds for the content to render.

Refer to: https://github.com/tauri-apps/tauri/issues/5170#issuecomment-1413240362

We now have separate bundles for each of the three windows. We may want to move the spotlight window code around to align it with the location of the other windows' code. Can do as part of implementing those windows.