oncall-engine/engine/apps/slack/scenarios
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
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alertgroup_appearance.py update slack_sdk dependency to latest version (#2947) 2023-09-05 11:31:59 +02:00
declare_incident.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
distribute_alerts.py fix RBAC authz issue for Slack Alert Group actions (#3213) 2023-10-30 09:48:54 -04:00
escalation_delivery.py Shift Swap Requests in Slack + improve typing for Slack django app (#2653) 2023-07-28 15:11:38 +00:00
invited_to_channel.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
manage_responders.py Add responders improvements (#3128) 2023-10-27 12:12:07 -04:00
manual_incident.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
notification_delivery.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
notified_user_not_in_channel.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
onboarding.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
paging.py Improve performance of GET /users and GET /teams endpoints used by add responders popup (#3241) 2023-11-03 12:40:54 -04:00
profile_update.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
resolution_note.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
scenario_step.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
schedules.py Update slack schedule shift change notification (#2949) 2023-09-07 13:00:12 +00:00
shift_swap_requests.py Notify user when their shift swap request is taken (#2992) 2023-09-07 14:59:54 +00:00
slack_channel.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
slack_channel_integration.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
slack_renderer.py Shift Swap Requests in Slack + improve typing for Slack django app (#2653) 2023-07-28 15:11:38 +00:00
slack_usergroup.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
step_mixins.py Quickfix for getting alert group from slack message payload (#3195) 2023-10-25 16:32:55 +00:00