Rotonde / rotonde-client

Rotonde Base Client
https://client-neauoire.hashbase.io/
MIT License
227 stars 49 forks source link

media formats, no scroll on input, documentation #120

Closed eelfroth closed 7 years ago

eelfroth commented 7 years ago

was missing some media formats that also work in beaker, so I added them. uncompressed formats seem stupid on the dat web, so I removed support for them.

it was very disorienting that the page scrolled to (0, 0) every time you clicked something or started typing, so I fixed that. + I fixed the reason parameter for refresh on validating say commads

and I updated the documentation to better reflect the current feature set

eelfroth commented 7 years ago

btw. I'm aware that setTimeout(window.scrollTo, 1, 0, scroll) in key_down does some glitchy jumping around when you hold down a key (and have fast key repeat on your computer). this is however preferable to the disorientation of having it forget your scroll position on every keystroke. if anyone has a better solution, or a way to fix the jittering glitch, I'd like to hear it. we can't use e.preventDefault() here, as it would be a major nightmare to reimplement typing!