oncall-engine/engine/apps/api
Ildar Iskhakov a959912dcb
Add autoresolve switch to templates section on Integrations page (#2150)
# What this PR does
In previous version of integrations page we had autoresolve setting
<img width="1207" alt="Screenshot 2023-06-10 at 12 57 36 AM"
src="https://github.com/grafana/oncall/assets/2262529/a3b7686a-2039-40fd-af5d-959f5a477eb8">
Moving it to templates drawer. For non-alertmanager integrations with
enabled autoresolve:
<img width="1218" alt="Screenshot 2023-06-10 at 12 57 46 AM"
src="https://github.com/grafana/oncall/assets/2262529/3e91e438-9714-45e4-9aa1-a3324a2c74cd">
For non-alertmanager integrations with disabled autoresolve:
<img width="1211" alt="Screenshot 2023-06-10 at 12 58 04 AM"
src="https://github.com/grafana/oncall/assets/2262529/f43fb155-f22c-4f1b-985b-61448bd37917">
For alertmanager based integrations autoresolve template is disabled:
<img width="1223" alt="Screenshot 2023-06-10 at 12 58 22 AM"
src="https://github.com/grafana/oncall/assets/2262529/94533c6c-a8c4-4cce-8ef2-4e132cc30fe3">




## Which issue(s) this PR fixes

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-06-14 13:53:17 +08:00
..
serializers Add autoresolve switch to templates section on Integrations page (#2150) 2023-06-14 13:53:17 +08:00
tests make mobile app available to viewers (#1892) 2023-06-13 14:54:52 -04:00
throttlers Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
views Fix integrations options order (#2204) 2023-06-14 09:33:52 +08:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
errors.py Fix backend for resolution notes via mobile app (#2117) 2023-06-07 12:19:16 +00:00
permissions.py add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
response_renderers.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
urls.py Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00