Conversation
|
Could you document in design library when to do this and when to use regular titles or when to use app bars? "This exists" isn't enough guidance IMO. |
|
I wonder why this is required at all? All other Jenkins pages have a different layout: the top level corner of the side panel starts with a link. Only here we have an additional header now. In my opinion either all pages get such a header or no page gets one. |
|
Adding an app bar to all pages is a good idea. This is not what I am concerned about: what totally unclear to me is, if a sub page with app bar should contain an own sidebar navigation or not. Or should it show the global sidebar, or should it hide the sidebar? Some new pages have this sidebar, some not, this is not consistent. Now we have another alternative: a sidebar menu with a custom header? Can't we use the same sidebar concept for all pages? |
The intention is to have the app bar contextual to the page it belongs to, whereas the side panel more belongs to a group of pages (e.g. Design Library has one side panel that its pages inherit, Plugins has one side panel for Updates/Installed/Available, Pipeline Graph View has one side panel for its different stages). Pages like Dashboard and Jobs will (eventually/hopefully) drop their side panels in favour of an app bar for contextual actions, such as Build/Configure/Delete. In the place of the actual links in the side panel could be tabs/widgets - need to test it out. There's some guidance on https://weekly.ci.jenkins.io/design-library/layouts/ |
|
Based on my previous understanding and
it seems both Ulli and I were unaware that these are app-bars as well, just as part of the sidepanel. Although I wonder how this placement would accommodate large labels (e.g., job names), or tasks. A more complete vision, including how to adapt at least most of core, would be nice here before updating individual pages one by one. |
| <div class="jenkins-app-bar"> | ||
| <div class="jenkins-app-bar__content jenkins-build-caption"> | ||
| <l:icon src="${h.getUserAvatar(it, '96x96')}" class="jenkins-avatar" /> | ||
| <h1> | ||
| ${it.fullName} | ||
| </h1> | ||
| </div> | ||
| </div> |
There was a problem hiding this comment.
Why is there no Jelly tag for this?
There was a problem hiding this comment.
Good point, added support for icons in App bars.
|
Please take a moment and address the merge conflicts of your pull request. Thanks! |
|
|
|
All looks resolved now. /label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |





Small PR to refine the User page(s).
What's changed?
Before

After

Before

After

Testing done
Proposed changelog entries
Proposed changelog category
/label web-ui,rfe
Proposed upgrade guidelines
N/A
Submitter checklist
@Restrictedor have@since TODOJavadocs, as appropriate.@Deprecated(since = "TODO")or@Deprecated(forRemoval = true, since = "TODO"), if applicable.evalto ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@jenkinsci/sig-ux
Before the changes are marked as
ready-for-merge:Maintainer checklist
upgrade-guide-neededlabel is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidateto be considered (see query).