Skip to content

Update bootstrap - #1944

Open
GilbertCherrie wants to merge 1 commit into
ManageIQ:masterfrom
GilbertCherrie:update_bootstrap
Open

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

Conversation

@GilbertCherrie

@GilbertCherrie GilbertCherrie commented Jan 20, 2025

Copy link
Copy Markdown
Member

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

GilbertCherrie commented Mar 31, 2025

Copy link
Copy Markdown
Member Author

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

@Fryguy

Fryguy commented Mar 31, 2025

Copy link
Copy Markdown
Member

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

@GilbertCherrie

GilbertCherrie commented Mar 31, 2025

Copy link
Copy Markdown
Member Author

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

Fryguy commented Mar 31, 2025

Copy link
Copy Markdown
Member

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

miq-bot commented Apr 23, 2025

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
Member Author

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

@GilbertCherrie

Copy link
Copy Markdown
Member Author

@elsamaryv please review

@Fryguy

Fryguy commented Aug 25, 2025

Copy link
Copy Markdown
Member

@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
Comment thread yarn.lock Outdated
@miq-bot miq-bot added the stale label Dec 12, 2025
@miq-bot

miq-bot commented Dec 12, 2025

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

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

@miq-bot

miq-bot commented Jan 4, 2026

Copy link
Copy Markdown
Member

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

@miq-bot miq-bot added the stale label Apr 6, 2026
@miq-bot

miq-bot commented Apr 6, 2026

Copy link
Copy Markdown
Member

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).

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