elie222 / inbox-zero

Open source email app to reach inbox zero fast.
https://www.getinboxzero.com
GNU Affero General Public License v3.0
2.17k stars 193 forks source link

Simple mode: auto jump to next page if no emails to show #167

Open elie222 opened 3 months ago

elie222 commented 3 months ago

After removing all emails from list jump to next batch: CleanShot 2024-03-10 at 16 45 43@2x

Deeptanshu-sankhwar commented 3 months ago

I will take this up @elie222

Deeptanshu-sankhwar commented 3 months ago

{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?