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

Prasad P. Pawar updated ATLAS-5411:
-----------------------------------
    Attachment: Screenshot 2026-09-20 at 12.54.36 PM.png

> Atlas UI: React UI Audit tab show deleted entity references with Classic UI 
> styling
> -----------------------------------------------------------------------------------
>
>                 Key: ATLAS-5411
>                 URL: https://issues.apache.org/jira/browse/ATLAS-5411
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-webui
>    Affects Versions: 3.0.0
>            Reporter: Prasad P. Pawar
>            Assignee: Prasad P. Pawar
>            Priority: Major
>         Attachments: Screenshot 2026-09-20 at 12.54.36 PM.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In the React UI entity detail Audits tab, expanded audit entries that 
> reference deleted entities (e.g. deleted column families in 
> {{{}column_families{}}}) should match Classic UI behavior: deleted refs 
> display with an orange link ({{{}#bb5838{}}}) and a trash icon; active refs 
> remain blue.
> React UI currently renders all audit entity references as active (blue 
> links), even when the referenced entity has been deleted. Classic UI resolves 
> per-reference status via the entity header API and applies distinct deleted 
> styling.
> h3. Expected behavior
>  * Deleted entity refs in audit expand rows: orange text + trash icon
>  * Active entity refs: blue link, no trash icon
>  * Status resolved from {{referredEntities}} snapshot and/or {{GET 
> /entity/guid/\{guid}/header}} when status is unknown
>  * Header API failure: fall back to snapshot rendering (no crash)
> h3. Technical approach
>  * Extract {{{}AuditEntityRefLink{}}}, {{{}ExtractObject{}}}, 
> {{{}entityRefUtils{}}}, {{entityRefRenderers}}
>  * Pass {{auditDetails=\{true}}} from {{AuditTableDetails}} → 
> {{AttributeProperties}} → {{getValues}}
>  * SCSS: {{.entity-name-deleted \{ color: #bb5838 }}} in 
> {{{}table.scss{}}}{{{}{}}}
> h3. Test plan
>  * Create/update entity with relationship refs, delete a referenced entity, 
> verify Audits tab expand
>  * Compare side-by-side with Classic UI ({{{}dashboardv2{}}})
>  * Run: {{{}AuditEntityRefLink.test.tsx{}}}, 
> {{{}AuditTableDetails.test.tsx{}}}, {{AttributeProperties.test.tsx}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to