Commit Graph
32 Commits
Author SHA1 Message Date
Adrien Lecharpentier c1c982ac38 Update handlebars minimum version 2021-03-30 11:16:13 +02: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
Félix Queiruga ebc6b5f0e0 [JENKINS-64504] stuck plugin manager buttons (#5137)
- Uses the window.requestAnimationFrame to throttle callback calls through the raf polyfill
2020-12-23 17:02:20 +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
StefanSpiekerandTim Jacomb 2cbc92f89a Added script for fixing stylelint and applied it once (#5092)
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
2020-12-01 08:03:21 +00:00
StefanSpieker 26b57aad7d Moved stylelint dependency to devDependencies (#5069) 2020-11-23 09:55:21 +00:00
Félix Queiruga 98ab2025e4 Upgrade jQuery to 3.5.x (#4929) 2020-11-09 20:19:07 +00:00
Tim Jacomb 9ac18faaa4 Configure test reporter for javascript tests 2020-10-25 20:38:53 +00:00
Félix Queiruga 1ea6a37de9 Update build-time frontend dependencies (#4744)
- Only update the ones that do not require a nodejs version bump
2020-06-06 00:00:54 +02:00
dcde10b4f6 Add CSS variables - prerequisite for Dark mode (#4752)
* JENKINS-60924 Add PostCSS pre-processor

* Add alpha support for CSS variables

* Yui theming and side panel fixes

* More overrides

* Revert "More overrides"

This reverts commit a9b9310937.

* Add manage styles

* Tweak buttons

* Fix IE 11

* Review comments

* Standardize dark link variables

* Rename variables to BEM-like status

* Renames background variables to bg

* Rename last bg variable

* Update war/src/main/less/abstracts/colors.less

Co-authored-by: Félix Queiruga <felix.queiruga@gmail.com>

* Mostly complete add job screen

* Fix configure job, help, preview text

* Fix typo

* Rename to border-radius

* Update core/src/main/resources/lib/layout/breadcrumbs.css

Co-authored-by: Esther Álvarez Feijoo <5547479+EstherAF@users.noreply.github.com>

* Plugin manager fixes

* Typo fix

* Fix secretTextarea

* Fix admin monitor pop out

* Fix autocomplete on addJob

* Fix CLI dark mode

* Plugin manager categories themeable

Co-authored-by: Peter Jonsson <95jonpet@gmail.com>
Co-authored-by: Félix Queiruga <fqueiruga@cloudbees.com>
Co-authored-by: Félix Queiruga <felix.queiruga@gmail.com>
Co-authored-by: Esther Álvarez Feijoo <5547479+EstherAF@users.noreply.github.com>
2020-05-31 07:22:54 +01:00
Peter Jonsson fd6c1509d1 JENKINS-60924 Add PostCSS pre-processor (#4747) 2020-05-28 16:34:41 +01: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 b58ea61223 Add development instructions and bump the node versions 2020-01-21 18:27:03 +01:00
Félix Queiruga d4addbbd99 Enables linting for JS and LESS files
- Uses eslint for JS and stylelint for LESS
- Uses default configs
- Default severity set to warn to avoid breaking current builds
2020-01-21 16:48:26 +01:00
Félix Queiruga c2e8ac13d4 Adds a reporter because jest will output messages to stderr 2020-01-17 12:56:48 +01:00
Félix Queiruga b52bd327d5 Migrates unit tests to Jest
- Jest was chosen because it's the most feature-complete one
- Fixes tests so that they would work with the new JS modules
- Removed the gulpfile unused test dependencies
- Enabled tests in maven
2020-01-17 12:54:16 +01:00
Félix Queiruga 965dbafd63 Adds browserslist config (defaults + ie11) 2020-01-13 16:49:18 +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 6107891cca Removes gulp, js-builder and other unused packages 2020-01-10 12:53:34 +01:00
Félix Queiruga cb4ea8d6e7 Adds source build to maven and adds a yarn start command 2020-01-09 18:32:32 +01:00
Félix Queiruga 17f575b450 Uses the fonts just once. They are copied to the webapp/css folder on build time 2020-01-09 18:32:31 +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
Manuel Recena 2001154a3a [JENKINS-34438] - Activate JSHint through js-builder (#2367) 2016-05-28 13:13:43 +04:00
Manuel Recena 606794a46f [JENKINS-34628] - Bundle "Font Awesome" and "Google Fints: Roboto" dependencies to prevent failures in the offline mode (#2318)
* [JENKINS-34628] Remove dependencies with external static resources

* [JENKINS-34628] License files were added

* [JENKINS-34628] Added references in the About page
2016-05-15 15:58:01 +02:00
Manuel Recena d7852479fc [JENKINS-34629] jenkins-ui (NPM module) is private, used only internally (#2316) 2016-05-09 16:32:52 +02:00
recena f523a0ee23 [JENKINS-34438] Activate JSHint during the build process 2016-04-25 19:55:06 +02:00
tfennelly 465edd83a9 Make jquery-ext.js more unit test friendly 2016-01-21 17:25:48 +00:00
tfennelly e5cbc94dae Optional configuration tabs on job configurations 2016-01-21 17:25:47 +00:00
tfennelly 036a8e94ed [FIX JENKINS-9598] Add plugin selection wizard on first launch
Also ... unbundling of plugins from Jenkins core.
2016-01-20 10:54:32 +00:00
Nicolas De Loof 0be0940d82 grunt profile to run grunt for web resource optimization 2013-07-04 12:23:52 +02:00