Skip to content

Upgrade Bootstrap to v5#811

Open
dswarbrick wants to merge 1 commit intoprometheus:masterfrom
dswarbrick:bootstrap5
Open

Upgrade Bootstrap to v5#811
dswarbrick wants to merge 1 commit intoprometheus:masterfrom
dswarbrick:bootstrap5

Conversation

@dswarbrick
Copy link
Copy Markdown

Replace deprecated Bootstrap v4 library with v5.

Closes: #687

Closes: prometheus#687

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
@dswarbrick
Copy link
Copy Markdown
Author

dswarbrick commented Mar 31, 2026

@beorn7 This is still using the up/down caret icons from the bootstrap4-glyphicons set. I wasn't sure if we also want to replace them with something modern. We could possibly ditch them altogether if we use the accordion component, which seems to have its own up/down caret toggle icons.

Also, we're still depending on jQuery for the XHR stuff and a bit of DOM manipulation in functions.js. Since Bootstrap itself no longer depends on jQuery, perhaps we should also try to ween this project off it too.

@beorn7
Copy link
Copy Markdown
Member

beorn7 commented Mar 31, 2026

I don't have strong feelings here.

But this should be reviewed/decided by the new maintainers @jan--f and @machine424 .

@beorn7
Copy link
Copy Markdown
Member

beorn7 commented Mar 31, 2026

And thanks for doing this work.

@beorn7 beorn7 requested review from jan--f and machine424 March 31, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Bootstrap to v5

2 participants