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

List, table improvements #1633

Open
tovari opened this issue Jan 23, 2025 · 2 comments
Open

List, table improvements #1633

tovari opened this issue Jan 23, 2025 · 2 comments
Assignees

Comments

@tovari
Copy link

tovari commented Jan 23, 2025

We would like to improve the usability of tables, lists by adding default sorting, sorting options, filtering options. These are specified in the following table:

Row Table Name URL What to do?
1 Active Operations https://go.ifrc.org/ Set default sorting to By descending Start date
2 All Appeals https://go.ifrc.org/appeals/all Set default sorting to By descending Start date
3 Flash Updates in the last 30 days https://go.ifrc.org/emergencies Add common filtering option for all 3 lists and the map to allow Date after, Date before, Country, Region, Disaster type
4 All Deployed Personnel https://go.ifrc.org/deployed-personnels/all Set default sorting to By descending Start date, Add filters for Deploying Party, Deployed Ro, Emergency
5 Deployed ERUs https://go.ifrc.org/surge/overview Change filter title to 'All ERU Type'
6 Key Documents https://go.ifrc.org/countries/101/ns-overview/context-and-structure Set default sorting to By descending date
7 Previous Operations https://go.ifrc.org/countries/101/profile/previous-events Set default sorting to By descending date
8 Active Operations https://go.ifrc.org/regions/0/operations Set default sorting to By descending date
9 Recent Emergencies https://go.ifrc.org/regions/0/operations Set default sorting to By descending date
     
Emergency pages    
10 Response documents https://go.ifrc.org/emergencies/5854/reports Set default sorting to By descending date of upload, Pinned documents should show on the top of the lists
11 Reports https://go.ifrc.org/emergencies/5854/reports Set default sorting to By descending date, Add Sorting option by Created at
12 Appeal Documents https://go.ifrc.org/emergencies/5854/reports Set default sorting to By descending date, add sorting option by Date

Search Result page lists will be specified in another ticket.
This is to combine all list, table requests:
#915
#998
#1002
#1282

@tovari tovari modified the milestone: February 2024 Jan 23, 2025
@tovari tovari changed the title List improvements List, tableimprovements Jan 23, 2025
@tovari tovari changed the title List, tableimprovements List, table improvements Jan 23, 2025
@szabozoltan69 szabozoltan69 self-assigned this Jan 30, 2025
@szabozoltan69
Copy link
Collaborator

szabozoltan69 commented Jan 30, 2025

This #1645 PR covers the following rows in the above table:
1, 2, 4a, 5, 6, 7, 8, 9, 10, 12 row.

4a means "the default ordering" part of that task.

Re 10: Needed go-api change of SituationReportViewset also, to be able to order by "is_pinned".
https://github.com/IFRCGo/go-api/blob/develop/api/drf_views.py#L781

@nanometrenat
Copy link
Collaborator

This is great and so exciting! Thanks for the work to collate, Dani.

User request re # 4 Deployed Personnel, may we please also add a filter for Position? (ideally also for alerts) Often sectoral people - e.g. IM - are only interested in alerts/deployments of that sector's profile. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants