AjuntamentdeBarcelona / decidim-internal-evaluation-module

GNU Affero General Public License v3.0
0 stars 0 forks source link

Internal evaluations #6

Closed entantoencuanto closed 1 month ago

entantoencuanto commented 2 months ago

:tophat: What? Why?

This PR adds the view and the actions to manage internal evaluations in proposals.

:pushpin: Related Issues

Testing

:camera: Screenshots

:hearts: Thank you!

furilo commented 2 months ago

We have done all the issues in a single PR because they where very dependant.

entantoencuanto commented 2 months ago

Great job, @mllocs! I have reviewed the serialization part and it works perfectly

NilHomedes commented 2 months ago

Hi @entantoencuanto ! Here is my review, sorry it takes longer than expected.

New feature: Internal evaluation module

Differentiate between the proposals I have already evaluated and those pending

Allow exporting internal evaluations

Change evaluators column in admin proposals list Works fine!

entantoencuanto commented 2 months ago

Differentiate between the proposals I have already evaluated and those pending

  • [ ] As an admin, I can not filter by Evaluation. See the first AC of the issue. Given that I’m an administrator When I go to the proposals list Then I can filter by “Evaluation” > “Evaluated”, “Not evaluated”

How can an administrator differentiate between evaluated and not evaluated proposals? As a valuator, the criteria are clear, among the assigned proposals the distinction is made between those that she has evaluated and those that she has not.

But as an admin with no valuator role and no assigned proposals when do we consider that a proposal is evaluated? When the proposal has at least one evaluation? When all assigned evaluations are completed?

I have added the filter to appear if a user is valuator (and the filter affects to their evaluations) or if the user o admin selects a valuator in the corresponding filter image

NilHomedes commented 1 month ago

I have added the filter to appear if a user is valuator (and the filter affects to their evaluations) or if the user o admin selects a valuator in the corresponding filter

Oh, sorry @entantoencuanto I haven't noticed that. In that case, the need is covered. So an admin can select a valuator and, then, filter by "Evaluated", so the admin can easily see the proposals pending to evaluate that a valuator has.

entantoencuanto commented 1 month ago

Hi, @NilHomedes I have checked again the export and it seems to work with my user. ¿Which email has the user you are using to export the evaluations?

NilHomedes commented 1 month ago

Hi, @NilHomedes I have checked again the export and it seems to work with my user. ¿Which email has the user you are using to export the evaluations?

Hey @entantoencuanto, I'm not receiving it yet. I've tried with two different mails. In fact, I'm receiving the "Proposals CSV export file", but not the "Internal evaluations" file. See: Screenshot 2024-07-16 at 09-44-08 Your export proposals-2024-07-16-27836 csv is ready - nil@decidim org - Correo de Decidim

entantoencuanto commented 1 month ago

Some changes added:

NilHomedes commented 1 month ago

Hey @rxnetwalker! This is ready to review by the AM Barcelona team, feel free to assign it.

entantoencuanto commented 1 month ago

Checksums checks added

entantoencuanto commented 1 month ago

You are right, done!