When deleting a selected item, the Common View Details flyout behavior is incorrect and inconsistent between the different layouts. Some layouts close the flyout on delete, others keep it open but do not refresh and still show details of the deleted item.
User Impact:
- Details flyout is closed and the user must take action to reopen it. This is annoying, and inconsistent with the flyout behavior during other data editing actions.
- I can attempt to "edit" the details of the already deleted item, resulting in an API error causing confusion.
Expected:
- Flyout always remains open (we persist the users choice of flyout open/closed, we should not auto-close it).
- If the layout supports it (grid), the next/previous item should be selected and displayed in flyout details
- If the layout does not support auto-selecting another item, the flyout should refresh and show null state "No Item Selected".