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

[B5 Migration] Add support for ES6 Modules and split core javascript into bootstrap5 and bootstrap3 versions (take 2) #33083

Merged
merged 28 commits into from
Jun 12, 2023

Conversation

biyeun
Copy link
Member

@biyeun biyeun commented Jun 8, 2023

This is a "revert" of #32907
Note that these changes have properly gone through QA on staging and signed off.

This commcare-cloud PR was key in resolving the symptoms of the issue, ensuring that no live bootstrap 3 pages were affected. I will revisit the more longterm fix for bootstrap 5 pages after I've taken a pass at writing the migration helper scripts.

Related ticket: https://dimagi-dev.atlassian.net/browse/SAAS-14253

Safety Assurance

Safety story

QA'd successfully

Automated test coverage

Yes

QA Plan

Yes

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

biyeun added 28 commits May 25, 2023 13:43
…on the bootstrap3 or 5 version and make sure use_bootstrap5 is in template context
@biyeun biyeun added QA Passed dependencies/javascript Change in javascript dependency. labels Jun 8, 2023
@biyeun biyeun requested review from a team, orangejenny and millerdev as code owners June 8, 2023 13:24
@dimagimon dimagimon added dependencies Pull requests that update a dependency file Risk: High Change affects files that have been flagged as high risk. Risk: Medium Change affects files that have been flagged as medium risk. labels Jun 8, 2023
Copy link
Contributor

@millerdev millerdev left a comment

Choose a reason for hiding this comment

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

This is a "revert" of #32907

Did you mean "redo" instead of "revert"? The first commit in that other PR looks the same as the first commit in this one, not like a reversal.

Can you point out what changed between this PR and the previous one since it's quite large?

@biyeun
Copy link
Member Author

biyeun commented Jun 8, 2023

It's more of a redo because a change was committed to HQ to build_requirejs to accommodate the changes from commcare-cloud

@biyeun
Copy link
Member Author

biyeun commented Jun 8, 2023

@millerdev the last two commits are the only differences

@biyeun biyeun merged commit 951e9d1 into master Jun 12, 2023
@biyeun biyeun deleted the bmb/b5/javascript-split branch June 12, 2023 18:21
@orangejenny orangejenny mentioned this pull request Mar 12, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies/javascript Change in javascript dependency. dependencies Pull requests that update a dependency file QA Passed Risk: High Change affects files that have been flagged as high risk. Risk: Medium Change affects files that have been flagged as medium risk.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants