Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v10.2.x] Bug: Fix broken ui components when angular is disabled #78670

Merged
merged 1 commit into from Nov 28, 2023

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport 1112e90 from #78208


What is this feature?

I'm not sure if we should apply the change in this PR or wait for individual tasks to remove bootstrap usage from components. e.g #76182 I could only find this one issue so not entirely sure how widespread bootstrap usage is. 馃

This PR moves the bootstrap import from angular app to react app to resolve issues where certain components break due to missing bootstrap js when angular is disabled. We should consider this an interim solution to buy time for auditing / removing remaining bootstrap usage across the codebase without impacting users that have angular disabled in configs.

Why do we need this feature?

So angular can be disabled without causing ui issues.

Who is this feature for?

Grafana users

Which issue(s) does this PR fix?:

Fixes #76258

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

fix(frontend): move bootstrap import to app so disabling angular doesnt break ui

(cherry picked from commit 1112e90)
@jackw jackw merged commit 7281558 into v10.2.x Nov 28, 2023
22 checks passed
@jackw jackw deleted the backport-78208-to-v10.2.x branch November 28, 2023 11:03
@aangelisc aangelisc modified the milestones: 10.2.x, 10.2.3 Dec 18, 2023
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.

None yet

3 participants