major
minor
defect
major
minor
When removing InApp components, the components that reference the deleted component are updated.
For example, if you delete a tab, the layout reference to it in the tab bar must also be removed. In the case of the tab bar, the references are stored in a list-valued property.
For list- and map-valued properties, this can cause them to become “empty,” meaning the last entry is removed. If the root component of a tab is deleted—that is, the set of its components is “empty”—the user has no way to add content to the tab.
It is better to reset the property if the last entry is removed. This also has the advantage that the default—which is generally a placeholder component—is set, allowing the user to continue configuring it immediately.
Test
Create a tab and display, for example, a table containing all contacts. Then delete the table. The deleted view should be replaced by a placeholder component. In particular, a “+” should appear in the toolbar to allow the user to replace this view with other components.