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

Household filtering within task view #9558

Open
ShaunKrog opened this issue Oct 18, 2024 · 3 comments
Open

Household filtering within task view #9558

ShaunKrog opened this issue Oct 18, 2024 · 3 comments
Labels
Type: Feature Add something new

Comments

@ShaunKrog
Copy link

Refers to #5886 (Make it easier to complete all tasks at a household in the same visit), which suggested a possible solution where tasks can be grouped by household so that tasks for the same household always appear next to each other.

Is your feature request related to a problem? Please describe.
The solution to issue 5886 focuses on implementing task grouping, which is certainly useful, but does not necessarily improve filtering within the task view itself. We anticipate an overload of tasks within this view, making it difficult for the CHW to effectively plan their field trip.

Describe the solution you'd like
We have down streamed the integration of a slide filter similar to the one in the reporting view in our local implementation. We have kept the user experience consistent with how the filter functions in the reporting view and have exposed the ability for the CHW to filter tasks by household. However, just to note that we have not implemented the freetext search bar, as this is currently out of scope, but this may be a useful inclusion in a future release.

  1. Include a filter icon on the task view (filter icon has been extracted from the reporting view search bar)

Image

  1. Include slide filter, allowing filter by place

Image

  1. Resulting in an overall task view that looks as follows

Image

As an introduction to myself, I am new to the CHT development environment and would very much like to contribute to the community. I have about 20 years of experience as a full-stack C# developer, focusing on system implementation in the health and social domains (across Africa). We are using CHT in South Africa (Western Cape Department of Health) and I work with Anro Swart, who is already active within this community.

We would like to see if there is any possibility of including these changes into cht-core? Looking forward to being part of the community.

@ShaunKrog ShaunKrog added the Type: Feature Add something new label Oct 18, 2024
ShaunKrog added a commit to ShaunKrog/cht-core that referenced this issue Oct 23, 2024
@n-orlowski
Copy link

Hi @ShaunKrog ! Thank you for joining the community and for your contribution, we're glad to have you 🎉

We have kept the user experience consistent with how the filter functions in the reporting view and have exposed the ability for the CHW to filter tasks by household.

Just to confirm after looking at the screenshots, did you mean filter by place?

I'm also curious to learn more about the content in the 3rd screenshot where the task details are displayed. Is this a workaround for a user journey that's not currently supported? (also assuming the task itself isn't part of this feature but please correct me if I'm wrong!)

Some quick design notes:

  • The bounding box of the current filter is actually the search input and not a button, so without the search bar it should look like:
    Image

  • The icons for the filter should be consistent with the current filter design (drop down and close icons)
    Image

  • The breadcrumbs under the Task label should include the place that is selected so the user knows what areas they are looking at in the Task view (in your screenshot it looks like it should say indawo 1 beside Krog Household); see how we show Tatiana's Facility in the reports section

  • Image

Let me know if you have any questions on this feedback and thanks again!

cc @Benmuiruri @latin-panda

@latin-panda
Copy link
Contributor

Hi @ShaunKrog, welcome to this community!

Looking at the screenshots, it seems to be in an older version of CHT. To ensure optimal functionality and maintainability, please update to the latest master version of CHT. This will allow you to incorporate the new feature and take advantage of the latest improvements.

Let us know if you have any questions!

@n-orlowski
Copy link

@ShaunKrog just following up here, do you need anything else to proceed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Add something new
Projects
None yet
Development

No branches or pull requests

3 participants