Currently, users can add product items while the 'Accepted' or 'Rejected' tabs are open, but these added products are only visible in the 'All' tab. This can lead to confusion, especially when there are no items in the 'Accepted' or 'Rejected' tabs. When a user adds an item while these tabs are open, an empty state is visible, and users have to switch to the 'All' tab to locate the newly added item.
Expected Enhancement:
The 'Add' button should be disabled when either the 'Accepted' or 'Rejected' tab is open. This will prevent users from adding items while viewing tabs where the items won't be immediately visible.
Description:
Currently, users can add product items while the 'Accepted' or 'Rejected' tabs are open, but these added products are only visible in the 'All' tab. This can lead to confusion, especially when there are no items in the 'Accepted' or 'Rejected' tabs. When a user adds an item while these tabs are open, an empty state is visible, and users have to switch to the 'All' tab to locate the newly added item.
Expected Enhancement:
The 'Add' button should be disabled when either the 'Accepted' or 'Rejected' tab is open. This will prevent users from adding items while viewing tabs where the items won't be immediately visible.