microl44 / Julet

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

Move PrintMovies function from function.php and move it into appropriate JS file #89

Closed microl44 closed 1 month ago

microl44 commented 3 months ago

Function should be moved out of PHP file as it's too static and causes the page to crash if there's no description in the database.

Should be moved to an appropriate JavaScript file. As the information is already fetched from the database, might as well fetch from the API and load it via JavaScript instead.

Set to high priority as page is broken and relies on this functionality.

microl44 commented 2 months ago

would be a good idea to work on this asap to move as much as possible to their appropriate file. Don't really see a reason that this would ever be used outside of the movies page.

Should also make it as uniform as possible with javascript fetch requests instead of php.

@beta9889

microl44 commented 1 month ago

Completed as of pull request #129.