grafana / oncall

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

Show magical shift swaps #2844

Closed Matvey-Kuk closed 1 year ago

Matvey-Kuk commented 1 year ago

What would you like to see!

I create shift swap for the time period when I'm not on-call (Thursday and Friday):

Screenshot 2023-08-21 at 16 16 24

When it's created it's invisible because there is nothing to swap:

Screenshot 2023-08-21 at 16 18 09

If I put myself on-call, shift swap request becomes visible.

Screenshot 2023-08-21 at 16 19 00

This behaviour is "Magical" which we would like to avoid. I propose to show shift swaps even if they don't have anything to swap.

Let's: 1) Call "overrides" panel a "Overrides and swaps" 2) Move "Create shift swap" to the "Overrides and swaps" panel. 3) Show full shift swaps at this panel.

Product Area

Schedules

Anything else to add?

No response

github-actions[bot] commented 1 year ago

The current version of Grafana OnCall, at the time this issue was opened, is v1.3.25. If your issue pertains to an older version of Grafana OnCall, please be sure to list it in the PR description. Thank you :smile:!

raphael-batte commented 1 year ago

We can try to visualise ranges inside Swaps and overrides block.

  1. In case user have just a empty range (for PTO for example) it will be visualised this way image

  2. If any user will take it, it will be marked by swapper name image

  3. In case shifts will be added to the period, SSRs will be created automatically. image

raphael-batte commented 1 year ago

Web/mobile UIs unified visualisation possible direction image

image

joeyorlando commented 1 year ago

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

raphael-batte commented 1 year ago

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