A small but useful improvement to DEV that I'm happy to share!
I came across an issue raised by @francistrdev about accepting or declining organization invitations directly from the notifications page. I liked the idea, so I decided to pick it up and work on it.
And now, the PR has been merged! πΈ
So, what's changed?
Previously, when someone invited you to join their DEV organization, you had to find the invitation email and open its link to accept or decline it.
Now, you can do both directly from your DEV notifications page.
When you receive an organization invitation, you'll see it on your notifications page with two options:
- Accept: Join the organization.
- Decline: Turn down the invitation.
That's it! No need to open your email or look for the invitation link just to respond.
The notification also updates after you accept, so you can see that you've joined the organization.
A little about the work
I worked on this across different parts of the Forem codebase, including organization memberships, notifications, background jobs, authorization, and tests.
There were also some review comments and improvements along the way, which helped make the implementation better.
Thanks to @francistrdev for bringing up the idea, and to everyone who reviewed the PR and helped get it merged. β€οΈ
Here are the links if you'd like to take a look:
- Original issue: https://github.com/forem/forem/issues/24733
- Merged PR: https://github.com/forem/forem/pull/24744
It's always nice to work on something that removes a little friction from a platform we use every day.
One less reason to check your email! π
Top comments (14)
Thanks for your work @hanzla. I have been waiting for this feature in a while because I didn't really like the options of accepting invites. Decided to make an issue about it and saw you worked on it! Thanks for implementing this! :D
Congrats @hanzla ! π Funny thing: I got my Necoz invite just a couple of days ago and accepted it right from the notifications page, without even knowing it was a brand new feature. So I can confirm it works great! πΈπ Thanks to you and @francistrdev for the idea!
π Thanks πΈπ
Congrats on getting the PR merged, Hanzla! I always found accepting organization invites to be a bit of a process with all the steps involved, so having this directly in the notifications makes it so much easier! Such a cool little improvement. And thanks to @francistrdev for raising this in the first place π
P.S. The banner is so cool π
Thanks ππ chatgpt can create thr banner like this now π
that one was in my mind too, thanks for picking it up and implementing it Hanzla!β¨
Yes, I really liked FransicTrDEV's idea, so I worked on implementing it. Thanks! β¨
This is a really nice improvement! πΈπ
Being able to accept or decline organization invitations directly from notifications removes a small but annoying bit of friction.
Nice contribution! ππ
It's a small change, but I think these little improvements can make the overall experience much better! β€οΈ THANKSSS
I like it!! Thanks @hanzla bro and @francistrdev broππ€β€οΈ
: )
That is amazing. Thank you so much for this. I hate having to scroll for hours through github and google emails to find the invitation emails. Thank you, thank you .
Yeah β Thanks πΈπ
Great job, Hanzla! You nailed it.π What parts did you find tricky while working on this?π