Skip to content

Conversation

@lordelix
Copy link
Contributor

@lordelix lordelix 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.

@lordelix lordelix added Type:Bug 3 - To Review p2-high Escalation, on top of current planning, release blocker labels May 22, 2018
@lordelix lordelix added this to the development milestone May 22, 2018
@lordelix lordelix requested a review from PVince81 May 22, 2018 11:49
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.


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.

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

@lordelix lordelix force-pushed the move-select2-to-core branch from bcd0678 to 0863f3a Compare May 23, 2018 10:37
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

@PVince81 PVince81 merged commit c6cd4ae into master May 23, 2018
@PVince81 PVince81 deleted the move-select2-to-core branch May 23, 2018 12:37
@lordelix
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

5 participants