Prasad P. Pawar created ATLAS-5191:
--------------------------------------
Summary: Atlas UI: Normalize Bootstrap button loading text handling
Key: ATLAS-5191
URL: https://issues.apache.org/jira/browse/ATLAS-5191
Project: Atlas
Issue Type: Bug
Components: atlas-webui
Affects Versions: 3.0.0
Reporter: Prasad P. Pawar
Assignee: Prasad P. Pawar
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)