Utopian V2 task: Add collaborators to a project

Words
172
Reading
1 min
Listen
Play
8y

smilingvoid_utopian.jpg

Repository

https://github.com/utopian-io/v2.utopian.io/pull/197

New Features

  • What feature(s) did you add?
    This Pull Request answers this task.
    The aim is to add collaborators to a project with a roles array. This will apparently allow the owners to delegate some power to users without having them linked to the github repository.

  • How did you implement it?
    This development impacted 3 packages:

  • i18n
    I added the english translation strings related to the task.
    Code link
    Here is an extract:

  • client
    I added the quasar fields that handles the collaborators attribute
    Code link
    Here is an extract:

    image.png

  • api
    I added the modification logic to the existing code as well as updating the tests
    Code link
    Tests code link

Here is an extract:

bonus: I added exclusion rules because it doesn't make sense that an owner can be a collaborator and vice versa.

The final result:

GitHub Account

https://github.com/smilingvoid

My feeling about this task

I enjoy more and more using quasar! I'm a React developer, that's my current job but vuejs is clearly growing on me.

Utopian V2 task: Add collaborators to a project | Ecency