Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify link to sample data in the section dashboards and references to opensearch dashboards #311

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading