IFRCGo / go-web-app

GO Web application! GO is a Red Cross Red Crescent platform to connect information on emergency needs with the right response.
https://go.ifrc.org
MIT License
8 stars 1 forks source link

[Usability] Appeal documents sortable on emergency pages #1282

Open nanometrenat opened 3 months ago

nanometrenat commented 3 months ago

Hi there, at the start of an Appeal there will be only a couple of documents so sort order doesn't matter and I can just eyeball them.

However for larger appeals there are multiple pages of documents.

For some reason these days they are shown in ascending date order (was that a deliberate choice???) so to get to the most recent document for e.g. Ukraine response I have to click through "next page" several times. When I first load the page I can't even see if there IS a new doc since last I looked.

Usability requests:

Thanks!

@mariam-yu

samshara commented 3 months ago

@nanometrenat , Thanks for putting up the issue.

  1. We can sort the Appeal documents by the relevant fields. This will be a relatively small fix.
  2. The filter/search functionality by relevant fields needs some work.
  3. I agree, we should show the latest documents first.

These usability issues are not only in the Appeals documents but also in most of the tables we have in the system. I believe we can identify the areas for improvement and work on them as a feature.

nanometrenat commented 3 weeks ago

Similarly for https://go.ifrc.org/deployed-personnels/all - I'm not clear why @toffehoff shows first when most people would want to see by most recent descending (either start date desc or id desc). I note there was previously https://github.com/IFRCGo/go-api/issues/2036 for ordering of alerts but not sure what was decided/considered re deployments

Am wondering if any of the ordering issues are partly sorted with @szabozoltan69 's fix for https://github.com/IFRCGo/go-web-app/issues/1395 ?

And/or whether fixing this one also fixes https://github.com/IFRCGo/go-web-app/issues/998 ?

nanometrenat commented 3 weeks ago

Also xref https://github.com/IFRCGo/go-frontend/issues/2838 as it is to do with ordering (although not to do with first load ordering)