Commit e76af8e
Fix deleted bookmarked images remaining visible in grid view due to browser caching (#188)
* Initial plan
* Fix deleted images not removed from grid view by reordering events
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
* Add grid position preservation when deleting images
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
* Fix code review issues: handle edge case and remove duplicate property
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
* Make edge case handling more explicit for empty album
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
* Add debug logging and concurrent reset guard to diagnose issue
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
* Add more detailed debug logging for slide removal and loading
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
* Add cache-busting to thumbnails after deletion to prevent stale images
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
* Remove debug logging now that issue is resolved
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>1 parent ef018ce commit e76af8e
4 files changed
Lines changed: 466 additions & 10 deletions
File tree
- photomap/frontend/static/javascript
- tests/frontend
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
540 | 539 | | |
541 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
542 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
543 | 550 | | |
544 | 551 | | |
545 | 552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
222 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
| |||
361 | 367 | | |
362 | 368 | | |
363 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
364 | 377 | | |
365 | 378 | | |
366 | 379 | | |
| |||
393 | 406 | | |
394 | 407 | | |
395 | 408 | | |
| 409 | + | |
396 | 410 | | |
397 | 411 | | |
398 | 412 | | |
| |||
617 | 631 | | |
618 | 632 | | |
619 | 633 | | |
620 | | - | |
| 634 | + | |
621 | 635 | | |
622 | 636 | | |
623 | 637 | | |
| |||
643 | 657 | | |
644 | 658 | | |
645 | 659 | | |
646 | | - | |
| 660 | + | |
647 | 661 | | |
648 | 662 | | |
649 | 663 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
248 | 269 | | |
249 | 270 | | |
250 | 271 | | |
| |||
0 commit comments