import {browserHistory, RouteComponentProps} from 'react-router'; import styled from '@emotion/styled'; import DatePageFilter from 'sentry/components/datePageFilter'; import EnvironmentPageFilter from 'sentry/components/environmentPageFilter'; import FeedbackTable from 'sentry/components/feedback/table/feedbackTable'; import useFetchFeedbackList from 'sentry/components/feedback/useFetchFeedbackList'; import * as Layout from 'sentry/components/layouts/thirds'; import PageFilterBar from 'sentry/components/organizations/pageFilterBar'; import PageFiltersContainer from 'sentry/components/organizations/pageFilters/container'; import {PageHeadingQuestionTooltip} from 'sentry/components/pageHeadingQuestionTooltip'; import Pagination from 'sentry/components/pagination'; import ProjectPageFilter from 'sentry/components/projectPageFilter'; import SentryDocumentTitle from 'sentry/components/sentryDocumentTitle'; import {t} from 'sentry/locale'; import {space} from 'sentry/styles/space'; import type {FeedbackListQueryParams} from 'sentry/utils/feedback/types'; import useOrganization from 'sentry/utils/useOrganization'; interface Props extends RouteComponentProps<{}, {}, FeedbackListQueryParams> {} export default function FeedbackListPage({location}: Props) { const organization = useOrganization(); const {isLoading, isError, data, pageLinks} = useFetchFeedbackList({}, {}); return ( {t('Feedback v2')} { browserHistory.push({ pathname: path, query: {...searchQuery, cursor}, }); }} /> ); } const LayoutGap = styled('div')` display: grid; gap: ${space(2)}; `; const PaginationNoMargin = styled(Pagination)` margin: 0; `;