Add product pagination and enable BestBuy

Implement client-side pagination for the products grid: add PRODUCTS_PER_PAGE, currentProductPage, offset in /products requests, renderPagination(), and changeProductPage() (with smooth scroll). Reset page when filters or event filters change and render empty-state pagination. Add pagination container to the template and styles for pagination buttons and info. Also enable "bestbuy" in SITES_ENABLED in config.py and add a taskkill line to .claude/settings.local.json for closing stray python.exe processes.
This commit is contained in:
2026-03-28 16:57:03 -04:00
parent f01bde54a5
commit d33639fdc7
5 changed files with 79 additions and 3 deletions
+1
View File
@@ -110,6 +110,7 @@
<div class="products-grid" id="productsGrid">
<div class="loading">Loading products...</div>
</div>
<div id="productsPagination"></div>
</section>
<!-- Analytics Page -->