01-17-2016, 11:58 PM
I completely agree about a theme not being about adding autocomplete. I was thinking in the direction of adding an extension module, that included the installation of a theme. But maybe this is not the way to go. One thing I want for the theme is to use a better font. I've been experimenting with the Ubuntu open sans font, since I think the currently used fonts are just too hard on the eyes considering this is an application people use all day long. For this, I'm reluctant to use @font-face, since it's blocking. Sure, only untill it is browser-cached, when you setup htaccess correctly but still I prefer a pure javascript solution that appends the font inclusion script after the window is loaded. There's a small gap (the font-flicker), but in this case I tend to prefer speed over esthetics. Anyway, because I'd like to use some javascript, I was thinking about writing an extension, but again: maybe this is not the way to go.
I also agree on relying on native javascript. I'm a lot better at jQuery, but in general, every jQuery functionality is slower and the current javascript specs are showing good promise of becoming less verbose. But frankly, I don't see why we couldn't write our own javascript autocomplete. After all, it is a jQuery plugin, and jQuery is nothing more than a javascript library. So it should be possible. I will investigate this, but yes, it should be separated from the theme.
I will report as soon as I have some work done that is worth testing.
I also agree on relying on native javascript. I'm a lot better at jQuery, but in general, every jQuery functionality is slower and the current javascript specs are showing good promise of becoming less verbose. But frankly, I don't see why we couldn't write our own javascript autocomplete. After all, it is a jQuery plugin, and jQuery is nothing more than a javascript library. So it should be possible. I will investigate this, but yes, it should be separated from the theme.
I will report as soon as I have some work done that is worth testing.