Skip to content

Update bootstrap#1944

Open
GilbertCherrie wants to merge 1 commit intoManageIQ:masterfrom
GilbertCherrie:update_bootstrap
Open

Update bootstrap#1944
GilbertCherrie wants to merge 1 commit intoManageIQ:masterfrom
GilbertCherrie:update_bootstrap

Conversation

@GilbertCherrie
Copy link
Member

@GilbertCherrie GilbertCherrie commented Jan 20, 2025

Update Bootstrap to 5. Also added popper.js since it is a dependency of bootstrap 5.

@Fryguy Fryguy self-assigned this Jan 22, 2025
@GilbertCherrie GilbertCherrie force-pushed the update_bootstrap branch 2 times, most recently from f773ad8 to 821eb06 Compare March 31, 2025 15:34
@GilbertCherrie GilbertCherrie requested a review from Fryguy March 31, 2025 15:35
@GilbertCherrie
Copy link
Member Author

GilbertCherrie commented Mar 31, 2025

@Fryguy I fixed the conflicts here if you can review again when you have time

@Fryguy
Copy link
Member

Fryguy commented Mar 31, 2025

Why is popper added directly. That is, won't it just come in naturally as a dependency?

@GilbertCherrie
Copy link
Member Author

GilbertCherrie commented Mar 31, 2025

Why is popper added directly. That is, won't it just come in naturally as a dependency?

When I try to run npm start without the popper package in the package.json it throws this error. I'm assuming because it's a peer dependency we need to actually declare it in the package.json.
Screenshot 2025-03-31 at 11 39 34 AM

@Fryguy
Copy link
Member

Fryguy commented Mar 31, 2025

ok, so from what I understand - the better way to declare missing peer dependencies is to use packageExtensions. This allows you to essentially force bootstrap to pull in the dependency (and we don't have to declare it as "our" dependency.

So in the .yarnrc.yml you would add something like:

packageExtensions:
  "bootstrap@*":
    dependencies:
      "popper.js": "~1.16.1"

@GilbertCherrie GilbertCherrie force-pushed the update_bootstrap branch 2 times, most recently from f1be072 to 6bbf4c1 Compare March 31, 2025 19:18
@miq-bot
Copy link
Member

miq-bot commented Apr 23, 2025

This pull request is not mergeable. Please rebase and repush.

@GilbertCherrie GilbertCherrie force-pushed the update_bootstrap branch 2 times, most recently from 5588019 to b96b2a2 Compare June 19, 2025 14:23
@GilbertCherrie
Copy link
Member Author

@Fryguy I fixed the dependency issue if you can review this again when you get a chance.

@GilbertCherrie GilbertCherrie force-pushed the update_bootstrap branch 3 times, most recently from d5a61cd to d82b19d Compare June 19, 2025 14:55
@GilbertCherrie
Copy link
Member Author

@Fryguy I think this pr is good to merge if you can review

@GilbertCherrie
Copy link
Member Author

@elsamaryv please review

@Fryguy
Copy link
Member

Fryguy commented Aug 25, 2025

@GilbertCherrie This went into conflict

@GilbertCherrie GilbertCherrie force-pushed the update_bootstrap branch 2 times, most recently from 5b58772 to fa5c938 Compare August 28, 2025 16:59
yarn.lock Outdated
Comment on lines +3270 to +3154
"bootstrap@npm:>=2.3.2, bootstrap@npm:>=3":
version: 5.3.6
resolution: "bootstrap@npm:5.3.6"
"bootstrap@npm:~5.0.0":
version: 5.0.2
resolution: "bootstrap@npm:5.0.2"
Copy link
Member

Choose a reason for hiding this comment

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

This ended up in a downgrade? Can we go to at least 5.3.6? (and by extension popperjs/core ^2.11.8, which also is showing a downgrade?)

@miq-bot miq-bot added the stale label Dec 12, 2025
@miq-bot
Copy link
Member

miq-bot commented Dec 12, 2025

This pull request has been automatically marked as stale because it has not been updated for at least 3 months.

If these changes are still valid, please remove the stale label, make any changes requested by reviewers (if any), and ensure that this issue is being looked at by the assigned/reviewer(s).

@GilbertCherrie GilbertCherrie force-pushed the update_bootstrap branch 2 times, most recently from 3cf0a1f to a0bbca0 Compare December 22, 2025 15:47
@GilbertCherrie
Copy link
Member Author

@Fryguy I updated the pr if you can take another look

@miq-bot
Copy link
Member

miq-bot commented Jan 4, 2026

Checked commit GilbertCherrie@4059a9d with ruby 3.1.7, rubocop 1.56.3, haml-lint 0.64.0, and yamllint
1 file checked, 1 offense detected

**

  • 💣 💥 🔥 🚒 - Linter/Yaml - missing config files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants