elie222 / inbox-zero

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

#fix:81 Mark emails as read #83

Closed Shalom2212 closed 6 months ago

Shalom2212 commented 6 months ago

Created a mail read and unread function added a button in ActionButtons where a user can Read or Unread a mail contribute:issue #81 (1) contribute:issue #81 (2)

vercel[bot] commented 6 months ago

@Shalom2212 is attempting to deploy a commit to the Inbox Zero Team on Vercel.

A member of the Team first needs to authorize it.

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

Shalom2212 commented 6 months ago

Thanks for the PR! Needs a bit of fixing.

Left a few comments about naming, misuse of React state and useMemo.

Also the most natural place to read in an email is when a row is clicked and a user has actually read the email.

Thank you For your comments, i'll fix it

Shalom2212 commented 6 months ago

I made all the changes as you mentioned please review it, if any changes needed please comment it!! Thank you