d33639fdc7
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.
22 lines
1.2 KiB
JSON
22 lines
1.2 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(pip --version)",
|
|
"Bash(echo \"Exit: $?\")",
|
|
"Bash(\"/c/Users/hocke/AppData/Roaming/uv/python/cpython-3.14.3-windows-x86_64-none/python.exe\" --version)",
|
|
"Bash(\"/c/Users/hocke/AppData/Roaming/uv/python/cpython-3.14.3-windows-x86_64-none/python.exe\" -m pip --version)",
|
|
"Bash(uv --version)",
|
|
"Bash(PYTHON=\"/c/Users/hocke/AppData/Roaming/uv/python/cpython-3.14.3-windows-x86_64-none/python.exe\" \"$PYTHON\" -m pip list)",
|
|
"Bash(uv run:*)",
|
|
"Bash(uv pip:*)",
|
|
"Bash(uv venv:*)",
|
|
"Bash(/c/Users/hocke/Documents/GitHub/pokemon-stock-checker/.venv/Scripts/python.exe -c \"import flask; print\\(''flask ok''\\)\")",
|
|
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(''''Last sync:'''', d[''''last_sync'''']\\); print\\(''''Products:'''', len\\(d[''''products'''']\\)\\); print\\(''''Sample names:''''\\); [print\\('''' -'''', p[''''name''''][:80]\\) for p in d[''''products''''][:5]]\")",
|
|
"Bash(PYTHON=\"/c/Users/hocke/Documents/GitHub/pokemon-stock-checker/.venv/Scripts/python.exe\")",
|
|
"Bash(\"$PYTHON\" -c \":*)",
|
|
"Bash(1 grep:*)",
|
|
"Bash(taskkill /F /IM python.exe)"
|
|
]
|
|
}
|
|
}
|