Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

refactor: move/remove vendor styles #83

Merged

Conversation

brian-smith-tcril
Copy link
Contributor

@brian-smith-tcril brian-smith-tcril commented Oct 21, 2022

this should cover most of #72

@brian-smith-tcril brian-smith-tcril force-pushed the remove-vendor-dir branch 3 times, most recently from fd96baa to 2e89851 Compare October 21, 2022 18:19
@codecov
Copy link

codecov bot commented Oct 21, 2022

Codecov Report

Base: 49.02% // Head: 49.12% // Increases project coverage by +0.09% 🎉

Coverage data is based on head (132c28f) compared to base (1f4e714).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
+ Coverage   49.02%   49.12%   +0.09%     
==========================================
  Files          76       76              
  Lines        2005     2003       -2     
  Branches      372      372              
==========================================
+ Hits          983      984       +1     
+ Misses        988      985       -3     
  Partials       34       34              
Impacted Files Coverage Δ
src/library-authoring/empty-page/EmptyPage.jsx 100.00% <100.00%> (ø)
...brary-authoring/list-libraries/LibraryListPage.jsx 100.00% <100.00%> (ø)
...ary-authoring/library-access/LibraryAccessForm.jsx 90.90% <0.00%> (-0.27%) ⬇️
src/library-authoring/common/LicenseField.jsx 25.00% <0.00%> (ø)
.../library-authoring/common/OrganizationDropdown.jsx 95.18% <0.00%> (ø)
...ibrary-authoring/edit-block/LibraryBlockAssets.jsx 14.28% <0.00%> (ø)
...brary-authoring/course-import/CourseImportPage.jsx 86.36% <0.00%> (ø)
...ary-authoring/library-access/LibraryAccessPage.jsx 11.32% <0.00%> (ø)
...-authoring/author-library/LibraryAuthoringPage.jsx 84.92% <0.00%> (ø)
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

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

Thanks @brian-smith-tcril! What a relief to have vendor/ gone!

I only had one question, and I think we should have a separate commit for the minor change in behavior. Otherwise, I tested it and it looks great!

@@ -1,3 +1,8 @@
@mixin line-height($fontSize: 16) {
line-height: $fontSize + px;
line-height: ($fontSize/10) + rem;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just checking: is this a polyfill?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i'm not sure, it was being used in this modal so i moved it from vendor to here

i'll gladly remove it and replace the usages with a simple line-height: 28px if you'd prefer

Copy link
Contributor

@arbrandes arbrandes Oct 25, 2022

Choose a reason for hiding this comment

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

Yeah, this looks pretty archaic. Looked at the source in edx-platform, it's nearly 10 years old. Who knows what that was trying to solve for. Let's replace it!

@brian-smith-tcril brian-smith-tcril force-pushed the remove-vendor-dir branch 2 times, most recently from 3d787cc to 69219bc Compare October 25, 2022 20:38
Copy link
Contributor

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

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

Works great! Approved.

@arbrandes arbrandes merged commit 2cd6b2f into openedx-unsupported:master Oct 25, 2022
@brian-smith-tcril brian-smith-tcril deleted the remove-vendor-dir branch October 28, 2022 12:34
@arbrandes arbrandes linked an issue Oct 31, 2022 that may be closed by this pull request
4 tasks
@arbrandes arbrandes removed a link to an issue Oct 31, 2022
4 tasks
@arbrandes arbrandes linked an issue Oct 31, 2022 that may be closed by this pull request
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CSS refactor
2 participants