Commit Graph
39 Commits
Author SHA1 Message Date
Jan Faracik 65640f3b93 Convert pluginSetupWizard.less to SCSS (#7961)
* Init

* Remove icons

* Init

* Update pluginSetupWizard.less

* Update pluginSetupWizard.less

* Update pluginSetupWizard.less

* Init

* Update yarn.lock

* Update config

* Address issues

* Tidy up

* Working build - imports bootstrap correctly

* Update .stylelintrc.js

* Update pluginSetupWizard.scss

* Update .prettierignore

* Update index.jelly

* Fix bootstrap import

* Third time is the charm
2023-05-14 22:40:34 +02:00
Jan Faracik 77878fb79a Remove fontawesome from setup wizard (#7960)
* Init

* Update pluginSetupWizard.less

* Update pluginSetupWizard.less

* Update pluginSetupWizard.less

* Fix square icons in Chrome

* Fix yarn build issue
2023-05-12 17:02:50 +02:00
Jan Faracik 95f39efa51 Revamp the sign in and register pages (#7872) 2023-05-06 14:13:56 +01:00
Jan Faracik 8b2c0409ed Migrate LESS to SCSS (#7850) 2023-04-21 08:34:41 +01:00
Basil Crow 6ca9b5ee5f Remove dependency on jenkins-js-modules (#7827)
* Remove dependency on `jenkins-js-modules`

* Remove dependency

* HtmlUnit cannot handle the spread operator
2023-04-13 23:39:52 +02:00
Jan FaracikandTim Jacomb 38d3a27528 Revamp icon legend as a modal (#7718)
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2023-03-17 13:25:07 +00:00
Jan Faracik e129c5e465 Remove config-scrollspy/config-tabbar (#7688) 2023-03-10 22:03:22 +00:00
989ef5b6d6 Add tabs to System Information page (#7373)
Co-authored-by: Alexander Brandes <brandes.alexander@web.de>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2022-12-31 16:52:25 +00:00
05ba3af38a Add search bar for top level settings in Manage Jenkins (#7314)
* Init

* Add keyboard nav

* Update search-bar.less

* Linting and add comments

* Remove dark theme colour vars (these will be moved to the dark theme plugin)

* Attempt a fix for tests failing due to JS

* Fix search bar when used in side panel (for Design Library)

* Update index.js

* Update keyboard.js

* Fix last test

* Update index.js

* Reduce vibrancy

* Fix dropdown height for Firefox

* Update index.js

* Fix linting

* Remove autofocus from search bar

* Sanitize labels in search results

* Use xmlEscape instead

Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2022-12-16 14:06:17 +00:00
42a4998045 Update the design of notifications (#7049)
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-10-19 19:18:31 +01:00
Tim Jacomb e3fdfa527e Fix all lint errors 2022-08-25 21:50:53 +01:00
b670529063 Add a keyboard shortcut to focus the global search bar (CMD + K/CTRL + K) (#6893)
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
2022-07-24 15:54:41 +01:00
Jan FaracikandTim Jacomb 4a7c9ae394 Rework "Updates" table checkbox selection controls (#6806)
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
2022-07-18 12:40:27 +01:00
dependabot[bot]andAlexander Brandes 22e387daaa Bump css-loader from 5.2.7 to 6.7.1 (#6831)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-07-12 07:45:41 -07:00
dependabot[bot]andAlexander Brandes 21cd608b44 Bump webpack from 4.46.0 to 5.73.0 (#6826)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-07-11 08:50:09 -07:00
dependabot[bot]andAlexander Brandes 03617e0b43 Bump style-loader from 1.2.1 to 2.0.0, bump mini-css-extract-plugin to 1.0.0 (#6752)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-07-08 10:36:12 -07:00
dependabot[bot]andNotMyFault 67be71eac4 Bump copy-webpack-plugin from 5.1.1 to 6.4.1 (#6797)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2022-07-08 09:52:58 -07:00
fe410274a0 [JENKINS-68282] New design for configure project page (#6485)
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-07-07 12:32:55 +01:00
Jan Faracik 5919993192 [JENKINS-68808] Exclude SVG optimisation from CSS minification 2022-06-25 08:56:16 -07:00
Jan Faracik d03760f649 Minify CSS for production releases of Jenkins (#6665) 2022-06-22 23:15:57 +01:00
Wei-Chin HuangandTim Jacomb 01b28f3fcc [JENKINS-68293] Login and signup page refresh (#5743)
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
2022-04-22 07:18:52 -07:00
Jan Faracik be6713661c Rename base-styles-v2.less to styles.less 2022-04-14 06:00:23 -07:00
Jan Faracik 51e7142d57 Remove ui-refresh-overrides.less and UI refresh toggle 2022-04-14 05:50:30 -07:00
Jan Faracik 90717ed26a Modernise the About Jenkins page (#6055) 2021-12-29 15:59:50 +00:00
3dcabc4b02 Modernise the appearance of the plugin manager (#5916)
Co-authored-by: Joseph Petersen <josephp90@gmail.com>
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2021-12-14 08:27:21 +00:00
Jan Faracik 21165955b1 Revamp build history search bar (#5692) 2021-09-27 20:27:37 +01:00
Tim Jacomb 26adaf1fc6 Remove broken upgrade wizard (#5283) 2021-02-16 08:05:08 +00:00
Félix QueirugaandGavin Mogan fa1fa7e7e1 [JENKINS-64291] Fix drag & drop issues replacing the drag & drop library (#5177)
Co-authored-by: Gavin Mogan <github@gavinmogan.com>
2021-01-22 18:57:10 +00:00
Tim Jacomb 09307ea116 JENKINS-64196 Move PluginManager available page to client side (#5051)
* Move PluginManager available to client side

* Fix in IE

* Address feedback from ux-sig demo

* Add handlebars module

* Handlebars plugin manager

* Update core/src/main/java/hudson/model/UpdateCenter.java

* Remove import

* Fix input

* Remove debug

* Use rest client

* Fix bug

* Move properties to right location

* Cleanup

* Use lodash debounce

* Revert properties change

* Fmt

* Rank exact matches at the top

* Set locale

* Spotbugs

* ignore case in nicer way

* Sorting improvements
2020-12-08 07:29:21 +00:00
Peter Jonsson 0ed584caa0 JENKINS-62473 Add source maps 2020-05-29 22:39:25 +02:00
Peter Jonsson fd6c1509d1 JENKINS-60924 Add PostCSS pre-processor (#4747) 2020-05-28 16:34:41 +01:00
673a18c637 [JENKINS 60920] header breadcrumbs CSS update (#4463)
* New styles for breadcrumbs and warnings monitor

* Adds the svgxuse polyfill for svg sprites on IE 11

* Created new styles for the page header

- Used the material icons svg sprites to deliver the icons
- Icons are rendered using a <svg> tag

* Create new base styles file and undo changes to the layout-common and style css files

* Fixes and refactor for the new UI CSS code

* Make the new header color and logo section opt-in

- The new UI can be toggled with the -Dui.enableNewUi=true flag

* Rename and refactor the page-header css

- Rename the css class namespace from .main-header to .page-header
- Page header CSS moved into a modules folder and now included on the new-base-styles.css. This is done to avoid loading a separate file everytime.
- Extracted color variables to their own file

* Updated localization for header and admin monitor

- The pageHeader template receives localization strings as props
- Missing translation for the admin monitor on the it, bg and pl locales

* Update core/src/main/resources/lib/layout/layout.jelly

Co-Authored-By: Tim Jacomb <t.jacomb@kainos.com>

* Most measurements migrated to REMs

* Code cleanup and apply new-ui toggle to the html.jelly file

* Breadcrumb fixes

- Reverts breadcrumb link styling to use nested selectors instead of the .breadcrumbs__link class. The reason is that several plugins would break.
- Shifted margins so that breadcrumbs can be fullwidth in the absence of the auto refresh link

* Implemented some fixes from the feedback received

- Removed box shadow webkit prefix
- Fixed formatting on the breadcrumbs.css and layout-commons.less files
- Renamed the new UI toggle class from _new-ui_ to _ui-refresh_
- Renamed references to the _new ui_ to _v2_

* Created jelly helper to use svg icons

* Fix: restore proper icon for the user on the header

* Fixes for Edge, IE 11 and IE 10

* Improvements on the header and breadcrumbs

- Logo v2 changed and optimized using the svgo frontend https://jakearchibald.github.io/svgomg/
- Refactored the ammonitor insertion code
- Breadcrumbs are no longer capitalized
- Classic logo link no longer stretches past the images
- Fixed classic logo link on IE11
- Updated color of the footer
- Menu items background is also changed when hovering over the menu selector
- Removed copyright notice on top of some files

* Bumped JTH version with the SVG download fix

* Update test/pom.xml

Co-Authored-By: Tim Jacomb <t.jacomb@kainos.com>

* Added a function to check boolean system properties from jelly

* Fix header links and add svg styles for legacy layout

*  Some bug fixing for the new header

- The ui-refresh changes were not properly being enabled with the boolean system property. Added explicit true check on the jelly templates.
- Added an explicit width for the ui-refresh logo because it would mess with the layout

* Update core/src/main/java/hudson/Functions.java

Co-Authored-By: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>

* Do not check the system property on every page render

Co-authored-by: Tim Jacomb <t.jacomb@kainos.com>
Co-authored-by: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-02-20 16:57:47 +00:00
Félix Queiruga d1b833deb6 Adds .eslintignore file and changes the way eslint is run 2020-01-22 17:54:12 +01:00
Félix Queiruga 296d38b350 Moved the font copying to webpack
- It was previously done using cli, which could fail on windows
- Added plugin to clean up webpack build folder
- Cleaup on the package.json
2020-01-13 13:28:09 +01:00
Félix Queiruga 430f780719 Spacing and comment fixes 2020-01-10 13:11:44 +01:00
Félix Queiruga 6251151fff Separates vendor scripts 2020-01-09 18:32:32 +01:00
Félix Queiruga f88d1f8771 Migrates all JS code to webpack
- moves the fonts back to the war/src/main/webapp/css folder
2020-01-09 18:32:31 +01:00
Félix Queiruga 7f6bd4dde1 add pluginsetupwizard.less to webpack 2020-01-09 18:32:31 +01:00
Félix Queiruga ff4b561211 set up webpack 2020-01-09 18:32:31 +01:00