grafana / oncall

Developer-friendly incident response with brilliant Slack integration
GNU Affero General Public License v3.0
3.49k stars 288 forks source link

[Shift Swap Request] 🐛 Tracker #2857

Open joeyorlando opened 1 year ago

joeyorlando commented 1 year ago

Few minor things in the web UI that I noticed and thought were worthwhile pointing out:

### Tasks
- [ ] currently on the backend only the user who creates the SSR can delete it. The UI should not show the delete button (or should grey it out), if the user viewing the request is not the one who created it. (atm if you try and click it you get a permission related error popup, which is expected).
- [ ] if you try to create a shift swap request for a shift that happened in the past you get an error popup because the backend validates that the request is for shift(s) in the future. We should grey out the create button for past shifts
joeyorlando commented 1 year ago

Moving comment by @raphael-batte from #2844:


Collection from 21/08

- [ ] Naming Titles

  1. Shift swap request - requested state
  2. Shift swap - Accepted by user state Users
  3. Requested by
  4. Swapped by Buttons
  5. Create
  6. Accept