On 03/14/2012 05:43 PM, Ross Simpson wrote:
Hi,
I like the breadcrumb and think it's a good idea. I have, however, gotten
several complaints from users (some of whom are UX people) about the
drop-down menu appearance being distracting and not always desirable. Was
any thought given to being able to control this behavior, through a config
item or plugin or such?
Maybe the time out is too short, or maybe it shouldn't be triggered by a
hover but should require some clicking instead?
Making it configurable is certainly possible, but it seems like we
should rather solve the underlying problem if we can.
Otherwise, great job!
R
On Tuesday, 21 February 2012 14:15:47 UTC+11, Kohsuke Kawaguchi wrote:
As per the discussion in [1], I implemented the enhanced breadcrumb.
The code is currently in a branch [2]. The screenshot is attached.
Breadcrumb is now sticky --- when you scroll down, it sticks to the
top of the page and never goes out of the viewport. Hovering the mouse
over it will show the menu, and when you move your mouse out of the
menu, it'll disappear automatically. The breadcrumb itself is still
clickable as it has been.
As you see in the screenshot, the breadcrumb now occupies more space
(or easiler access to the context menu), and it's bordered.
I'm not a UX guy, and I'm not too crazy about borders here (it appears
somewhat out of style with the rest of Jenkins UI, although foldable
sidepanel might change that.) With that said, I ended up adding it to
create a boundary for sticky breadcrumb.
Internally, it ses sidepanel.groovy/jelly to generate the menu
contents by default, which lets us instantly activate this feature for
all those objects that people have been writing. But model classes can
override this behavior and completely take over the menu generation if
so choose.
Future enhancements include submenus.
Does this sound like what we want? Feedbacks from graphics/UX guys
(and I'm looking at Manfred!) would be especially appreciated.
[1]
https://wiki.jenkins-ci.org/display/JENKINS/FOSDEM+UI+Enhancement+discussion+notes
[2] https://github.com/jenkinsci/jenkins/tree/breadcrumb
--
Kohsuke Kawaguchi
--
Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/
Try Nectar, our professional version of Jenkins