minutis-redcall / redcall

RedCall is a messaging tool used by the French Red Cross. It aims to ask for thousands of volunteer's availability, gather volunteer's answers, and fill up ambulances or assistance units with the required people and skills when major incidents occur.
https://redcall.minutis.croix-rouge.fr
MIT License
22 stars 6 forks source link

Trigger : see responses: use select all invert selection instead of select all #352

Open dev-mansonthomas opened 4 years ago

dev-mansonthomas commented 4 years ago

In a trigger, people have sent various response, with the possiblity A1, A2, A3, A4 (with multiple response possible)

Lets say I want to sent an email to people answering A1, A2, A3. I click A1, select all : ok I click A2, select all: Not OK: people already selected from A1 are deselected, and the rest is selected. Expected behaviour : select all

ex: https://redcall.minutis.croix-rouge.fr/campaign/544 After select all A1, I click on A2 and get this screen : image

Then I click on A2, and select all, and I get this : image

while all voluteers should be selected (and the select all switch should be on)

dev-mansonthomas commented 4 years ago

Also, when I select people from A1, goes to A2, select more people, go to A3 select more people.

It should make a union of the selection, the current behaviour is weird some are kept, some are unselected

dev-mansonthomas commented 4 years ago

On this particular case, I've no other choice than going through the 159 answer and select all responses that include A1 to A6