mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Update link dropdown menus to use new Tippy dropdowns (#7474)
* Squashed commit of the following: commit 0fafc6f2b50c817c11a6149fb4374bfb1a1d486a Merge: 9046da814fd3d1c88d29Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 4 21:31:15 2022 +0000 Merge branch 'master' into add-model-link-dropdowns commit 9046da814f3aa26ec19ece970b25a29375377bfa Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Dec 4 21:31:09 2022 +0000 Reset commit 5f81d254112c7179f9c83e7dd3650aa9ba0b0c37 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Nov 26 00:56:02 2022 +0000 Update prototype.js commit dab47993c6c5f9bd77e83d392c737f3d6d3ba830 Merge: b166f016a3221ff946b3Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Nov 25 22:32:28 2022 +0000 Merge branch 'master' into add-model-link-dropdowns commit b166f016a3e81b3787702e061cb7793a79295a49 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Nov 25 20:11:45 2022 +0000 Add support for breadcrumb-config-outline commit cc05b743192bdfbf68d1399f77a32583f2a65182 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Nov 23 23:03:40 2022 +0000 Imports commit d23b82247e9e2defb5501622f4c3a2b3c4ee95c7 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Nov 23 23:02:25 2022 +0000 Tidy up JS commit a578f6aa1f1b35db83a3543417b87381f636c3c7 Merge: f48e7ef37051e084a01aAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Nov 23 11:13:00 2022 +0000 Merge branch 'master' into add-model-link-dropdowns commit f48e7ef370b7e807689b2edea81d137ca1e7dddb Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Nov 23 09:57:41 2022 +0000 Update dropdowns.less commit 8e54b2d9f17afd8c9d7ccf9f481ad1c571ed43d2 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Nov 23 00:54:33 2022 +0000 Init commit 0a161523b2e195dc89c75296111a0be0a9f9319e Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 21 19:56:48 2022 +0000 Update yarn.lock commit 8aa08f0fc1ac4e5d2c082e3e9b96344cb255257b Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 21 19:40:26 2022 +0000 Fix commit 7a2668ccfde9ec79dfb1fd20d0da70fb4817b1d7 Merge: faf3888e27df89aa6855Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Nov 21 19:39:51 2022 +0000 Merge branch 'master' into add-dropdown-button commit faf3888e279e5ffb2ec99f47506548c435659c76 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Sep 23 23:57:35 2022 +0100 Update overflowButton.jelly commit 2c33dee5ec1f6cbcad335f12db58e84966af1ade Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Sep 23 23:55:31 2022 +0100 Remove unused method, fix docs commit ed8c2b02e13306e810da721c69486011cfd80308 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Sep 23 23:48:51 2022 +0100 Fix link appearance commit 9d04e8092ff8bab60b76bdfb41d2431a6737ce6c Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Sep 23 23:45:40 2022 +0100 Fix up commit 109dda954e29d8f85d5dcbaf9b630ce02d17648b Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Sep 23 23:22:10 2022 +0100 Small cleanup commit 0f27194eba82073f513b205da991b6a729b40bb0 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Sep 23 23:19:39 2022 +0100 Lint commit e63c95620cec8f26fca33605389e5bac751471ac Merge: dccceff2187cb5eb78c0Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Sep 23 23:18:39 2022 +0100 Merge branch 'master' into add-dropdown-button commit dccceff2185fb4870f1c4639579d472866975cb7 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 27 19:21:39 2022 +0100 Update dropdowns.less commit 373b8d90a056453ebb8ccdbe613a8d2eb5c0be51 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 27 19:20:40 2022 +0100 Update table.jelly commit 62dff833f3593981c093c0a2a63291cae0adda26 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 27 19:19:51 2022 +0100 Update index.jelly commit 9bacedaac4b02d0b7786d22e06277903c2556c62 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 27 19:19:32 2022 +0100 Update rowSelectionController.jelly commit 06591b1e01f6eb51721edce588f9f818ee9a4cad Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 27 19:18:30 2022 +0100 Update row selection controller to use new dropdown component commit 21b5844fde72cf81d0ff4a57358a9e35d98c8afb Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 27 19:02:52 2022 +0100 Restyle commit 9966fe79472fdd7b9229143089d4161a6ddf0ab6 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 27 18:49:06 2022 +0100 WB commit 81b073a7143256b6369470794f947b6d989bd957 Merge: 8b58f7234b315b2f410cAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 27 18:29:11 2022 +0100 Merge branch 'master' into add-dropdown-button commit 8b58f7234b96acb0263f02d54cffc3e1fe4705e1 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 20 08:41:48 2022 +0100 Replace icon with hand made divs commit 22908c71d286dbb907acc52df1cea49f7966c5d9 Merge: fb89bc5891b3320ca766Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Jul 19 23:28:58 2022 +0100 Merge branch 'new-buttons-1-dashboard' into add-dropdown-button commit fb89bc5891ba15558fef93ddad30e881c7a08175 Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Jul 19 23:28:37 2022 +0100 Init commitb3320ca766Merge:1fa24ea550f52d99a0e5Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jul 14 09:50:06 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commit1fa24ea550Merge:8598f99f00a990ebcda4Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 13 00:02:33 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commit8598f99f00Author: Alexander Brandes <mc.cache@web.de> Date: Mon Jul 11 15:11:36 2022 +0200 style: Address stylelint violations commitfd4da119c4Merge:0480268a50aba1c17edeAuthor: Alexander Brandes <mc.cache@web.de> Date: Sun Jul 10 23:30:55 2022 +0200 Merge branch 'master' into new-buttons-1-dashboard commit0480268a50Merge:9b145b1ae4ab0bb84958Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Jul 9 21:52:43 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commit9b145b1ae4Merge:418ab063b203617e0b43Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Jul 8 19:44:20 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commit418ab063b2Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jul 7 22:41:32 2022 +0100 Update buttons-deprecated.less commit2798afa6dfMerge:296e309afc6de288f424Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jul 7 22:40:35 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commit296e309afcMerge:1e646ff7ee22dcefcd8fAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jul 7 14:50:14 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commit1e646ff7eeAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 6 22:59:13 2022 +0100 Use rem, fix cursor for dashboard icon size commit21d4c73d9eAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 6 22:56:05 2022 +0100 Update with master, make minor changes commit1d59bd4a21Merge:f6fc19bd3e644a261e78Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jul 6 22:48:59 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commitf6fc19bd3eAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jun 26 22:58:12 2022 +0100 Update dashboard.less commit665daa0b85Merge:a57f13ac88c60ea9210cAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jun 26 22:52:33 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commita57f13ac88Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Jun 20 19:01:18 2022 +0100 Update simple-page.less commit2d3695d163Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jun 19 22:24:32 2022 +0100 Update theme.less commit361f06c7efAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jun 19 22:22:48 2022 +0100 Split out vars commit205336fe9fAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jun 19 21:48:33 2022 +0100 Move files about, fix focus state, fix colors commit204bafbef1Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jun 19 21:00:57 2022 +0100 Update buttons to support colors commit1d4be07f52Merge:c4075772f02391319f45Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jun 19 20:01:19 2022 +0100 Merge branch 'move-manage-jenkins-less' into new-buttons-1-dashboard commitc4075772f0Merge:0c8d53824265fcda1350Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sun Jun 19 20:01:02 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commit2391319f45Merge:c9e2823d4aac66b476d9Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jun 16 17:47:45 2022 +0100 Merge branch 'master' into move-manage-jenkins-less commitc9e2823d4aAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jun 16 17:35:37 2022 +0100 Update colors commitc78dfd6b50Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jun 16 17:33:47 2022 +0100 Update theme.less commit0996e759d6Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jun 16 17:32:52 2022 +0100 Update theme.less commite57bc28553Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jun 16 17:29:15 2022 +0100 Update theme.less commit69c1633e1eAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jun 16 17:00:06 2022 +0100 Update style.less commite21d4e7ccbAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jun 15 19:03:50 2022 +0100 Update breadcrumbs to use new item mixin commit90fc4ba147Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jun 15 18:57:51 2022 +0100 Rename mixin commit28d06386ceMerge:d1f42acfd565fcda1350Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue Jun 14 23:35:10 2022 +0100 Merge branch 'master' into move-manage-jenkins-less commitd1f42acfd5Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Jun 10 11:13:58 2022 +0100 Update table.less commit13d5729892Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Thu Jun 9 10:03:01 2022 +0100 Move from px to rem commit68f5425a7bAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jun 8 16:40:41 2022 +0100 Update theme.less commit929e2d5e5aAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jun 8 16:28:06 2022 +0100 Update mixins.less commit8c4b4662a2Merge:8b2227018877a36fcee9Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jun 8 16:27:25 2022 +0100 Merge branch 'master' into move-manage-jenkins-less commit8b22270188Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jun 8 16:19:42 2022 +0100 Update theme.less commite925490722Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Jun 8 16:17:02 2022 +0100 Add mixin for items commit0c8d538242Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Sat Jun 4 00:15:05 2022 +0100 Update button styling commit45c9d078beMerge:e9cb78a92477a36fcee9Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri Jun 3 23:38:49 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commitd579dc5ae2Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue May 17 00:52:29 2022 +0100 Update section.less commit43e4f5c48aAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue May 17 00:29:22 2022 +0100 Init commite9cb78a924Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Apr 20 21:01:06 2022 +0100 Add backplate to table size toggles commit8cbfe00561Merge:41d45b5e1fb28d225d61Author: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Wed Apr 20 20:30:39 2022 +0100 Merge branch 'master' into new-buttons-1-dashboard commit41d45b5e1fAuthor: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon Apr 18 12:50:17 2022 +0100 Initial * Remove old import * Simplify code * Update rowSelectionController.jelly * Update inpage-jumplist.js * Escape menu item labels * Temp commenting out * More HTMLUnit fixes * Revert "Temp commenting out" This reverts commitd61d94332f. * Add support for left/right keyboard nav in menus, fix keyboard priority in submenus, add scroll into view, remove old menu target element * Send error to console rather than displaying it in dropdown * Use 'auto' for overscroll-y * Remove Util.escape(...) from withDisplayName builder * Remove unused import * Show 'No items' placeholder for menus with no items * Keep dropdown parent links active when expanded * Update jumplists.js * Potential fix for failing tests * Update utils.js * Update utils.js * Add badge support to dropdown menus * Remove font weight from badge * Merge master --------- Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
This commit is contained in:
1 parent
42cd0b7c85
commit
54eb759b74
18 files changed
+679
-394
No files matched your search
@@ -2,7 +2,6 @@ package jenkins.model;
|
||||
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
import hudson.Functions;
|
||||
import hudson.Util;
|
||||
import hudson.model.Action;
|
||||
import hudson.model.Actionable;
|
||||
import hudson.model.BallColor;
|
||||
@@ -414,7 +413,7 @@ public interface ModelObjectWithContextMenu extends ModelObject {
|
||||
}
|
||||
|
||||
public MenuItem withDisplayName(String displayName) {
|
||||
this.displayName = Util.escape(displayName);
|
||||
this.displayName = displayName;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user