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 <[email protected]>
  • Loading branch information
2 people authored and Desvelao committed Sep 23, 2024
1 parent 9b52965 commit d2bfe70
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,25 @@ All notable changes to the Wazuh app project will be documented in this file.

- Removed the setting home:useNewHomePage from the advanced settings because the views are not finished. [#282](https://github.com/wazuh/wazuh-dashboard/pull/282)

## 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

- Support for Wazuh 4.9.0

### Changed

- Changed default value of useExpandedHeader to false. [#247](https://github.com/wazuh/wazuh-dashboard/pull/247)
- Changed default theme [#174](https://github.com/wazuh/wazuh-dashboard/pull/174)
- Changed default logos and main menu app categories [141](https://github.com/wazuh/wazuh-dashboard/pull/141)
- Changed default value of useExpandedHeader to false [#247](https://github.com/wazuh/wazuh-dashboard/pull/247)
- Changed build number to match the Wazuh standard [#284](https://github.com/wazuh/wazuh-dashboard/pull/284)
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { FormattedMessage } from '@osd/i18n/react';
import { EuiSmallButton, EuiEmptyPrompt, EuiLink, EuiText } from '@elastic/eui';
import { ApplicationStart } from 'opensearch-dashboards/public';

const appName = 'Wazuh dashboard';
export const getNoItemsMessage = (
hideWriteControls: boolean,
createItem: () => void,
Expand Down Expand Up @@ -49,22 +50,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 d2bfe70

Please sign in to comment.