Import accountability results from budgeting projects
Is your feature request related to a problem? Please describe.
A normal proceeding order in a PB process is:
- Collect and work on ideas ("proposals")
- Arrange the PB voting ("projects")
- Follow-up on the progress of the projects that won ("results")
Right now we can import accepted proposals to projects.
But, we cannot import "selected" projects to results.
This is a problem for admins who prefer not to waste their time doing copy-paste work.
Describe the solution you'd like
We would like to have a similar importing feature in the accountability component as we have right now in the budgets component.
The import should consider the following:
- Copy the title and description from the project
- Map the result to the same category and scope that the project had (or the budget's scope if the project does not have a scope defined)
- Add the first "default" status to the new results
- Add a "default" progress value from the first status or zero if no statuses are available
Above, the "default" status refers to the first status ordered by their progress percentages.
Describe alternatives you've considered
Manually copy-pasting the results or creating a custom script to import the results.
We have already implemented this for our customer as a rake task:
https://github.com/City-of-Turku/decidim/blob/f122fb8da9761064e4ac6e83f44a021872b06c4e/lib/tasks/turku_accountability_tasks.rake (External link)
We would just need to create a similar UI for this in the accountability component that we currently have in the budgets component.
The core implementation also needs to check if the budgets component is installed/available and only show this feature when it is available. Similar functionality already exists e.g. for mapping the proposals to the results where we are checking whether the proposals component is available or not.
Does this issue could impact on users private data?
Mainio Tech can fund the development of this feature.
This proposal is being evaluated
List of Endorsements
Report inappropriate content
Is this content inappropriate?