cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tutkowski <mike.tutkow...@solidfire.com>
Subject [GSoC] GUI Problem
Date Sun, 10 Aug 2014 04:20:25 GMT
Hi everyone,

My GSoC student has been working on a GUI problem for a while and we'd like
to see if anyone out there who might have a detailed knowledge of
CloudStack's GUI code and JavaScript/CSS in general could help.

Seif is trying to add a new control to the CS GUI:

http://loopj.com/jquery-tokeninput/

He's first trying to swap out one existing text field for this control: the
Storage Tags text field in the Add Primary Storage dialog.

Right now this Storage Tags is just a normal text field. You type in one or
more tags (separated by a comma).

This new control provides suggestions (Seif acquires all storage tags from
the DB via a new API call he wrote) and lets you click on a suggestion to
add it to the control's text field. JIRA has a similar control.

A nice benefit of this approach is that you don't have to guess at the name
of a storage tag that you want to use if that storage tag is already in use
(you can just select it from the list of suggestions as you type).

Anyways, Seif has most all of the code written, but is having trouble
getting the suggestions list to actually show up in the CS GUI (it shows up
just fine in a demo program he built).

His current code in in my GitHub cloudstack repo here:

https://github.com/mike-tutkowski/cloudstack/commit/c0e58040663e641dccac6c3586ddd07ff4382b9e

I'm not seeing any obvious problem with his code, but I'm way more
experienced in Java than in JavaScript.

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message