microl44 / Julet

Website visualizing data from my watched movies, brought forward by the jul.
3 stars 1 forks source link

Insert temporary rows to the movie table before API rows are fetched #98

Closed microl44 closed 1 month ago

microl44 commented 2 months ago

Currently the movie table is empty by default/on load, before the database rows are fetched and rows are inserted.

This means the table shrinks/expands on load and it's unwanted behaviour. Fix this by inserting temporary rows to the table, which are then replaced once the data is fetched from the API.

As javascript is loaded in after HTML, it might be best to insert the rows directly in the index.php file.

microl44 commented 1 month ago

Completed as of pull request #99.