[ 
https://issues.apache.org/jira/browse/ATLAS-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prasad P. Pawar resolved ATLAS-5191.
------------------------------------
    Fix Version/s: 3.0.0
                   2.5.0
       Resolution: Fixed

> 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
>            Priority: Major
>              Labels: Atlas-UI
>             Fix For: 3.0.0, 2.5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to