Proposa noves funcionalitats
#DecidimRoadmap Dissenyant el Decidim entre totes
Make exports configurable
Not sure if that's feasible. Clients asked us to be able to config the fields included in the export directly form the admin.
Some were frustrated to ask to code an extended serializer everytime a field was missing from the export.
Llistat d'adhesions
Reportar contingut inapropiat
Aquest contingut no és apropiat?
7 comentaris
Conversa amb Virgile Deville
Is this something being explored already @product ?
huho seems like the @product doesn't work. Pinging @carol instead
Conversa amb Carol Romero
Hi Virgila, sorry for the delay. It seems that the notifications stopped working last Wednesday :(
Regarding this proposal, the most viable solution is to export all the fields in the database. Once downloaded, you can filter those that are not needed.
that's true @carol, it's happening to us in all decidim tenant. it might be related to the delayed job. we are looking at it too
Conversa amb Antti Hukkanen
This would be a welcomed idea. We recently implemented budgeting projects export (https://github.com/decidim/decidim/pull/7021) but the problem has been raised that some admins would like the pending votes to be included in the export. The original thinking was that they would not be relevant but for some municipalities they can be relevant considering how well the voting process has worked.
Adding ability to control what fields are included in the exported data would solve this problem. We could add the pending votes to the ProjectSerializer and then control from the export configuration what fields get included in the exported document. Currently, as stated in this proposal, this is rather cumbersome.
@virgile_deville I am thinking a bit simpler solution to this: how important do you think it would be to allow administrators to control this from the user interface? My thinking is that this would be probably quite much easier to implement if it was a programmatically available configuration option.
I would propose adding a new method for the serializers which could be used to control what gets included in the export documents. Should this be a whitelist or blacklist, I'm not sure and I'll leave that for further discussion.
It is now possible to programmatically control which fields get exported (and add extra fields) after this PR was merged:
https://github.com/decidim/decidim/pull/7484
There is still a little bit of programming needed to modify the export fields but it is at least possible.
This is great news Antti ! Thanks for letting us know.
Deixa el teu comentari
Inicia la sessió amb el teu compte o registra't per afegir el teu comentari.
Carregant els comentaris ...