Commit Graph
1718 Commits
Author SHA1 Message Date
Tim Jacomb da4b90a034 Merge branch 'master' into experimental-details-widget 2025-02-14 18:48:06 +00:00
Vincent Latombe 0ca3211729 Reapply "[JENKINS-75174] Move existing web.xml to web-fragment.xml under core (#10185)" (#10225)
This reverts commit 6109053fa2.
2025-01-31 09:30:58 +01:00
Tim Jacomb 6109053fa2 Revert "[JENKINS-75174] Move existing web.xml to web-fragment.xml under core (#10185)" (#10225) 2025-01-31 08:18:36 +00:00
Vincent Latombe 0ce386f926 Add the new web.xml 2025-01-21 10:15:40 +01:00
Vincent Latombe 2be434750d Move existing web.xml to web-fragment.xml under core 2025-01-21 10:15:39 +01:00
Jan Faracik d6cf74cbe3 Merge branch 'master' into experimental-details-widget 2025-01-13 09:35:28 +00:00
Kris Stern 9b6bc6992f Remove YUI (#10135)
<!-- Comment:
A great PR typically begins with the line below.
Replace XXXXX with the numeric part of the issue ID you created in Jira.
Note that if you want your changes backported into LTS, you need to
create a Jira issue. See
https://www.jenkins.io/download/lts/#backporting-process for more
information.
-->

See JENKINS-75100

Now that the [disable by default of
YUI](https://github.com/jenkinsci/jenkins/pull/10045) has been released
for ~1 month with no complaints its time to start thinking about
removing YUI itself.

We're passed the baseline cut-off for the next LTS which was what
@MarkEWaite requested that I wait for before removing YUI fully

What I've left:
* I've removed CSS where I think its safe but I haven't removed all
mentions of `yui`.
* `l:yui` I've changed it to do nothing but its used in a few
unmaintained plugins, I could remove this, thoughts?
* There's a few TODOs that say they could be cleaned up after yui was
removed for the component, but hasn't been done yet

ATH passed:
https://github.com/jenkinsci/acceptance-test-harness/pull/1884
Bom: https://github.com/jenkinsci/bom/pull/4176

<!-- Comment:
If the issue is not fully described in Jira, add more information here
(justification, pull request links, etc.).

 * We do not require Jira issues for minor improvements.
* Bug fixes should have a Jira issue to facilitate the backporting
process.
 * Major new features should have a Jira issue.
-->

### Testing done

Clicked around a number of pages and didn't see anything wrong.

<!-- Comment:
Provide a clear description of how this change was tested.
At minimum this should include proof that a computer has executed the
changed lines.
Ideally this should include an automated test or an explanation as to
why this change has no tests.
Note that automated test coverage is less than complete, so a successful
PR build does not necessarily imply that a computer has executed the
changed lines.
If automated test coverage does not exist for the lines you are
changing, you must describe the scenario(s) in which you manually tested
the change.
For frontend changes, include screenshots of the relevant page(s) before
and after the change.
For refactoring and code cleanup changes, exercise the code before and
after the change and verify the behavior remains the same.
-->

### Proposed changelog entries

- Remove the Yahoo! User Interface library

<!-- Comment:
The changelog entry should be in the imperative mood; e.g., write "do
this"/"return that" rather than "does this"/"returns that".
For examples, see: https://www.jenkins.io/changelog/

Do not include the Jira issue in the changelog entry.
Include the Jira issue in the description of the pull request so that
the changelog generator can find it and include it in the generated
changelog.

You may add multiple changelog entries if applicable by adding a new
entry to the list, e.g.
- First changelog entry
- Second changelog entry
-->

### Proposed upgrade guidelines

N/A

<!-- Comment:
Leave the proposed upgrade guidelines in the pull request with the "N/A"
value if no upgrade guidelines are needed.
The changelog generator relies on the presence of the upgrade guidelines
section as part of its data extraction process.
-->

```[tasklist]
### Submitter checklist
- [ ] The Jira issue, if it exists, is well-described.
- [ ] The changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developers, depending on the change) and are in the imperative mood (see [examples](https://github.com/jenkins-infra/jenkins.io/blob/master/content/_data/changelogs/weekly.yml)). Fill in the **Proposed upgrade guidelines** section only if there are breaking changes or changes that may require extra steps from users during upgrade.
- [ ] There is automated testing or an explanation as to why this change has no tests.
- [ ] New public classes, fields, and methods are annotated with `@Restricted` or have `@since TODO` Javadocs, as appropriate.
- [ ] New deprecations are annotated with `@Deprecated(since = "TODO")` or `@Deprecated(forRemoval = true, since = "TODO")`, if applicable.
- [ ] New or substantially changed JavaScript is not defined inline and does not call `eval` to ease future introduction of Content Security Policy (CSP) directives (see [documentation](https://www.jenkins.io/doc/developer/security/csp/)).
- [ ] For dependency updates, there are links to external changelogs and, if possible, full differentials.
- [ ] For new APIs and extension points, there is a link to at least one consumer.
```

### Desired reviewers

@mention

<!-- Comment:
If you need an accelerated review process by the community (e.g., for
critical bugs), mention @jenkinsci/core-pr-reviewers.
-->

Before the changes are marked as `ready-for-merge`:

```[tasklist]
### Maintainer checklist
- [ ] There are at least two (2) approvals for the pull request and no outstanding requests for change.
- [ ] Conversations in the pull request are over, or it is explicit that a reviewer is not blocking the change.
- [ ] Changelog entries in the pull request title and/or **Proposed changelog entries** are accurate, human-readable, and in the imperative mood.
- [ ] Proper changelog labels are set so that the changelog can be generated automatically.
- [ ] If the change needs additional upgrade steps from users, the `upgrade-guide-needed` label is set and there is a **Proposed upgrade guidelines** section in the pull request title (see [example](https://github.com/jenkinsci/jenkins/pull/4387)).
- [ ] If it would make sense to backport the change to LTS, a Jira issue must exist, be a _Bug_ or _Improvement_, and be labeled as `lts-candidate` to be considered (see [query](https://issues.jenkins.io/issues/?filter=12146)).
```
2025-01-12 13:27:28 +08:00
Jan Faracik 1c71f4c958 Init 2025-01-09 16:04:02 +00:00
Jan FaracikandTim Jacomb 331c7685ca Display Console Output on the build page (behind an experimental flag) (#10115)
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2025-01-09 15:27:05 +00:00
Tim Jacomb c06f1dce00 Remove YUI 2025-01-08 14:29:34 +00:00
Basil Crow 5dcb4e6d58 Fix Prettier errors (#10102) 2024-12-28 11:58:31 -08:00
Tim Jacomb ede07a543c Form checker enhancements for radio 2024-12-19 14:42:12 +00:00
87e94651ac Add icons to Command Palette (#10049)
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2024-12-16 16:27:02 +00:00
Tim Jacomb 8c9caff51d [JENKINS-73539] Disable YUI by default (#10045) 2024-12-12 21:39:25 +00:00
930c7ffe7d Overhaul search with a Command Palette (#7569)
Co-authored-by: Wadeck Follonier <Wadeck@users.noreply.github.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2024-12-09 22:19:12 +00:00
Mark Waite 9191caca73 Fix yarn lint issue 2024-10-25 15:59:26 -06:00
xndcn 1405d8b7f5 Add note about environment variable in parameter file.html (#9909) 2024-10-25 15:32:52 -06:00
Vincent Latombe d9fbb65e98 Display appropriate GUI that accurately displays offline by design (#9883) 2024-10-23 09:04:54 +01:00
5f7026dd03 [JENKINS-71728] Add CSP compatible version of FormApply#applyResponse (#8351)
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Yaroslav Afenkin <yaroslavafenkin@users.noreply.github.com>
Co-authored-by: Alexander Brandes <brandes.alexander@web.de>
Co-authored-by: Basil Crow <me@basilcrow.com>
2024-10-21 19:36:27 +01:00
Jan FaracikandTim Jacomb c34234f2c5 Refine content and appearance of the 'Edit View' screen (#9833)
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2024-10-14 09:09:20 +01:00
Basil Crow 4d2698f254 Move Webpack build to the same Maven module from which it is invoked (#9823) 2024-10-12 11:46:18 -07:00
Jan Faracik 7dfdceb473 Fix dropdowns being added multiple times to the same element (#9835) 2024-10-07 14:53:30 +01:00
Jan FaracikandTim Jacomb 68ea077ed1 Refine 'Administrative monitors' interface (#9735)
* Squashed commit of the following:

* Rename section

* Push

* Update _plugin-manager.scss

* Update _checkbox.scss

* Reset files

* Update _badges.scss

* Update _badges.scss

* Update _theme.scss

* Remove label

* Fix lint

---------

Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2024-10-02 08:45:04 -06:00
Yen Cheng Lin 9036086e29 [JENKINS-73437] Fix build history no automatic line wrapping (#9693)
* Fix build history no automatic line wrapping

* Update _job.scss
2024-10-02 08:44:36 -06:00
Daniel Beck d0c0d07bc4 [SECURITY-3451] 2024-09-25 07:59:26 +00:00
Jan FaracikandTim Jacomb 2d2adefabd Refine content and appearance of the user account screen (#9521)
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2024-09-16 13:38:47 +01:00
Jan Faracik 239ced05af Use Notice component for views lacking jobs (#9724)
* Use notice for views lacking jobs

* Update _notice.scss

* Rename text to title, use 'invokeBody' rather than description field
2024-09-15 13:28:22 -06:00
Thorsten ScherlerandJan Faracik 6a5b5f61eb [JENKINS-73695] Prevent unnecessary horizontal scrollbar in Firefox (#9695)
* [JENKINS-73695] reduce table width to prevent horizontal scrollbar in FF

Signed-off-by: Thorsten Scherler <scherler@gmail.com>

* [JENKINS-73695] use media query for ff

Signed-off-by: Thorsten Scherler <scherler@gmail.com>

* Update war/src/main/scss/components/_table.scss

Co-authored-by: Jan Faracik <43062514+janfaracik@users.noreply.github.com>

---------

Signed-off-by: Thorsten Scherler <scherler@gmail.com>
Co-authored-by: Jan Faracik <43062514+janfaracik@users.noreply.github.com>
2024-09-13 16:21:31 -06:00
Jan Faracik ce3d8c102c Update appearance of 'Jenkins is starting' pages (#9707)
* Init

* Update simple-page.scss

* Simplify

* Update simple-page.scss

* Delete loading.css

* Update some translations

* Remove some translations (still more to update)

* WIP translations - just need to confirm with friends

* Update/remove translations
2024-09-13 07:42:40 +01:00
Thorsten Scherler 1008dcb1df [JENKINS-73695] BUG: Dashboard shows white space on certain width space >900px (#9667) 2024-09-01 15:50:49 +01:00
Markus Winter fc73c2622a [JENKINS-73669] don't change unrelated checkboxes in rowSelectionCont… (#9648) 2024-08-30 14:26:10 +01:00
Markus Winter 9b3d940c9b don't use backdrop for dialogs (#9649) 2024-08-26 10:27:32 +01:00
Jan Faracik a3049771e6 [JENKINS-73330] Fix dropdowns and tooltips on HDR displays (#9654) 2024-08-26 10:27:25 +01:00
Markus Winter 83541cfb0e [JENKINS-73613] refresh buildhistory widget in all cases (#9624)
* [JENKINS-73592] refresh buildhistory widget when page gets focus

* [JENKINS-73613] refresh buildhistory in all cases

refresh the buildHistory widget instantly when the window gets focus,
e.g. after switching browser tabs but also when one was in another
application and clicks in the browser window.
When the window is visible it will update even when it has no focus,
when the window is hidden no calls to the controller will be done.

Additionally the buildHistory will be updated when it is not on the
first page. So e.g. when someone deletes a build, changes the display
name or the description or when a build is still running the page gets
updated.
2024-08-24 11:58:09 +02:00
Markus Winter de5cd41b55 [JENKINS-73668] fix styling of rowSelectionController dropdown (#9641)
* [JENKINS-73668] fix stlying of rowSelectionController dropdown

ensure there is enough gap between entries

* style it as before with smaller dropdown button

* apply prettier
2024-08-24 11:57:51 +02:00
Zbynek Konecny 94aadfcce8 Allow plugins to customize number of suggestions in autocomplete (#9616) 2024-08-21 07:46:51 +02:00
95707460d3 Use standard dropdowns for autocomplete (#9453)
* Use standard dropdowns for autocomplete

* Debounce autocompletion, limit to 10 suggestions, allow tab

* Keyboard navigation improvements

Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>

* Autocomplete: use the same width as the parent field

* Prevent browser autocomplete, do not hide on field click

* Use !==

Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>

---------

Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2024-08-14 08:27:24 +02:00
Markus WinterandKevin Guerroudj f615612a18 [JENKINS-73563] Create a jenkins-button instead of a YUI button in makeButton (#9604)
Co-authored-by: Kevin Guerroudj <91883215+Kevin-CB@users.noreply.github.com>
2024-08-12 17:26:47 -07:00
Basil Crow f773034fe2 Revert "[JENKINS-73563] create a jenkins-button instead of a yui button in makeButton" (#9602)
Revert "[JENKINS-73563] create a jenkins-button instead of a yui button in ma…"

This reverts commit b349b6be42.
2024-08-12 10:06:05 -07:00
Markus WinterandKevin Guerroudj b349b6be42 [JENKINS-73563] create a jenkins-button instead of a yui button in makeButton (#9511)
Co-authored-by: Kevin Guerroudj <91883215+Kevin-CB@users.noreply.github.com>
2024-08-10 21:53:59 +01:00
Thorsten Scherler e763a498c2 [JENKINS-73586] Fix New Item page layout if no icon is defined for an item type (#9520)
* [new_item_page_fix] show problem

Signed-off-by: Thorsten Scherler <scherler@gmail.com>

* [new_item_page_fix] fix problem

Signed-off-by: Thorsten Scherler <scherler@gmail.com>

* [new_item_page_fix] revert freestyle hack

Signed-off-by: Thorsten Scherler <scherler@gmail.com>

---------

Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2024-08-09 18:26:00 +01:00
Markus Winter 90fb0d6e5e scroll fields from added hetero-list entry into viewport (#9488)
* remove YUI from ensureVisible

replace usage of YUI with plain javascript in the ensureVisible method

The current logic seems to have no effect, so it is changed in the
following
When the element is bigger then the current viewport height, scroll so
that the element is at the top.
If the elements is smaller than the viewport height and the bottom is
outside scoll so that the bottom is at the lower end of the viewport.
Otherwise no scrolling is needed the element is already completely
inside the viewport.

* apply prettier

* remove body.scrollTop
2024-07-28 08:12:33 -06:00
Markus Winter 19d568c0e0 [JENKINS-73453] make icons in table buttons resizable (#9482)
[JENKINS-73543] make icon in buttons in tables resizable

With #9131 the jenkins-table__button was replaced at certain places with
jenkins-button. But this change caused two regressions:
- The icon size for large table was almost the same as that for medium
  tables
- The icons wrapped in jenkins-button were not resizable
- with small table the buttons overflowed the table cell

This change restores the old icon size for large tables and adds
additional css rules for jenkins-button inside tables so they are
properly resized and the padding is correct
2024-07-21 14:46:00 +02:00
Basil Crow 9526f91794 Fix lint on default branch (#9472) 2024-07-15 13:47:22 -07:00
Wadeck FollonierandTim Jacomb 6fa26d23a7 [JENKINS-69869] Categorize the user properties (#7268)
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2024-07-11 08:00:54 +01:00
Jan Faracik b27fe8876a Refine table and tabs (#9411)
* Init

* Update _table.scss
2024-06-24 11:13:42 -06:00
Jan Faracik b00c2ad2ff Align font weights and font sizes (#9393)
* Init

* Update _theme.scss

* Update _theme.scss

* Update _style.scss

* Update _tooltips.scss
2024-06-24 11:12:52 -06:00
Zbynek Konecny d041c43958 Replace usages of YUI framework by simple JS/CSS (#9395) 2024-06-18 07:34:31 +01:00
Basil Crow 500169be57 Delegate compression to servlet container (#9379)
* Delegate compression to servlet container

* Update incrementals

* Use released versions
2024-06-18 07:34:19 +01:00
Markus WinterandDaniel Beck 92ac1d8837 remove idle executors from widget (#9177)
* remove idle executors from widget

showing idle executors brings no value. They only blow up the widget.
Instead the busy/total number of executors are added behind the agent
name when the agent is online.
The executor name is kept intentionally to distinguish regular executors
from oneoffexecutors

* feedback

use an icon for oneoffexecutors (FlyweightTask), instead of using a
number for normal executors (which is also not really interesting).

When there are no agents and no builds running use the same text as when
collapsed to show that nothing is running.

* busy in widget header

* fine tuning styling

* icon-xs symbols

* show offline

* show collapsed with no executors

* fix css

* append tooltip to parent

---------

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2024-06-18 07:34:05 +01:00