manga-tracker icon indicating copy to clipboard operation
manga-tracker copied to clipboard

Dashboard 2.0 // Only load table data when requested

Open DakuTree opened this issue 7 years ago • 1 comments

Currently when a user goes to the dashboard page, we grab absolutely everything the user is following and load it on the page. The users main category is shown, and the other categories are hidden by default.

Preferably we'd only load the users main category, and if the user tries to load another category we'd then grab the data via AJAX.
Only problem with this is that we'd need to parse all the data via JS which would require a bit of work.

Edit: Further idea for this would be to change would be to auto-pull new updates to the users list.

DakuTree avatar Aug 20 '17 16:08 DakuTree

Is this currently being served by a PHP model? I'm thinking we could have the PHP generate a semi-blank page. We could then load the data with an AJAX request using the API key. Should the data be served via a JSON or should we just have the request regenerate the tables?

Vesnyx avatar Sep 07 '17 01:09 Vesnyx