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

Move select2 lib to core #31498

Merged
merged 1 commit into from
May 23, 2018
Merged

Move select2 lib to core #31498

merged 1 commit into from
May 23, 2018

Conversation

felixheidecke
Copy link
Contributor

@felixheidecke felixheidecke commented May 22, 2018

Description

Move the select2 js library from systemtags app to core for global usage.

Related Issue

Fixes: #31338

How Has This Been Tested?

Manual tests

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@felixheidecke felixheidecke added Type:Bug 3 - To Review p2-high Escalation, on top of current planning, release blocker labels May 22, 2018
@felixheidecke felixheidecke added this to the development milestone May 22, 2018
@@ -28,10 +28,6 @@
$eventDispatcher->addListener(
'OCA\Files::loadAdditionalScripts',
function () {
// FIXME: no public API for these ?
\OC_Util::addVendorScript('select2/select2');
\OC_Util::addVendorStyle('select2/select2');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where has this gone?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was already there

@codecov
Copy link

codecov bot commented May 22, 2018

Codecov Report

Merging #31498 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #31498      +/-   ##
============================================
+ Coverage     62.61%   62.61%   +<.01%     
  Complexity    18273    18273              
============================================
  Files          1147     1147              
  Lines         68628    68627       -1     
  Branches       1234     1234              
============================================
+ Hits          42970    42971       +1     
+ Misses        25297    25295       -2     
  Partials        361      361
Flag Coverage Δ Complexity Δ
#javascript 52.05% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 63.81% <100%> (ø) 18273 <0> (ø) ⬇️
Impacted Files Coverage Δ Complexity Δ
apps/systemtags/appinfo/app.php 14.63% <ø> (+0.68%) 0 <0> (ø) ⬇️
lib/private/legacy/template.php 49.68% <100%> (+0.31%) 39 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 846b08f...0863f3a. Read the comment docs.

@@ -132,6 +132,7 @@ public static function initTemplateEngine($renderAs) {

OC_Util::addScript('oc-backbone', null, true);
OC_Util::addVendorScript('core', 'backbone/backbone', true);
OC_Util::addVendorScript('core', 'select2/select2', true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you miss adding the style as well or did it magically worked for some strange reasons ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems it's already here: https://github.com/owncloud/core/pull/31498/files#diff-f7a9bb6da381ad3d1651acb5f47162a1R115

please move it down here for better readability

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks, please backport

@felixheidecke
Copy link
Contributor Author

Backport: #31581

@PVince81 PVince81 modified the milestones: development, QA Jun 13, 2018
@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3 - To Review comp:core-js p2-high Escalation, on top of current planning, release blocker Type:Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send mail notification for shared files breaks if Collaborative Tags-App is disabled
4 participants