Closed simonw closed 4 weeks ago
Pasted the codebase into a Claude Project
files-to-prompt pillarpointstewards/**/*.py pillarpointstewards/**/*.html -c | pbcopy
And prompted:
Implement a feature where team admins can add/remove team members from shifts. It should be at the bottom of the shift page. It should include a select box with all of the members of that specific team and an Add to shift button, plus a list of current members each with a Remove button. It should submit back to the shift page which will make that change and then redirect the user to that page again
https://gist.github.com/simonw/f75a8c54e0e43306b1a3dd8363051dea
I started with that and then tweaked it a bit, including adding code to update ShiftChange records and to display those on the shift page.
At the moment volunteers have to add/remove themselves.