oncall-engine/engine/apps/api
Joey Orlando 2cbb20601e
Improve performance of GET /users and GET /teams endpoints used by add responders popup (#3241)
# What this PR does

- Improve performance of the specific `GET /users` and `GET /teams`
calls that're made by the Add Responders dropdown in the UI
- Add `GET /team/{teamId}` internal API route (needed by Grafana
Incident team for their Add Responders changes)
- Some UI improvements to the Add Responders popup (loading state +
pre-fetch users and teams when the drawer is opened)
- Re-enable django-admin only if `settings.SILK_PROFILER_ENABLED ==
True` (need to be able to log into django admin to auth to silk routes)

Closes #3231 
Closes https://github.com/grafana/oncall-private/issues/2252

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-11-03 12:40:54 -04:00
..
serializers Improve performance of GET /users and GET /teams endpoints used by add responders popup (#3241) 2023-11-03 12:40:54 -04:00
tests Improve performance of GET /users and GET /teams endpoints used by add responders popup (#3241) 2023-11-03 12:40:54 -04:00
throttlers Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
views Improve performance of GET /users and GET /teams endpoints used by add responders popup (#3241) 2023-11-03 12:40:54 -04: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 Permissions for labels (#3173) 2023-10-23 11:03:51 +00:00
urls.py Add labels implementation for integration (#3014) 2023-10-20 07:30:11 +00:00