Skip to content

Commit

Permalink
Modify link to sample data in the section dashboards and references t…
Browse files Browse the repository at this point in the history
…o opensearch dashboards (#311)

Co-authored-by: JuanGarriuz <juan.garcia@wazuh.com>
  • Loading branch information
chantal-kelm and JuanGarriuz authored Sep 17, 2024
1 parent 24c454e commit 30adcb1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

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

## Wazuh dashboard v4.9.1 - OpenSearch Dashboards 2.13.0 - Revision 00

### Added

- Support for Wazuh 4.9.1

### Changed

- Changed link to sample data in the dashboards section and references to Opensearch Dashboards [#311](https://github.com/wazuh/wazuh-dashboard/pull/311)

## Wazuh dashboard v4.9.0 - OpenSearch Dashboards 2.13.0 - Revision 07

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { FormattedMessage } from '@osd/i18n/react';
import { EuiButton, EuiEmptyPrompt, EuiLink } from '@elastic/eui';
import { ApplicationStart } from 'opensearch-dashboards/public';

const appName = 'Wazuh dashboard';
export const getNoItemsMessage = (
hideWriteControls: boolean,
createItem: () => void,
Expand Down Expand Up @@ -45,22 +46,20 @@ export const getNoItemsMessage = (
<p>
<FormattedMessage
id="dashboard.listing.createNewDashboard.combineDataViewFromOpenSearchDashboardsAppDescription"
defaultMessage="You can combine data views from any OpenSearch Dashboards app into one dashboard and see everything in one place."
defaultMessage="You can combine data views from any {appName} app into one dashboard and see everything in one place."
values={{
appName,
}}
/>
</p>
<p>
<FormattedMessage
id="dashboard.listing.createNewDashboard.newToOpenSearchDashboardsDescription"
defaultMessage="New to OpenSearch Dashboards? {sampleDataInstallLink} to take a test drive."
defaultMessage="New to {appName}? {sampleDataInstallLink} to take a test drive."
values={{
appName,
sampleDataInstallLink: (
<EuiLink
onClick={() =>
application.navigateToApp('home', {
path: '#/tutorial_directory/sampleData',
})
}
>
<EuiLink onClick={() => application.navigateToApp('sample-data')}>
<FormattedMessage
id="dashboard.listing.createNewDashboard.sampleDataInstallLinkText"
defaultMessage="Install some sample data"
Expand Down

0 comments on commit 30adcb1

Please sign in to comment.