-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Blocked by #8
Description
After a user has imported a repository they need to be able to invite reviewers. This can be achieved by adding the Firebase IDs of the given reviewers to the reviewers array on the relevant repository's database entry.
We currently do not have a way to search for users, as a MVP, simply use IDs from the users collection rather than usernames. This can be revisited later.
This should take place on the repositories/import URL, after Next has been clicked when importing a repository.
Collection: repositories
Document ID: The ID of the given repository
Document Data:
{
reviewers: String[]; // Add the given IDs to this array.
}UI Wireframe
When a user is added from the search input, display them below. Display an X to remove them. Update the actual database entry's array on click of Import to save on writes.
User Story
As a user
I want to invite people to review my code
So that they can leave feedback for me