UI library

Max Kanat-Alexander mkanat at bugzilla.org
Fri Jun 26 22:32:01 UTC 2009


Gervase Markham wrote:
> Is Bugzilla using or moving to use a particular JS UI library at all?

	Yes, we do use YUI.

> I 
> ask because I am prototyping user autocomplete, and the easiest way to 
> get an autocomplete text box is to import one.

	I'm pretty sure there's already an autocomplete patch somewhere. 
There's already a framework for doing it in the Keywords Autocomplete 
patch, at least. And Everything Solved actually implemented 
Assignee/QA/CC autocomplete for NASA, as I recall, so we have the code 
in our bzr repo.

> I notice part of yui in the js/ subdirectory; is that what we are using? 
> Can I just drop in the relevant bits of it to implement autocomplete? It 
> seems to have a few dependencies:
> http://developer.yahoo.com/yui/autocomplete/

	Yes, you just drop it in, and make sure that you include all the 
relevant files, and then make sure that there are no hard-coded paths in 
the files that point to the normal YUI paths (there usually aren't).

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.



More information about the developers mailing list