feat: converts active download list to live component with polling

This commit is contained in:
2025-04-25 21:50:51 -05:00
parent 6b88483635
commit cd271b568b
12 changed files with 195 additions and 40 deletions

View File

@@ -19,7 +19,7 @@ final class IndexController extends AbstractController
public function index(): Response
{
return $this->render('index/index.html.twig', [
'active_downloads' => [],
'active_downloads' => $this->downloadRepository->getActivePaginated(),
'recent_downloads' => $this->downloadRepository->latest(5),
'popular_movies' => $this->tmdb->popularMovies(1, 6),
]);