Skip to content

Commit 30adcb1

Browse files
Modify link to sample data in the section dashboards and references to opensearch dashboards (#311)
Co-authored-by: JuanGarriuz <[email protected]>
1 parent 24c454e commit 30adcb1

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to the Wazuh app project will be documented in this file.
44

5+
## Wazuh dashboard v4.9.1 - OpenSearch Dashboards 2.13.0 - Revision 00
6+
7+
### Added
8+
9+
- Support for Wazuh 4.9.1
10+
11+
### Changed
12+
13+
- Changed link to sample data in the dashboards section and references to Opensearch Dashboards [#311](https://github.com/wazuh/wazuh-dashboard/pull/311)
14+
515
## Wazuh dashboard v4.9.0 - OpenSearch Dashboards 2.13.0 - Revision 07
616

717
### Added

src/plugins/dashboard/public/application/utils/get_no_items_message.tsx

+8-9
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { FormattedMessage } from '@osd/i18n/react';
88
import { EuiButton, EuiEmptyPrompt, EuiLink } from '@elastic/eui';
99
import { ApplicationStart } from 'opensearch-dashboards/public';
1010

11+
const appName = 'Wazuh dashboard';
1112
export const getNoItemsMessage = (
1213
hideWriteControls: boolean,
1314
createItem: () => void,
@@ -45,22 +46,20 @@ export const getNoItemsMessage = (
4546
<p>
4647
<FormattedMessage
4748
id="dashboard.listing.createNewDashboard.combineDataViewFromOpenSearchDashboardsAppDescription"
48-
defaultMessage="You can combine data views from any OpenSearch Dashboards app into one dashboard and see everything in one place."
49+
defaultMessage="You can combine data views from any {appName} app into one dashboard and see everything in one place."
50+
values={{
51+
appName,
52+
}}
4953
/>
5054
</p>
5155
<p>
5256
<FormattedMessage
5357
id="dashboard.listing.createNewDashboard.newToOpenSearchDashboardsDescription"
54-
defaultMessage="New to OpenSearch Dashboards? {sampleDataInstallLink} to take a test drive."
58+
defaultMessage="New to {appName}? {sampleDataInstallLink} to take a test drive."
5559
values={{
60+
appName,
5661
sampleDataInstallLink: (
57-
<EuiLink
58-
onClick={() =>
59-
application.navigateToApp('home', {
60-
path: '#/tutorial_directory/sampleData',
61-
})
62-
}
63-
>
62+
<EuiLink onClick={() => application.navigateToApp('sample-data')}>
6463
<FormattedMessage
6564
id="dashboard.listing.createNewDashboard.sampleDataInstallLinkText"
6665
defaultMessage="Install some sample data"

0 commit comments

Comments
 (0)