grafana / oncall

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

Web-based calendar polishing collection for v1 #532

Closed Matvey-Kuk closed 1 year ago

Matvey-Kuk commented 2 years ago

Logical blocks: https://github.com/grafana/oncall/issues/531

Matvey-Kuk commented 2 years ago

@raphael-batte 's comments from #525:

raphael-batte commented 2 years ago
raphael-batte commented 2 years ago
vadimkerr commented 2 years ago
mderynck commented 1 year ago

Screenshot from 2022-09-23 12-30-50

raphael-batte commented 1 year ago
raphael-batte commented 1 year ago

Schedules list:

Schedule detailed page:

Matvey-Kuk commented 1 year ago

Hey team, I decided to do a pretty diligent "final check". There is a chance that some of points mentioned here are not actual bugs. Please ignore them in this case:

Tested in ops.grafana.net, r36-v1.0.50, chrome:

https://user-images.githubusercontent.com/3284841/199861595-8e8cdfa7-5097-4ef3-b12e-cb8d841fc192.mov

I think it's a frontend & backend bug. Frontend shouldn't lock after 500's. Backend obviously shouldn't give us 500's :)

https://user-images.githubusercontent.com/3284841/199862402-6afbd3df-918b-48ea-8ea0-7fe6ff0cde32.mov

https://user-images.githubusercontent.com/3284841/199862733-8a5cb83b-fb80-4fe5-9583-293dd9b5f8eb.mov

Matvey-Kuk commented 1 year ago

I didn't realize we already show all schedules in "Schedules alpha" page. So #0 and #1 are not relevant. Let's just remove old schedules page.

mderynck commented 1 year ago
vadimkerr commented 1 year ago
  1. Cannot delete override which is happening now:

@maskin25 I checked the backend part, the override deletion works the same as deletion of regular shifts. When making a DELETE request, backend returns 204 and sets the until property to current time. This seems to be working fine for regular (non-override) shifts, so could you please check if there's some issue on the frontend part for overrides?

matiasb commented 1 year ago
  1. Cannot delete override which is happening now:

@maskin25 I checked the backend part, the override deletion works the same as deletion of regular shifts. When making a DELETE request, backend returns 204 and sets the until property to current time. This seems to be working fine for regular (non-override) shifts, so could you please check if there's some issue on the frontend part for overrides?

FYI, I was also checking, indeed the until is being set, but there is some change required in the backend to enforce the until in overrides shifts (no changes should be required in the frontend as far as I can tell), I have a PR in progress with the update (and some other schedule-related fixes I'm working on)

maskin25 commented 1 year ago
  1. Cannot delete override which is happening now:

@maskin25 I checked the backend part, the override deletion works the same as deletion of regular shifts. When making a DELETE request, backend returns 204 and sets the until property to current time. This seems to be working fine for regular (non-override) shifts, so could you please check if there's some issue on the frontend part for overrides?

FYI, I was also checking, indeed the until is being set, but there is some change required in the backend to enforce the until in overrides shifts (no changes should be required in the frontend as far as I can tell), I have a PR in progress with the update (and some other schedule-related fixes I'm working on)

good, let me know when you're done

raphael-batte commented 1 year ago
raphael-batte commented 1 year ago
raphael-batte commented 1 year ago
raphael-batte commented 1 year ago

User presentation visual issues

Matvey-Kuk commented 1 year ago

Closing this due to agreement not to make it a permanently open issue. @raphael-batte please file separate issues 🙏