File tree 2 files changed +18
-9
lines changed
src/plugins/dashboard/public/application/utils
2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to the Wazuh app project will be documented in this file.
4
4
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
+
5
15
## Wazuh dashboard v4.9.0 - OpenSearch Dashboards 2.13.0 - Revision 07
6
16
7
17
### Added
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { FormattedMessage } from '@osd/i18n/react';
8
8
import { EuiButton , EuiEmptyPrompt , EuiLink } from '@elastic/eui' ;
9
9
import { ApplicationStart } from 'opensearch-dashboards/public' ;
10
10
11
+ const appName = 'Wazuh dashboard' ;
11
12
export const getNoItemsMessage = (
12
13
hideWriteControls : boolean ,
13
14
createItem : ( ) => void ,
@@ -45,22 +46,20 @@ export const getNoItemsMessage = (
45
46
< p >
46
47
< FormattedMessage
47
48
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
+ } }
49
53
/>
50
54
</ p >
51
55
< p >
52
56
< FormattedMessage
53
57
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."
55
59
values = { {
60
+ appName,
56
61
sampleDataInstallLink : (
57
- < EuiLink
58
- onClick = { ( ) =>
59
- application . navigateToApp ( 'home' , {
60
- path : '#/tutorial_directory/sampleData' ,
61
- } )
62
- }
63
- >
62
+ < EuiLink onClick = { ( ) => application . navigateToApp ( 'sample-data' ) } >
64
63
< FormattedMessage
65
64
id = "dashboard.listing.createNewDashboard.sampleDataInstallLinkText"
66
65
defaultMessage = "Install some sample data"
You can’t perform that action at this time.
0 commit comments