openwisp / django-ipam

The development of this project has moved to openwisp-ipam
https://github.com/openwisp/openwisp-ipam
BSD 3-Clause "New" or "Revised" License
78 stars 28 forks source link

[subnet-visualizer] Scroller should remember last page #100

Closed nemesifier closed 4 years ago

nemesifier commented 4 years ago

Use case:

Ideal behaviour: the scroller reloads the last page that was shown before the add action

Actual behaviour: first page is shown.

The code which reloads the page is: https://github.com/openwisp/django-ipam/blob/master/django_ipam/static/django-ipam/js/custom.js#L6

Maybe instead of reloading the entire page we can reload just the subnet hosts being shown at that moment, but the visualizer needs to be smart enough to reload the page which is being viewed.

CC: @pawelplsi

iharshit009 commented 4 years ago

Hi @nemesisdesign I would like to work on this issue.

atb00ker commented 4 years ago

@iharshit009 feel free to take any issue that someone is not working on, you don't need to ask for permissions for the same? :smile: