[wip] Implement photos loading and make everything dynamic

- Handle what happens when we click on Load more photos (detect if can load next or if reached the end)
- Show the current and total amount of photos (WIP as it apparently can't be filtered for aggregated)
- See filtered photos from URL when coming directly
- Disable button when all photos has been seen
- Show message if location doesn't exist
This commit is contained in:
2021-10-09 18:59:38 +02:00
parent 5e790ad68c
commit fd150e252c
4 changed files with 180 additions and 53 deletions

View File

@@ -1,8 +1,10 @@
# Options
VITE_LIMIT_TIME=2 * 7 * 24 * 60 * 60 * 1000
VITE_PREVIEW_COUNT=4
VITE_GRID_AMOUNT=21
VITE_GRID_INCREMENT=21
VITE_GRID_AMOUNT=22
VITE_GRID_INCREMENT=22
VITE_LIST_AMOUNT=10
VITE_LIST_INCREMENT=10
# API related
# VITE_API_URL_DEV="http://192.168.1.19:8055"