feat: add gallery pagination, dynamic progress colors, and UX fixes

- Replace infinite scroll with page-based navigation in gallery
- Add dynamic progress color (blue→amber→red) in encyclopedia
- Fix timeline not returning to realtime when closing in archive mode
- Simplify image detail modal close button styling
- Add web-design-reviewer skill
This commit is contained in:
2026-05-24 17:08:39 +08:00
parent 09841c06a6
commit 0e063c3abb
5 changed files with 134 additions and 85 deletions
+4 -1
View File
@@ -371,11 +371,14 @@ function handleSliderPointerUp() {
sliderDragging.value = false
}
function toggleTimelineControls() {
async function toggleTimelineControls() {
timelineControlsOpen.value = !timelineControlsOpen.value
if (!timelineControlsOpen.value) {
archivePanelOpen.value = false
sliderDragging.value = false
if (mapMode.value === 'archive') {
await returnRealtime()
}
}
}