Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Update bootstrap v4.1.3#126

Open
AngelFQC wants to merge 4 commits intomozilla:masterfrom
mozillaperu:master
Open

Update bootstrap v4.1.3#126
AngelFQC wants to merge 4 commits intomozilla:masterfrom
mozillaperu:master

Conversation

@AngelFQC
Copy link

@AngelFQC AngelFQC commented Nov 3, 2018

No description provided.

Copy link
Contributor

@alanmoo alanmoo left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! This has a few too many line changes in mofo-bootstrap.scss for me to be comfortable- the comments that were there are useful when reading through the code in the future.

That being said, while this could potentially be useful for us, we've been considering deprecating this project as we're no longer building multiple sites the way we used to. We also don't have solid front-end testing in place to confirm that this won't break anything, so I'm inclined to leave things as they are. You're welcome to update mofo-bootstrap.scss to make this a bit easier to review, but I can't guarantee that we'll have the time to do it.

If you're looking for other ways to contribute to a Mozilla project, can I suggest something with the label Good first issue?

@AngelFQC
Copy link
Author

AngelFQC commented Nov 9, 2018

Hi @alanmoo
I added comments and cleaned this PR
In @mozillaperu we are using this mofo-bootstrap for our website and GH Pages https://www.mozilla.pe, so we need mofo-boostrap updated to current Boostrap version. No problem if you consider close this PR without merge 😃

Copy link
Contributor

@alanmoo alanmoo left a comment

Choose a reason for hiding this comment

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

As it is, this looks like it makes breaking changes to foundation.mozilla.org, which relies on this project. So if after the comments below are addressed it still does, this would need to be a new major version release.

// Reset and dependencies
@import '../../node_modules/bootstrap/scss/normalize';
@import '../../node_modules/bootstrap/scss/root';
@import '../../node_modules/bootstrap/scss/reboot';
Copy link
Contributor

Choose a reason for hiding this comment

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

Moving this up has the potential to significantly change the way things work, is there a reason it moved?

Copy link
Author

Choose a reason for hiding this comment

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

Is according to actual bootstrap.scss from v4.1.3

@import '../../node_modules/bootstrap/scss/variables';
@import './overrides/variables';
@import '../../node_modules/bootstrap/scss/mixins';
@import './overrides/mixins';
Copy link
Contributor

Choose a reason for hiding this comment

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

Where'd this go?

Copy link
Author

Choose a reason for hiding this comment

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

Restored and updated to current bootstrap


// Reset and dependencies
@import '../../node_modules/bootstrap/scss/normalize';
@import '../../node_modules/bootstrap/scss/root';
Copy link
Contributor

Choose a reason for hiding this comment

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

Where'd this come from, what does it do? Did bootstrap add it recently or was it something we intentionally left out previously?

Copy link
Author

Choose a reason for hiding this comment

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

Normalize was dropped into reboot, here twbs/bootstrap@4fa7749#diff-716327f6d9890462da5d6f981f62fcc6

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like reboot/root are two different things?

@import '../../node_modules/bootstrap/scss/media';
@import '../../node_modules/bootstrap/scss/list-group';
@import './overrides/list-group';
@import '../../node_modules/bootstrap/scss/responsive-embed';
Copy link
Contributor

Choose a reason for hiding this comment

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

Did Bootstrap remove this?

Copy link
Author

Choose a reason for hiding this comment

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

This is included in utilities file

Copy link
Author

@AngelFQC AngelFQC left a comment

Choose a reason for hiding this comment

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

Pull Request updated

You can view the current styles on https://mozillaperu.github.io/mofo-bootstrap/demo/

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.

2 participants