pawarprasad123 opened a new pull request, #585:
URL: https://github.com/apache/atlas/pull/585

   
   
   ## What changes were proposed in this pull request?
   
   Entity detail relied on `relationshipAttributes.meanings`, which is empty 
when the detail API is called with `ignoreRelationships=true`. We enrich terms 
from the entity header API when appropriate, and align label/UDP behavior with 
the classic UI.
   
    Scope
   React UI (`dashboard/`)
   
   After loading detail, call `GET /v2/entity/guid/{guid}/header` when 
`relationshipAttributes.meanings` is missing/empty and the entity is not 
`AtlasGlossary*`.
   Map header term assignments to the shape expected by chips/remove-term 
(`guid`, `relationshipGuid`, etc.).
   -Labels: normalize save payload to `string[]`, allow saving an empty list to 
clear all labels, use explicit POST for `/labels`.
   -User-defined properties: omit blank keys from payload; on Cancel, reset 
form to current server values (not a single empty row only).
    
   -Classic UI (`dashboardv2/`)
   When meanings are missing on the main entity response, fetch the same entity 
header and merge meanings, then render terms and update the Backbone model.
    
    Technical notes
   Detail GET continues to use `ignoreRelationships=true` for performance; 
header GET is the lightweight term supplement.
   Optional: mention unrelated build fix if this ticket includes the whole 
branch — export `getLatestEntities` in `searchApiMethod.ts` for 
`DashboardOverview` (TypeScript compile).
    
   Acceptance criteria
   on-glossary entity with assigned terms shows terms in the header after load 
(React).
   Same behavior on classic detail page when meanings were empty on main GET.
   Glossary entity types do not show/require the terms strip in line with 
existing UX.
   Labels: add, edit, and remove all labels persist after refresh.
   -  UDP: save ignores rows with empty keys; Cancel restores the last loaded 
properties.
   
   
   ## How was this patch tested?
   Manually tested, Build passed
   <img width="1846" height="1128" alt="Screenshot from 2026-03-30 14-28-50" 
src="https://github.com/user-attachments/assets/17daa5a8-b099-410d-bd88-0297a02d661f";
 />
   <img width="1846" height="1128" alt="Screenshot from 2026-03-30 14-28-04" 
src="https://github.com/user-attachments/assets/1a80b376-3c45-4b09-8859-5cb6e81e3ae3";
 />
   <img width="1846" height="1128" alt="Screenshot from 2026-03-30 14-27-51" 
src="https://github.com/user-attachments/assets/62a7a7c7-830e-45f7-a73c-10662b7a8688";
 />
   <img width="1846" height="1128" alt="Screenshot from 2026-03-30 14-27-42" 
src="https://github.com/user-attachments/assets/e7e5bb37-d951-440b-b8ef-177351373748";
 />
   <img width="1846" height="1128" alt="Screenshot from 2026-03-30 14-27-17" 
src="https://github.com/user-attachments/assets/2c552a03-b201-4e61-8f86-47fee6b27ad7";
 />
   <img width="1846" height="1128" alt="Screenshot from 2026-03-30 14-25-05" 
src="https://github.com/user-attachments/assets/ab7e1ea4-cc84-40e6-b14f-b33eacd29dd5";
 />
   <img width="1846" height="1128" alt="Screenshot from 2026-03-30 14-24-56" 
src="https://github.com/user-attachments/assets/ffa953a7-4ef8-40c2-8b55-92e4f6d89ecc";
 />
   <img width="1846" height="1128" alt="Screenshot from 2026-03-30 15-13-54" 
src="https://github.com/user-attachments/assets/adf7a679-385f-4ea9-9a3d-b239c316fac3";
 />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to