Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tasks to environments [3] #11780

Closed
7 tasks done
bernardsilenou opened this issue Apr 3, 2023 · 5 comments · Fixed by #12433 or #12476
Closed
7 tasks done

Add tasks to environments [3] #11780

bernardsilenou opened this issue Apr 3, 2023 · 5 comments · Fixed by #12433 or #12476
Assignees
Labels
android-app Affects the Android app backend Affects the web backend environment feature A new feature to be developed (ticket type) qa-verified Issue has been tested and verified by QA ready Issue fulfills the definition of ready and can be implemented vaadin-app Affects the Vaadin application

Comments

@bernardsilenou
Copy link

bernardsilenou commented Apr 3, 2023

Feature Description

For environments, a new task context and a few new task types are required. This issue is part of the EPIC #11533 on the environmental surveillance module.

Added Value/Benefit

To manage routine activities of the env entity.

Acceptance Criteria

  • Add a new ENVIRONMENT task context, depending on the ENVIRONMENT_VIEW user right, that is connected to the ENVIRONMENT_MANAGEMENT feature type
  • Add the following task types (caption in brackets):
    • ENVIRONMENT_INVESTIGATION (Environment investigation)
    • DECONTAMINATION_DISINFECTION (Decontamination/disinfection activities)
  • Extend the scope of the SAMPLE_COLLECTION and OTHER task types to environments
  • Extend the tasks user filter to properly incorporate environment tasks
  • Add a tasks card to the right side of the environment edit form in the web app
  • Add a tasks section to the environment activity in the mobile app
  • Ensure that environment tasks are properly shown in environments and are synchronized to the mobile app if the user has access to them
@bernardsilenou bernardsilenou added the feature A new feature to be developed (ticket type) label Apr 3, 2023
@bernardsilenou
Copy link
Author

@MateStrysewske
Is the task type enums configurable per server instance for each parent entity type (event, case)?

@MateStrysewske
Copy link
Contributor

@bernardsilenou No, task types aren't configurable at all at the moment

@MateStrysewske MateStrysewske added ready Issue fulfills the definition of ready and can be implemented android-app Affects the Android app backend Affects the web backend vaadin-app Affects the Vaadin application labels Aug 3, 2023
@MateStrysewske
Copy link
Contributor

MateStrysewske commented Aug 3, 2023

@bernardsilenou You had added this image to the issue:

https://github-production-user-asset-6210df.s3.amazonaws.com/12996724/239054881-624feccd-4480-41ec-9024-69b017fa77f5.png

Is the switch at the top really needed? I feel like it should be enough to have the "Environment" task context in the filter; there's currently no way to differentiate between environment and animal tasks anyway, and differentiating between human and environment tasks is also relatively hard because were should e.g. tasks that aren't associated to any entity go?

@MateStrysewske MateStrysewske changed the title Add task to environment entity Add tasks to environments Aug 3, 2023
@markusmann-vg markusmann-vg changed the title Add tasks to environments Add tasks to environments [3] Aug 4, 2023
@bernardsilenou
Copy link
Author

bernardsilenou commented Aug 8, 2023

@MateStrysewske #11780 (comment)

  • That is right, I added it to make it similar to the sample directory, but it does not apply to the task
  • Task context will be fine to use, Thanks

@adinaflorea9
Copy link

Verified ticket on the local machine using the latest version of SORMAS from the development branch - 1.88.0-SNAPSHOT(f8568e2).

@adinaflorea9 adinaflorea9 added the qa-verified Issue has been tested and verified by QA label Aug 22, 2023
sergiupacurariu added a commit that referenced this issue Aug 30, 2023
sergiupacurariu added a commit that referenced this issue Aug 30, 2023
MateStrysewske pushed a commit that referenced this issue Aug 31, 2023
* #11780 - Add tasks to environments - add associated environment and associated travel entry to form

* #11780 - Add tasks to environments - add associated environment and associated travel entry to form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-app Affects the Android app backend Affects the web backend environment feature A new feature to be developed (ticket type) qa-verified Issue has been tested and verified by QA ready Issue fulfills the definition of ready and can be implemented vaadin-app Affects the Vaadin application
Projects
None yet
5 participants