Singulars2021 / tender

Spreading the love
2 stars 0 forks source link

Implement action buttons in AnimalCard.vue #50

Open omiras opened 3 years ago

omiras commented 3 years ago

We would like to allow the user to perform some actions in each animal:

Denunciar

Implement a new view with a new component to display a form to allow user:

  1. The action in the Vuex must create a new document in the 'reports' collection (firebaseConfig.js)
  2. This document must have this information:
    • idAnimal reported
    • idUser who reported the animal
    • report option
    • comments
  3. Same information must be updated in the app's state trough a mutation

/report/:idAnimal

Contactar

omiras commented 3 years ago

Will hold "Contactar" requirement until chat is implemented or not.