kalisio / crisis

Kalisio Crisis application
MIT License
15 stars 3 forks source link

Event automatically activated by another event activation #296

Open kazemar opened 3 years ago

kazemar commented 3 years ago

Scenario example : I have 6 sites I want to check when there is a heavy raining alert : rivers, stormwater drainage...

Tool : I want to create 6 event models (one for each site) that would be activated by an automatic or manual event (flood or heavy rain alert), so I can send my team members to this sites to get a situation report.

See also https://github.com/kalisio/kdk/issues/453 for geographic located event models

claustres commented 3 years ago

Same remark as in https://github.com/kalisio/aktnmap/issues/295.

However I think that we should work on a way to easily create a batch of events by eg selecting a layer or features in a map. But this raises potential problems like: what to do if the features are changed after the event has been created ? do you want to send all events to the same participants or will you have to select which person will be assigned to which task ? etc.

Maybe we could create something like a todo list or list of tasks assigned to different people in an event or make possible to link child events to a parent event. We still need to clarify the need and workflow to be implemented.

kazemar commented 3 years ago

However I think that we should work on a way to easily create a batch of events by eg selecting a layer or features in a map. But this raises potential problems like: what to do if the features are changed after the event has been created ?

For me, two solutions :

Case 1 When editing a layer used by an event :

Case 2 Needs to add the possibility to deactivate an event (like a draft)

do you want to send all events to the same participants or will you have to select which person will be assigned to which task ?

A page can show the list (one line for each "under" event), with checkboxes, giving the choice to assign one group/tag/member for all, or giving the possibility through a text field to select the participants.