luyadev / luya-module-admin

Administration base module for all LUYA admin modules
https://luya.io
MIT License
48 stars 56 forks source link

Pagination infinity loading #729

Open chemezov opened 2 years ago

chemezov commented 2 years ago

What steps will reproduce the problem?

If you has slow connection (or page loaded a bit long), and click to page 2, then immediately page 1, pages will fall into an infinity loading.

This behavior can be repeated on any other page with ngrest grid.

What is the expected result?

The page may take a long time to load, but it will eventually load. But now this process is endless.

What do you get instead? (A Screenshot can help us a lot!)

Screencast:

luya_pagination_bug

LUYA Check ouput (run this script and post the result: luyacheck.php)

Additional infos

Q A
LUYA Version dev-master
PHP Version 7.4
Platform Apache/OpenServer
Operating system Windows
dven84 commented 1 year ago

Is there an instruction for developing frontend admin panel?

nadar commented 1 year ago

hi @dven84 Thanks for asking, there are several options. I assume you where talking about how to develop admin module.

a.) You can use the luya env dev: https://github.com/luyadev/luya-env-dev b.) You can clone this repo, create a branch, and start working, but if you need to see how changes affect while running you need to it with luya-env-dev because it will start a whole luya project with the modules stored in repos/ folder so you can modify things.