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
Make People page default sort configurable (UHC mode) #4752
Comments
Adds visit count display in contacts list. Visit count display is conditioned by the same permission as displaying last visited date. Visits are counted based on the calendar month, with each month starting on either the 1st or on a configurable date. Visit counters may be color coded if a specific visit count goal configured. Adds UHC app configuration section. Adds UHC configuration with options to select default sorting contacts lists by last visited date, visit counter settings for monthly count goal and the month reset/start date. #4758 #4752
Adds visit count display in contacts list. Visit count display is conditioned by the same permission as displaying last visited date. Visits are counted based on the calendar month, with each month starting on either the 1st or on a configurable date. Visit counters may be color coded if a specific visit count goal configured. Adds UHC app configuration section. Adds UHC configuration with options to select default sorting contacts lists by last visited date, visit counter settings for monthly count goal and the month reset/start date. #4758 #4752
Adds visit count display in contacts list. Visit count display is conditioned by the same permission as displaying last visited date. Visits are counted based on the calendar month, with each month starting on either the 1st or on a configurable date. Visit counters may be color coded if a specific visit count goal configured. Adds UHC app configuration section. Adds UHC configuration with options to select default sorting contacts lists by last visited date, visit counter settings for monthly count goal and the month reset/start date. #4758 #4752
Merged into |
To enable default contact sorting to be based on last visited date, you need to configure it in
where:
|
Tested on
|
Thanks for the detailed notes! Using Dashboard to manage app settings can be problematic, so we've tried to use only |
Documentation added here: https://github.com/medic/medic-docs/blob/master/configuration/app-settings.md#optional-settings |
Right now the default sort for the People page list is always "Alphabetically'. What we'd like to do is make the default sort configurable. This way, projects that are prioritizing UHC mode can configure the list to sort "By date last visited" by default if they like.
This has nothing to do with the sort options icon or menu. Users should still be able to toggle between sorting alphabetically or by date at will.
EDIT: Gareth brought up the possibility of simply defaulting all UHC projects to sort "by date last visited". I originally thought that would be fine, but now I think we should try to make it configurable. Here's why: we are now adding in counts of visits per month as well. Although we do not currently have a sort for "By number of visits this month" I can see that coming up anytime. When it does, we probably would want to give partners the choice between setting the default sort to "By date last visited" or "By number of visits this month". Why give them a choice? Because some partners have very specific goals for number of visits per month (like Muso) while others do not.
The text was updated successfully, but these errors were encountered: