[
https://issues.apache.org/jira/browse/ATLAS-5411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18117242#comment-18117242
]
ASF subversion and git services commented on ATLAS-5411:
--------------------------------------------------------
Commit 14d8b26a87a5d2399bc300d3941521f9d1075006 in atlas's branch
refs/heads/ATLAS-5411_UI_fix from Prasad Pawar
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=14d8b26a8 ]
ATLAS-5411: ATLAS-5412: ATLAS-5369: Atlas UI: React UI Audit tab show deleted
entity references with Classic UI styling, Search Button, Businessmetada
options as dropdown
> 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
>
> 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)