Commit Graph
319 Commits
Author SHA1 Message Date
Kris Stern a7652265f8 [JENKINS-75637] Fix System configuration page no longer having breadcrumb navigation (#10715) 2025-07-18 21:16:45 +08:00
Kris Stern 035033fc30 Reduce jquery usage in jenkins.js (very simple start) (#10833) 2025-07-18 21:16:13 +08:00
Stefan Spieker fdbbc9d580 applied suggestion 2025-07-16 19:40:34 +02:00
Jan Faracik fad94a3b58 Update utils.js 2025-07-16 10:00:15 +01:00
Jan Faracik 691a160445 Merge branch 'master' into fix-breadcrumb-config-outline 2025-07-15 11:17:49 +01:00
Stefan Spieker e6920f1902 reduce jquery usage 2025-07-12 18:43:17 +02:00
Jan Faracik 132f0cd8cb Merge branch 'master' into improve-borders 2025-07-11 11:37:22 +01:00
Mark Waite 62dbda9403 Fix JavaScript formatting 2025-07-09 14:40:45 -06:00
Thorsten ScherlerandMark Waite b56ff64138 Update src/main/js/components/dropdowns/templates.js
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2025-07-09 21:57:26 +02:00
Thorsten ScherlerandJesse Glick f6e81b2da4 Update src/main/js/components/dropdowns/templates.js
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2025-07-09 21:57:03 +02:00
Thorsten Scherler 67d2100f5c [JENKINS-75834_fix] limit the functionality to a specifi reference
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2025-07-09 21:28:26 +02:00
Jan Faracik 766949614c Merge branch 'master' into improve-borders 2025-07-09 11:09:57 +01:00
Jan Faracik 5713f5a981 Update _theme.scss 2025-07-09 10:47:22 +01:00
Jan Faracik ee21e3844d Merge branch 'master' into fix-breadcrumb-config-outline 2025-07-09 10:33:52 +01:00
Jan Faracik 31b610d900 Update _core.scss 2025-07-09 10:33:39 +01:00
Jan Faracik fe5825d79d Apply suggestions, fix submenus 2025-07-09 10:28:17 +01:00
Jan Faracik 676e64a151 Merge branch 'master' into fix-breadcrumb-config-outline 2025-07-09 10:14:52 +01:00
Mark Waite f59a5d4536 Reduce test flakiness (#10809)
* Reduce inQueueTaskLookupByAPI flakiness

https://app.launchableinc.com/organizations/jenkins/workspaces/jenkins/data/test-paths/class%3Dhudson.model.QueueTest%23%23%23testcase%3DinQueueTaskLookupByAPI?dateFilter=90d
reports that inQueueTaskLookupByAPI has been flaky in th epast 90 days.
The flakiness seems to be specific to Windows and seems to be related to
the job not be in the queue quickly enough after the call toe schedule
the build.

If the job is not queued, sleep for 3 seonds to allow it time to queue.

Testing done:

Confirmed that the job queues consistently on my Linux computer, so the
sleep statement is not executed.

* Replace SCSS 1x with 1dppx to silence HTMLUnit warning

Per https://developer.mozilla.org/en-US/docs/Web/CSS/resolution , `x` is
an alias for `dppx`, so let's use `dppx` to avoid warnings from HTMLUnit.

* Reduce flakiness of ComputerStateTest#testUiForConnected

https://app.launchableinc.com/organizations/jenkins/workspaces/jenkins/data/test-paths/class%3Dhudson.cli.ComputerStateTest%23%23%23testcase%3DtestUiForConnected?dateFilter=90d
reports that there have been multiple failures of
ComputerStateTest#testUiForConnected in the last 90 days.  The failures
seem to be related to a race condition that the agent is not yet
disconnected when the state of the agent is checked.  Wait for 1 second
to allow the agent to disconnect before checking agent status.

The average time to run the test is 34 seconds.  This will increase that
average time by 1 second.  Not a significant increase compared to the
benefit of avoiding a flaky test.

* Reduce preventXssInBadgeTooltip flakes with a 2 second sleep

https://app.launchableinc.com/organizations/jenkins/workspaces/jenkins/data/test-paths/class%3Dhudson.model.RunTest%23%23%23testcase%3DpreventXssInBadgeTooltip?dateFilter=90d
shows there have been random test failures of preventXssInBadgeTooltip
in the last 90 days.

Reeduce failures by sleeping before the key assertions in order to allow
Jenkins to complete the initialization of the page.
2025-07-07 18:45:58 -06:00
Jan Faracik 13c97b7a8e Update _cards.scss 2025-07-07 14:11:01 +01:00
Jan Faracik be278eeb0a Update _cards.scss 2025-07-07 14:07:01 +01:00
Jan Faracik ed76b74177 Add border to graphs 2025-07-07 14:00:27 +01:00
Jan Faracik 08e2ec9529 Merge branch 'master' into improve-borders 2025-07-06 21:32:22 +01:00
Mark Waite 2c90505ea1 [JENKINS-75832] Support actions with Badges in the Hamburger Menu (#10791) 2025-07-06 13:49:00 -06:00
Kris Stern e38e35c2e4 Refine header, app bar, and side panel alignment (#10806) 2025-07-06 21:23:21 +08:00
James Nord 06d9b39f87 Merge branch 'master' into WIP_ACTIONS-HEADER 2025-07-05 20:37:41 +01:00
Kris Stern 319291f7c2 JENKINS-75252: Remove pointer-events:none from .jenkins-menu-dropdown-chevron (#10390) 2025-07-05 09:47:05 +08:00
Kris Stern 2ba84531e7 [JENKINS-75834] make sure only one instance of the dropdown is visible (#10786) 2025-07-05 09:42:05 +08:00
James Nord 8e9a6066fd Merge branch 'master' into WIP_ACTIONS-HEADER 2025-07-04 12:32:22 +01:00
Jan Faracik 352e321df3 Refine 2025-07-04 11:08:10 +01:00
Jan Faracik 27ff7fb7e1 Merge branch 'master' into improve-borders 2025-07-04 10:34:56 +01:00
Jan Faracik 3a06e4c7a7 Update _side-panel-tasks.scss 2025-07-04 10:21:49 +01:00
Jan Faracik 565d1bab64 Update _core.scss 2025-07-04 10:10:14 +01:00
Jan Faracik 36b86bb718 Update _side-panel-tasks.scss 2025-07-04 09:59:59 +01:00
Jan Faracik 15d219708c Merge branch 'master' into balance-ui 2025-07-04 09:59:05 +01:00
Jan Faracik 51423137c3 _Hopefully_ simplify menu show/hide logic 2025-07-02 17:06:12 +01:00
Jan Faracik 33e2c8f66f Merge branch 'master' into fix-breadcrumb-config-outline 2025-07-02 09:13:16 +01:00
James Nord 76eeaf1d22 [JENKINS-75832] Support badges in Actions in Dropdowns
This adds support for Badges from RootActions in the Hamburger Menu (but
more generically within dropdowns).
2025-07-01 19:49:18 +01:00
Thorsten Scherler 3a98005864 eslint - formating changes and fix offences
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2025-06-30 15:53:19 +02:00
Thorsten Scherler 660a0318a5 [JENKINS-75834] make sure only one instance of the dropdown is visible
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2025-06-30 14:42:48 +02:00
Thorsten Scherler a0e1e1b58c Merge branch 'master' into JENKINS-75818 2025-06-27 09:24:24 +02:00
renovate[bot] af2cb0a25f Update dependency prettier to v3.6.0 (#10771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-26 13:33:12 -07:00
Thorsten ScherlerandJames Nord c9319a7571 Update src/main/js/components/header/index.js
Co-authored-by: James Nord <jtnord@users.noreply.github.com>
2025-06-26 15:57:50 +02:00
Thorsten Scherler 802a219fc4 [JENKINS-75818] add event listener to trigger compute
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2025-06-26 14:22:23 +02:00
James Nord 4482619868 [JENKINS-75683] re-introduce actions for Jenkins with custom action.jelly
actions without a URL but a custom action.jelly where not shown
correctly in the header.

This re-introduces them and allows custom rendering of actions again (by
using an action.jelly).

adjust the task taglib so that it renders in the style of the header
when in the header.

Nested tasks work, but when expanded the original looses its tooltip.

move subtasks to the dropdown

use tasks class to fix layout

fix scss formatting
2025-06-19 14:28:40 +01:00
James Nord 8adbd0a34f remove actions-overflow 2025-06-17 11:05:50 +01:00
Jan Faracik 6a845ee27d Update _theme.scss 2025-06-10 11:35:32 +01:00
Jan Faracik e86249b155 Update _tooltips.scss 2025-06-10 11:17:44 +01:00
Jan Faracik fb7a25084c Tidy up 2025-06-10 11:16:40 +01:00
Jan Faracik d61378c612 Improve border contrast 2025-06-09 10:20:48 +01:00
Jan Faracik ea193d239e Init 2025-06-07 11:28:11 +01:00