Skip to content

Add Reviewers To A Repository #9

@LamboCreeper

Description

@LamboCreeper

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

image

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

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThe issue is accepted and PRs are welcomeenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions