Skip to content

Feat: Remove user list dependency from invitation flow#2155

Merged
KarinePistili merged 7 commits into
developfrom
feat/new-invite-cooperators
Jul 3, 2026
Merged

Feat: Remove user list dependency from invitation flow#2155
KarinePistili merged 7 commits into
developfrom
feat/new-invite-cooperators

Conversation

@KarinePistili

@KarinePistili KarinePistili commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

This PR replaces the user selection dropdown with an email-based invitation flow.

Changes

  • Removed the user dropdown that loaded all registered users.
  • Added an email input for inviting participants.
  • Updated the invitation flow to accept an email address instead of selecting an existing user.
  • If the invited email belongs to an existing account, an in-app invitation is created for that user.
  • If the invited email does not belong to an existing account, an invitation email is sent to encourage account creation (the complete invitation flow for new users will be implemented in a follow-up issue).

Benefits

  • Eliminates the need to read the entire users collection from Firestore.
  • Improves user privacy by no longer exposing registered users' email addresses.
  • Reduces Firestore read operations.
  • Provides a simpler and more scalable invitation workflow.

Future Work

A follow-up implementation will introduce token-based invitation links for users without an account, allowing them to register and automatically resume the invitation flow. Issue: #2156

Closes issues: #2149 and #2150

image image

@KarinePistili KarinePistili self-assigned this Jul 2, 2026
@KarinePistili KarinePistili linked an issue Jul 2, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

⚠️ PR Description Issues Detected

Please update the PR description to address these issues.

@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

@KarinePistili KarinePistili merged commit 4960628 into develop Jul 3, 2026
10 checks passed
@KarinePistili KarinePistili deleted the feat/new-invite-cooperators branch July 3, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Improve logic to load user options on cooperators [BUG] Users should not be capable of inviting themselves

1 participant