The screenshot shows a tab label "Data (2)" with a document icon - the user wants to remove the count in parentheses from the tab labels.
Removed the count ({selectedObjects.length}) from the Data tab label in the incremental migration review page. The tab now simply displays "Data" instead of "Data (2)".
Now I need to find the requiredByMap which has the info about which object requires this dependency. Let me also check if Tooltip is imported in both files:
I need to add the Tooltip import. Let me also check the requiredByMap to see how to get the parent object name:
Now let me add Tooltip imports and wrap the Required Dependency badges with tooltips. First, selective migration review:
Now I need to find which object requires this dependency. Let me check the requiredByMap logic and update the badge. The requiredByMap maps dependency ID to array of parent object names. Let me find and update the badge:
Now let me update the incremental review page. First add the Tooltip import:
Now update the baseline objects badge in incremental review:
Now update the non-baseline objects badge in incremental review:
Added tooltips to all "Required Dependency" badges in both Selective and Incremental Migration review pages. On hover, the tooltip displays "Required by: <Object Name(s)>" showing which parent object(s) require this dependency. Multiple parent objects are joined with commas if applicable.
There might be objects that are present in source but not present in target. Such objects cannot be migrated through incremental migration. So if such objects present in the list, it shoud be disabled for selection. And show an alert banner inside the card that "Object is not present in the target, so cannot be included in the incremental migration. To migrate, use Selective Migration" - Draft it properly..