Skip to content

ATLAS-5260: ATLAS UI: [UI] Detail page – terms from entity header, labels/UDP save fixes (dashboard + dashboardv2)#585

Merged
pawarprasad123 merged 1 commit intomasterfrom
ATLAS-5260
Mar 31, 2026
Merged

ATLAS-5260: ATLAS UI: [UI] Detail page – terms from entity header, labels/UDP save fixes (dashboard + dashboardv2)#585
pawarprasad123 merged 1 commit intomasterfrom
ATLAS-5260

Conversation

@pawarprasad123
Copy link
Copy Markdown
Contributor

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
Screenshot from 2026-03-30 14-28-50
Screenshot from 2026-03-30 14-28-04
Screenshot from 2026-03-30 14-27-51
Screenshot from 2026-03-30 14-27-42
Screenshot from 2026-03-30 14-27-17
Screenshot from 2026-03-30 14-25-05
Screenshot from 2026-03-30 14-24-56
Screenshot from 2026-03-30 15-13-54

…bels/UDP save fixes (dashboard + dashboardv2)
@pawarprasad123 pawarprasad123 merged commit 459281e into master Mar 31, 2026
2 checks passed
pawarprasad123 added a commit that referenced this pull request Mar 31, 2026
…bels/UDP save fixes (dashboard + dashboardv2) (#585)

( cherry picked from 459281e)
UmeshPatil-1 pushed a commit to UmeshPatil-1/atlas that referenced this pull request Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants