-
Notifications
You must be signed in to change notification settings - Fork 4
fix(deps): update dependency bootstrap to v5 #1740
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -49,7 +49,7 @@ | |
| "@sentry/browser": "^10.0.0", | ||
| "@tanstack/react-query": "^5.66.0", | ||
| "array-flat-polyfill": "^1.0.1", | ||
| "bootstrap": "^4.3.1", | ||
| "bootstrap": "^5.0.0", | ||
| "casual": "^1.6.2", | ||
| "core-js": "^3.38.1", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The Suggested FixRemove the Prompt for AI Agent |
||
| "es6-promise": "^4.2.8", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: The upgrade to Bootstrap 5 is incomplete. Old
data-toggleanddata-targetattributes were not migrated to the newdata-bs-*format, which will break UI components.Severity: CRITICAL
Suggested Fix
Globally search and replace all legacy Bootstrap 4 data attributes with their new Bootstrap 5 equivalents. For example, update
data-toggle="modal"todata-bs-toggle="modal",data-dismiss="modal"todata-bs-dismiss="modal", anddata-target="#foo"todata-bs-target="#foo". This change must be applied to all HTML templates and components that use Bootstrap's JavaScript plugins.Prompt for AI Agent
Did we get this right? 👍 / 👎 to inform future reviews.