View Issue Details

IDProjectCategoryView StatusLast Update
0008989Talermerchant backoffice SPApublic2024-09-14 01:01
Reporteravalos Assigned Tonullptrderef  
PrioritylowSeverityfeatureReproducibilityhave not tried
Status assignedResolutionopen 
Target Versionpost-1.0 
Summary0008989: Better pagination in merchant SPA
DescriptionIn the backoffice, there's a small pagination annoyance. In the inventory listing, you always can advance to the next page, but you can only return to the very first page (using the button placed at the top of the list). I suspect that this pagination model is not ideal for large inventories.
TagsNo tags attached.
Attached Files
inventory 1.png (168,155 bytes)   
inventory 1.png (168,155 bytes)   

Relationships

related to 0007948 assignednullptrderef add pagination API for inventory management 

Activities

nullptrderef

2024-08-14 15:56

developer   ~0022980

Last edited: 2024-08-14 16:00

packages/merchant-backoffice-ui/src/hooks/webhooks.ts appears to have some unusable state management for a "go back" button, as we disregard the old items (which would be needed to get the offset) when returning the new PaginatedResult object.

one option might be to use location.hash to store the offset state, allowing us to use browser navigation for this.

Issue History

Date Modified Username Field Change
2024-06-27 00:45 avalos New Issue
2024-06-27 00:45 avalos Status new => assigned
2024-06-27 00:45 avalos Assigned To => sebasjm
2024-06-27 00:45 avalos File Added: inventory 1.png
2024-07-28 21:49 Christian Grothoff Severity minor => feature
2024-07-28 22:09 Christian Grothoff Target Version => post-1.0
2024-08-12 10:10 Christian Grothoff Assigned To sebasjm => nullptrderef
2024-08-14 15:56 nullptrderef Note Added: 0022980
2024-08-14 15:56 nullptrderef Note Edited: 0022980
2024-08-14 16:00 nullptrderef Note Edited: 0022980
2024-09-14 01:01 Christian Grothoff Relationship added related to 0007948