OpenOversight icon indicating copy to clipboard operation
OpenOversight copied to clipboard

Improve /department/id search view for mobile

Open abandoned-prototype opened this issue 1 year ago • 1 comments

The view in mobile currently shows only the filter and one has to scroll down to see any results: image

Additionally the results are paginated and after loading each new page the user has to scroll down again to see the results: image

Two improvements I have in mind:

  1. Make the whole Filter officers collapsible and default to collapsed if the user is on mobile
  2. Implement continuous scrolling instead of the current pagination - this will require a new API I imagine. On desktop, I imagine if we can make it work with the filter on the left staying fixed and only the content on the right scrolling down, I think we should have the continuous scrolling for all devices.

abandoned-prototype avatar Jun 26 '23 00:06 abandoned-prototype

This PR does not cover all of the things asked for, but it does address some small pain points for mobile: https://github.com/lucyparsons/OpenOversight/pull/965

michplunkett avatar Jul 11 '23 19:07 michplunkett