nebraska icon indicating copy to clipboard operation
nebraska copied to clipboard

Fixed count display for packages

Open anistark opened this issue 1 year ago • 1 comments

Fixes issue #599

anistark avatar Oct 02 '24 13:10 anistark

Hello @anistark Thank you for your pull request and for taking the time to work on this issue! I'm sorry that it took a long time to get back to you with a response. Your fix is much appreciated! :)

After the first look at #599 I thought that the issue is only with the paginator itself which cannot display the total count as your solution also suggests, however I would challenge this understanding:

There seems to be two problems with the state management of the packages. The List component doesn't react to the creation of a new package properly even if pagination is not required.

Here you can see that I have posted a new package. However, the 8th package gets displayed only after a browser refresh, however the 8th package should already be fetched according to the network tab:

Screenshot 2025-02-20 112054

Would you like to check out why this might happen? I don't know if that' the case, but it might have an impact on the implementation of your fix as well.

ervcz avatar Feb 20 '25 09:02 ervcz

Since there's too many changes to the project in the due time, it's getting difficult to rebase properly. Will reopen in a fresh PR.

anistark avatar Sep 23 '25 18:09 anistark