twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
15.68k stars 1.69k forks source link

Add member (eg "invite sent" state) in members list when inviting a new member via email #6055

Open mxcrbn opened 2 months ago

mxcrbn commented 2 months ago

Current behavior

When adding members via email, a toast message confirms the action but those members don't appear anywhere, which can be confusing (on perso & even more on team level).

Desired Behavior (Core team edit)

We want to display an Invite Sent status chip on the person card for users who have been invited by email but have not yet joined.

image

Figma

Edit Félix: we also need to be able to resend a new email (or cancel invit / recreate a new one)

Bonapara commented 2 months ago

Thanks for the good feedback @mxcrbn ;)

FelixMalfait commented 1 month ago

Related: https://github.com/twentyhq/twenty/issues/5078 In the initial version of this issue we also had one expiring link per-user. We ended up with a quicker implementation but we need to move away from this(see Github edition history of above issue for initial requirements). Maybe it's worth creating a dedicated table or at least having a shared field to store that info in appTokens.