hoof-ai / hoof

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

Feature/UI layout changes #34

Closed simoncollins closed 11 months ago

simoncollins commented 12 months ago

Got basic question and response layout working. Also snuck in support for markdown rendering including GFM and added nice styling of response HTML with tailwind's typography package:

image image image image

Added progress spinner:

image

Known issues / remaining work:

simoncollins commented 12 months ago

Hey @Dax911,

can u justify why u wanted to use zustand for this esp since the context and state is already so tightly bound to the rust backend

Good question and I did mull over whether it was worth it. I initially implemented it without but found that I was prop drilling a bit to use state in different component subtrees once I split stuff from App out into different component, so I figured it was worth it for simplifying the logic without adding too much overhead.

Definitely a good question about the split between Rust side and Tauri side state though.

sammcj commented 12 months ago

linting will pass after this is merged - https://github.com/ai-qol-things/rusty-ollama/pull/35