inbox-zero
inbox-zero copied to clipboard
Simple mode: auto jump to next page if no emails to show
After removing all emails from list jump to next batch:
I will take this up @elie222
{props.messages.filter( (m) => !toHandleLater[m.id] && !unsubscribed.find((unsub) => unsub.id === m.id), ).length === 0 && <Celebration message="All emails handled!" />}
As per I understand from the logic @elie222 , I can see that we are showing a celebration container as soon as all the emails of a particular section are tackled. Shall we show the celebration section, or jump to the next page automatically? Or first show the celebration section with a short timeout and then automatically jump to the next page?