Skip to content

Conversation

@pawarprasad123
Copy link
Contributor

What changes were proposed in this pull request?

We need to standardize how the Bootstrap button “loading text” state is handled across Atlas UIs to avoid unexpected HTML rendering in button labels.

Scope:

dashboardv2 and dashboardv3 use Bootstrap 3.4.1 and load bootstrap.min.js via RequireJS.
Ensure the button setState path sanitizes data--text values before use.
Proposed change:
Add a small patch that overrides Bootstrap’s button setState to treat data-
-text values as plain text.

Apply the same patch in:

dashboardv3/public/js/main.js
dashboardv3/public/js/migration.js
dashboardv2 already has this patch in public/js/main.js and public/js/migration.js.

Notes:

No UI change expected; only ensures consistent text handling.
Works with existing Bootstrap 3.4.1 dependency.

How was this patch tested?

Manually
image
image

@pawarprasad123 pawarprasad123 changed the title Atlas UI: Normalize Bootstrap button loading text handling ATLAS-5191: Atlas UI: Normalize Bootstrap button loading text handling Jan 22, 2026
@pawarprasad123 pawarprasad123 merged commit b92063b into master Jan 22, 2026
2 checks passed
pawarprasad123 added a commit that referenced this pull request Jan 22, 2026
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.

2 participants