oncall-engine/engine/apps/slack/tests
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
..
test_scenario_steps 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
conftest.py Fix handling Slack rate limits (#2991) 2023-09-07 11:25:29 +00:00
factories.py remove SlackActionRecord model/table (#2201) 2023-06-13 10:56:06 +00:00
test_interactive_api_endpoint.py Fix slack schedule notification settings dialog (#2902) 2023-08-29 15:07:02 +00:00
test_parse_slack_usernames.py Schedules alpha fixes (#541) 2022-09-21 11:19:59 +01:00
test_populate_slack_channels.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
test_reset_slack.py Handle None role when syncing users from Grafana (#3147) 2023-10-19 17:39:08 +00:00
test_slack_client.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
test_slack_renderer.py Quickfix for getting alert group from slack message payload (#3195) 2023-10-25 16:32:55 +00:00
test_user_group.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00