|
@@ -7,7 +7,7 @@ import LoadingIndicator from 'sentry/components/loadingIndicator';
|
|
|
import QuestionTooltip from 'sentry/components/questionTooltip';
|
|
|
import TextOverflow from 'sentry/components/textOverflow';
|
|
|
import {IconCursorArrow} from 'sentry/icons';
|
|
|
-import {t} from 'sentry/locale';
|
|
|
+import {t, tct} from 'sentry/locale';
|
|
|
import {space} from 'sentry/styles/space';
|
|
|
import useDeadRageSelectors from 'sentry/utils/replays/hooks/useDeadRageSelectors';
|
|
|
import {ColorOrAlias} from 'sentry/utils/theme';
|
|
@@ -110,7 +110,13 @@ function AccordionWidget({
|
|
|
{isError || (!isLoading && filteredData.length === 0) ? (
|
|
|
<CenteredContentContainer>
|
|
|
<EmptyStateWarning>
|
|
|
- <p>{t('No results found')}</p>
|
|
|
+ <div>{t('No results found')}</div>
|
|
|
+ <EmptySubtitle>
|
|
|
+ {tct(
|
|
|
+ "Once your users start clicking around, you'll see the top selectors that were [type] clicked here.",
|
|
|
+ {type: deadOrRage}
|
|
|
+ )}
|
|
|
+ </EmptySubtitle>
|
|
|
</EmptyStateWarning>
|
|
|
</CenteredContentContainer>
|
|
|
) : (
|
|
@@ -285,4 +291,11 @@ export const RightAlignedCell = styled('div')`
|
|
|
gap: ${space(1)};
|
|
|
`;
|
|
|
|
|
|
+const EmptySubtitle = styled('div')`
|
|
|
+ font-size: ${p => p.theme.fontSizeMedium};
|
|
|
+ line-height: 1.8em;
|
|
|
+ padding-left: ${space(1)};
|
|
|
+ padding-right: ${space(1)};
|
|
|
+`;
|
|
|
+
|
|
|
export default DeadRageSelectorCards;
|