code4romania / monitorizare-vot-votanti-client

Aplicatie React pentru monitorizarea incidentelor din cadrul alegerilor parlamentare din 2016.
MIT License
6 stars 18 forks source link

Distinct panel to view only accepted/rejected incidents in the messages panel #64

Closed RaduCStefanescu closed 5 years ago

RaduCStefanescu commented 5 years ago

The admin user should be able to have a distinct tab or panel to see only accepted/rejected incident.

The accepted incidents should have a "Reject" button that switches the state of the object in the database. The rejected incidents should have an "Accept" button that switches the state of the object in the database.

API endpoints for retrieving the information: GET /v1/incidents/types POST /v1/incidents/{incidentId}/approve POST /v1/incidents/{incidentId}/reject

Please check the UX for additional information: https://www.figma.com/proto/DD5l64FEG0VYIcsGzPrN0CzJ/MV---platforma-publica---admin?redirected=1&scaling=min-zoom&node-id=3%3A59

RaduCStefanescu commented 5 years ago

We can close this issue, it is implemented in #79 and #80