5
11
Fork
You've already forked tomato
1

Flag shifts without volunteers #109

Merged
edwardloveall merged 1 commit from el-flag-unoccupied-shifts into main 2026年03月09日 15:13:39 +01:00

One thing that is extremely useful to see at a glance is: does this shift need volunteers?

We only care about regular users attached to events here; that is: if a shift has both recurring and single events (very common), we only want to know if there are no users on the recurring ones. If they are removed from one instance via an absence or whatever, it should not flag. Our shift_summaries view takes care of this for us because it ignores single events in an event series.

If the shift only has a single event, it will look at those users and consider them missing if none exists.

One thing that is extremely useful to see at a glance is: does this shift need volunteers? We only care about regular users attached to events here; that is: if a shift has both recurring and single events (very common), we only want to know if there are no users on the recurring ones. If they are removed from one instance via an absence or whatever, it should not flag. Our `shift_summaries` view takes care of this for us because it ignores single events in an event series. If the shift only has a single event, it will look at those users and consider them missing if none exists.
edwardloveall force-pushed el-flag-unoccupied-shifts from 799020845c
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
to f22c9af535
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
2026年03月05日 16:28:34 +01:00
Compare
edwardloveall force-pushed el-flag-unoccupied-shifts from f22c9af535
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
to c6c3c87e2d
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
2026年03月05日 16:29:54 +01:00
Compare
edwardloveall force-pushed el-flag-unoccupied-shifts from c6c3c87e2d
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
to a391b08761
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026年03月05日 17:33:05 +01:00
Compare
edwardloveall force-pushed el-flag-unoccupied-shifts from a391b08761
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
to 061eff1879
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
2026年03月05日 18:28:07 +01:00
Compare
edwardloveall force-pushed el-flag-unoccupied-shifts from 061eff1879
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
to dcaef52955
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026年03月05日 21:59:19 +01:00
Compare
edwardloveall changed target branch from el-new-shift-index to main 2026年03月09日 15:13:24 +01:00
edwardloveall deleted branch el-flag-unoccupied-shifts 2026年03月09日 15:13:40 +01:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rootable/tomato!109
Reference in a new issue
rootable/tomato
No description provided.
Delete branch "el-flag-unoccupied-shifts"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?