chat-ui icon indicating copy to clipboard operation
chat-ui copied to clipboard

Disable text streaming if user prefers reduced animation

Open neven4 opened this issue 1 year ago • 2 comments

Disable the streaming updates when prefers-reduced-motion is set to reduce

Closes: https://github.com/huggingface/chat-ui/issues/684

neven4 avatar May 10 '24 17:05 neven4

Hi @nsarrazin, kindly requesting a review

neven4 avatar May 13 '24 15:05 neven4

Hi @coyotte508, @gary149, @mishig25 maybe you could do a review?

neven4 avatar May 22 '24 15:05 neven4

Hi! Thanks for a great contrib 🔥 I took the liberty to push a commit that simplifies the way you filter stream updates in src/routes/conversation/[id]/+page.svelte

But overall it works great in local testing, if my fix still works for you then we can merge this! 🚀

nsarrazin avatar May 23 '24 02:05 nsarrazin