Skip to content

Commit

Permalink
Tweak API logs empty state copy
Browse files Browse the repository at this point in the history
- after discussing w/ Davey
  • Loading branch information
cee-chen committed Jun 22, 2021
1 parent b0e55ff commit f91b283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('EmptyState', () => {
.find(EuiEmptyPrompt)
.dive();

expect(wrapper.find('h2').text()).toEqual('Perform your first API call');
expect(wrapper.find('h2').text()).toEqual('No API events in the last 24 hours');
expect(wrapper.find(EuiButton).prop('href')).toEqual(
expect.stringContaining('/api-reference.html')
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ export const EmptyState: React.FC = () => (
title={
<h2>
{i18n.translate('xpack.enterpriseSearch.appSearch.engine.apiLogs.emptyTitle', {
defaultMessage: 'Perform your first API call',
defaultMessage: 'No API events in the last 24 hours',
})}
</h2>
}
body={
<p>
{i18n.translate('xpack.enterpriseSearch.appSearch.engine.apiLogs.emptyDescription', {
defaultMessage: "Check back after you've performed some API calls.",
defaultMessage: 'Logs will update in real-time when an API request occurs.',
})}
</p>
}
Expand Down

0 comments on commit f91b283

Please sign in to comment.