Don't let a pin on a game already put away take the next event #50

Merged
spark merged 1 commits from task/stale-ftp-pin into main 2026-10-19 12:22:53 +01:00
Owner

Summary

  • Photos shot for a new event were still filed on yesterday's match, because the desktop kept that match as the FTP target after it was archived.
  • A photo taken during the archived match stays there. One taken afterwards follows the open event's window.
  • The desktop drops a pin that is no longer in the open list and sends the photo to the event the capture time selects.

Test plan

  • Archive a game, create a generic event whose window covers now, and send a photo from the desktop while it still names the old game. It lands on the new event.
  • A photo taken during the archived game still stays on that game.
## Summary - Photos shot for a new event were still filed on yesterday's match, because the desktop kept that match as the FTP target after it was archived. - A photo taken during the archived match stays there. One taken afterwards follows the open event's window. - The desktop drops a pin that is no longer in the open list and sends the photo to the event the capture time selects. ## Test plan - [ ] Archive a game, create a generic event whose window covers now, and send a photo from the desktop while it still names the old game. It lands on the new event. - [ ] A photo taken during the archived game still stays on that game.
spark added 1 commit 2026-10-19 12:22:32 +01:00
Don't let a pin on a game already put away take the next event.
ci / rust (pull_request) Successful in 7m16s
ci / typescript (pull_request) Failing after 9m15s
ba17292a66
The desktop was still naming yesterday's match, so photos shot today landed there after it was archived. A photo taken during that match stays; one taken afterwards follows the open event.
spark merged commit 6ac2950c3e into main 2026-10-19 12:22:53 +01:00
Author
Owner

As fotos do estágio (19/10, janela 09:41–15:41) estavam a cair no Águas Santas x Sporting, arquivado às 11:40. O FTP do computador ainda tinha esse jogo como destino.

Passei 89 fotos para o evento Estágio da Seleção Seniores Femininos - Chegada. 56 já tinham sido entregues na pasta Nextcloud FPA_2026_27_MASC.

A partir deste merge, um destino apontado a um jogo já arquivado não fica com fotos tiradas fora da janela desse jogo. Uma foto tirada durante o jogo continua nele.

As fotos do estágio (19/10, janela 09:41–15:41) estavam a cair no Águas Santas x Sporting, arquivado às 11:40. O FTP do computador ainda tinha esse jogo como destino. Passei 89 fotos para o evento Estágio da Seleção Seniores Femininos - Chegada. 56 já tinham sido entregues na pasta Nextcloud FPA_2026_27_MASC. A partir deste merge, um destino apontado a um jogo já arquivado não fica com fotos tiradas fora da janela desse jogo. Uma foto tirada durante o jogo continua nele.
Sign in to join this conversation.