diff --git a/static/app/routes.tsx b/static/app/routes.tsx index d0d59eb8b6079..0d9c3c0f3cdd6 100644 --- a/static/app/routes.tsx +++ b/static/app/routes.tsx @@ -1164,6 +1164,20 @@ function buildRoutes() { import('sentry/views/alerts/list/incidents'))} /> + + import('sentry/views/alerts/escalationPolicies/escalationPolicyList') + )} + /> + + + import('sentry/views/alerts/triageSchedules/triageSchedules') + )} + /> + + + + + + + WIP by Michael + + + + ); +} + +export default EscalationPolicyList; diff --git a/static/app/views/alerts/list/header.tsx b/static/app/views/alerts/list/header.tsx index 2a2c8539f45bf..c17ea86ea652a 100644 --- a/static/app/views/alerts/list/header.tsx +++ b/static/app/views/alerts/list/header.tsx @@ -15,7 +15,7 @@ import useOrganization from 'sentry/utils/useOrganization'; import usePageFilters from 'sentry/utils/usePageFilters'; type Props = { - activeTab: 'stream' | 'rules'; + activeTab: 'stream' | 'rules' | 'policies' | 'schedules'; router: InjectedRouter; }; @@ -86,6 +86,18 @@ function AlertHeader({router, activeTab}: Props) { {t('History')} +
  • + + {t('Escalation Policies')} + +
  • +
  • + + {t('Schedule')} + +
  • ); diff --git a/static/app/views/alerts/triageSchedules/triageSchedules.tsx b/static/app/views/alerts/triageSchedules/triageSchedules.tsx new file mode 100644 index 0000000000000..5ac8544b9b89d --- /dev/null +++ b/static/app/views/alerts/triageSchedules/triageSchedules.tsx @@ -0,0 +1,31 @@ +import {Fragment} from 'react'; + +import * as Layout from 'sentry/components/layouts/thirds'; +import PageFiltersContainer from 'sentry/components/organizations/pageFilters/container'; +import SentryDocumentTitle from 'sentry/components/sentryDocumentTitle'; +import {t} from 'sentry/locale'; +import useOrganization from 'sentry/utils/useOrganization'; +import useRouter from 'sentry/utils/useRouter'; +import AlertHeader from 'sentry/views/alerts/list/header'; + +function TriageSchedulePage() { + const router = useRouter(); + const organization = useOrganization(); + + return ( + + + + + + + + Add your content to the schedules page here! + + + + + ); +} + +export default TriageSchedulePage;