[SPARK-55753][UI] Upgrade Bootstrap from 4.6.2 to 5.3.8#54552
Open
yaooqinn wants to merge 1 commit intoapache:masterfrom
Open
[SPARK-55753][UI] Upgrade Bootstrap from 4.6.2 to 5.3.8#54552yaooqinn wants to merge 1 commit intoapache:masterfrom
yaooqinn wants to merge 1 commit intoapache:masterfrom
Conversation
Member
|
Oh, for this one, do we need to visit all web UI functions manually? |
Member
Author
cfe3bbd to
5fe6716
Compare
Upgrade the Spark Web UI from Bootstrap 4.6.2 (EOL Jan 2024) to Bootstrap 5.3.8: - Replace bootstrap.bundle.min.js and bootstrap.min.css with v5.3.8 - Replace dataTables.bootstrap4 files with dataTables.bootstrap5 - Migrate data-toggle/data-target/data-placement/data-html/data-container to data-bs-* prefix across all Scala, JS, and HTML template files - Migrate CSS classes: mr-auto→me-auto, mr-2→me-2, float-right→float-end, form-inline→d-flex, form-group→mb-3 - Update tooltip initialization to use Bootstrap 5 Tooltip constructor instead of jQuery .tooltip() plugin - Update docs/_layouts/global.html for BS5 data attributes - Migrate PagedTable and StagePage pagination to BS5 flex layout with properly sized inputs - jQuery is retained as it is still required by DataTables, dagre-d3, and custom Spark JS Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
5fe6716 to
c1ba5a5
Compare
dongjoon-hyun
approved these changes
Feb 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What changes were proposed in this pull request?
Upgrade the Spark Web UI from Bootstrap 4.6.2 (EOL Jan 2024) to Bootstrap 5.3.8:
bootstrap.bundle.min.jsandbootstrap.min.csswith v5.3.8dataTables.bootstrap4files withdataTables.bootstrap5data-toggle/data-target/data-placement/data-html/data-containertodata-bs-*prefix across all Scala, JS, and HTML template filesmr-auto→me-auto,mr-2→me-2,float-right→float-end,form-inline→d-flex,form-group→mb-3Tooltipconstructor instead of jQuery.tooltip()plugindocs/_layouts/global.htmlfor BS5 data attributesWhy are the changes needed?
Bootstrap 4.6.2 reached end-of-life in January 2024 and no longer receives security patches or bug fixes. Bootstrap 5 is the current LTS with active maintenance.
Does this PR introduce any user-facing change?
No. The UI should look and behave identically. Bootstrap 5 is visually backward-compatible with Bootstrap 4.
How was this patch tested?
core/compileandstreaming/compilesucceedUIUtilsSuite(8 tests) andStoragePageSuite(5 tests) pass/,/jobs/,/stages/,/executors/) serve correct BS5 markup with zero old BS4 attributes or CSS classesWas this patch authored or co-authored using generative AI tooling?
Yes, GitHub Copilot was used.