Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from bower to npm and update JS libraries #14082

Merged
merged 129 commits into from Jun 7, 2020
Merged

Conversation

diosmosis
Copy link
Member

@diosmosis diosmosis commented Feb 9, 2019

Still a WIP.

NOTE: This will require updates to premium plugins.

TODO (in other PRs most likely):

  • get tests to pass
  • update individual libraries and get tests to pass
  • BC for bower_components folder
  • run tests of premium plugins and get them to pass
  • replace other libraries in libs/ and in plugin directories

Refs #12961
Fixes #12067

@diosmosis diosmosis added Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Feb 9, 2019
@diosmosis diosmosis added this to the 3.9.0 milestone Feb 9, 2019
@diosmosis
Copy link
Member Author

@sgiehl the fix for the tooltip issue is to switch to materialize, which I haven't looked into yet. The archiving PRs are currently my focus.

@sgiehl
Copy link
Member

sgiehl commented Jun 5, 2020

@diosmosis I've tried switching to materialize tooltips. But it's a bit more work to do as I thought. We are using callbacks in some cases to determine the content of the tooltips and whether they should be shown or not. That is not supported by materialize tooltips. So we would need to change that. Also materialize uses the same jQuery wrapper for tooltips as jquery ui, so we can't use the .tooltip() method anymore or would need to use a custom jquery ui build without the tooltips...

I've now pushed a hackish solution that only fixes the issue for the datatable row actions. Might be enough for the moment, as I didn't find any other overlapping tooltip yet. Maybe we can go with this solution for now and create a follow up issue to maybe even remove jquery ui completely with a later release.

@diosmosis
Copy link
Member Author

I've now pushed a hackish solution that only fixes the issue for the datatable row actions.

If it works, this sounds good to me, whatever takes the least amount of time at this point.

diosmosis added a commit to matomo-org/plugin-AnonymousPiwikUsageMeasurement that referenced this pull request Jun 7, 2020
diosmosis added a commit to matomo-org/plugin-Bandwidth that referenced this pull request Jun 7, 2020
diosmosis added a commit to matomo-org/plugin-CustomAlerts that referenced this pull request Jun 7, 2020
diosmosis added a commit to matomo-org/plugin-CustomDimensions that referenced this pull request Jun 7, 2020
diosmosis added a commit to matomo-org/plugin-LogViewer that referenced this pull request Jun 7, 2020
diosmosis added a commit to matomo-org/plugin-MarketingCampaignsReporting that referenced this pull request Jun 7, 2020
diosmosis added a commit to matomo-org/plugin-QueuedTracking that referenced this pull request Jun 7, 2020
diosmosis added a commit to matomo-org/plugin-SecurityInfo that referenced this pull request Jun 7, 2020
diosmosis added a commit to matomo-org/plugin-TasksTimetable that referenced this pull request Jun 7, 2020
diosmosis added a commit to matomo-org/plugin-TreemapVisualization that referenced this pull request Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace Bower (and libs/) with npm
5 participants