Skip to content

Commit

Permalink
Replace jQuery.dotdotdot with pure CSS (#22115)
Browse files Browse the repository at this point in the history
* Remove jQuery.dotdotdot

* Replace jQuery.dotdotdot usage with pure css

* add changelog entry

* remove dotdotdot from tests
  • Loading branch information
sgiehl committed Apr 16, 2024
1 parent 2109156 commit d0b89d2
Show file tree
Hide file tree
Showing 23 changed files with 35 additions and 1,215 deletions.
5 changes: 0 additions & 5 deletions .github/scripts/clean-build.sh
Expand Up @@ -141,11 +141,6 @@ rm -rf node_modules/jquery-ui-dist/jquery-ui.js
rm -rf node_modules/jquery-ui-dist/jquery-ui.structure.css
rm -rf node_modules/jquery-ui-dist/jquery-ui.theme.css

rm -rf node_modules/jquery.dotdotdot/gulpfile.js
rm -rf node_modules/jquery.dotdotdot/index.html
rm -rf node_modules/jquery.dotdotdot/dotdotdot.jquery.json
rm -rf node_modules/jquery.dotdotdot/src

rm -rf node_modules/jquery.scrollto/jquery.scrollTo.js
rm -rf node_modules/jquery.scrollto/scrollTo.jquery.json
rm -rf node_modules/jquery.scrollto/changes.txt
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -85,7 +85,6 @@ docker-compose.yml
!/node_modules/jquery
!/node_modules/jquery-mousewheel
!/node_modules/jquery-ui-dist
!/node_modules/jquery.dotdotdot
!/node_modules/jquery.scrollto
!/node_modules/@materializecss/materialize
!/node_modules/mousetrap
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,12 @@ This is the Developer Changelog for Matomo platform developers. All changes in o

The Product Changelog at **[matomo.org/changelog](https://matomo.org/changelog)** lets you see more details about any Matomo release, such as the list of new guides and FAQs, security fixes, and links to all closed issues.

## Matomo 5.2.0

### Breaking Changes

* The dependency `jQuery.dotdotdot` has been removed. Please use pure CSS instead or include the library in your plugin if needed.

## Matomo 5.1.0

### Breaking Changes
Expand Down
1 change: 0 additions & 1 deletion core/AssetManager/UIAssetFetcher.php
Expand Up @@ -155,7 +155,6 @@ public function getTheme()
"libs/bower_components/materialize/dist/js/materialize.min.js" => "node_modules/@materializecss/materialize/dist/js/materialize.min.js",
"libs/bower_components/jquery.scrollTo/jquery.scrollTo.min.js" => "node_modules/jquery.scrollto/jquery.scrollTo.min.js",
"libs/bower_components/mousetrap/mousetrap.min.js" => "node_modules/mousetrap/mousetrap.min.js",
"libs/bower_components/jQuery.dotdotdot/src/js/jquery.dotdotdot.min.js" => "node_modules/jquery.dotdotdot/dist/jquery.dotdotdot.js",
"libs/bower_components/visibilityjs/lib/visibility.core.js" => "node_modules/visibilityjs/lib/visibility.core.js",
"libs/bower_components/iframe-resizer/js/iframeResizer.min.js" => "node_modules/iframe-resizer/js/iframeResizer.min.js",
"libs/bower_components/qrcode.js/qrcode.js" => "node_modules/qrcodejs2/qrcode.min.js",
Expand Down
47 changes: 0 additions & 47 deletions node_modules/jquery.dotdotdot/CONTRIBUTING.md

This file was deleted.

2 changes: 0 additions & 2 deletions node_modules/jquery.dotdotdot/LICENSE.txt

This file was deleted.

25 changes: 0 additions & 25 deletions node_modules/jquery.dotdotdot/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions node_modules/jquery.dotdotdot/bower.json

This file was deleted.

18 changes: 0 additions & 18 deletions node_modules/jquery.dotdotdot/composer.json

This file was deleted.

24 changes: 0 additions & 24 deletions node_modules/jquery.dotdotdot/dist/jquery.dotdotdot.js

This file was deleted.

51 changes: 0 additions & 51 deletions node_modules/jquery.dotdotdot/gulpfile.js

This file was deleted.

0 comments on commit d0b89d2

Please sign in to comment.