Skip to content

Commit

Permalink
Push first batch of changes from Wazuh
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Apr 20, 2023
1 parent 5c2f5d9 commit bab182d
Show file tree
Hide file tree
Showing 31 changed files with 1,088 additions and 307 deletions.
7 changes: 3 additions & 4 deletions src/core/public/chrome/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
* under the License.
*/

export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = 'https://github.com/opensearch-project';
export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = 'https://github.com/opensearch-project';
export const GITHUB_CREATE_ISSUE_LINK =
'https://github.com/opensearch-project/OpenSearch-Dashboards/issues/new/choose';
export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = 'https://wazuh.com/community/join-us-on-slack';
export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = OPENSEARCH_DASHBOARDS_FEEDBACK_LINK;
export const GITHUB_CREATE_ISSUE_LINK = 'https://github.com/wazuh/wazuh/issues/new/choose';
4 changes: 2 additions & 2 deletions src/core/public/chrome/ui/header/header_help_menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class HeaderHelpMenuUI extends Component<Props, State> {
<EuiButtonEmpty href={opensearchDashboardsDocLink} target="_blank" size="xs" flush="left">
<FormattedMessage
id="core.ui.chrome.headerGlobalNav.helpMenuOpenSearchDashboardsDocumentationTitle"
defaultMessage="OpenSearch Dashboards documentation"
defaultMessage="Wazuh documentation"
/>
</EuiButtonEmpty>

Expand All @@ -215,7 +215,7 @@ class HeaderHelpMenuUI extends Component<Props, State> {
<EuiButtonEmpty href={helpSupportUrl} target="_blank" size="xs" flush="left">
<FormattedMessage
id="core.ui.chrome.headerGlobalNav.helpMenuAskElasticTitle"
defaultMessage="Ask OpenSearch"
defaultMessage="Ask Wazuh"
/>
</EuiButtonEmpty>

Expand Down
4 changes: 2 additions & 2 deletions src/core/public/chrome/ui/header/home_icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import React from 'react';
import { EuiIcon } from '@elastic/eui';
import { ChromeBranding } from '../../chrome_service';

export const DEFAULT_MARK = 'opensearch_mark_default_mode.svg';
export const DEFAULT_DARK_MARK = 'opensearch_mark_dark_mode.svg';
export const DEFAULT_MARK = 'home_default_mode.svg';
export const DEFAULT_DARK_MARK = 'home_dark_mode.svg';

/**
* Use branding configurations to render the header mark on the nav bar.
Expand Down
11 changes: 11 additions & 0 deletions src/core/public/doc_links/doc_links_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ export class DocLinksService {
const OPENSEARCH_VERSIONED_DOCS = `${OPENSEARCH_WEBSITE_DOCS}/opensearch/`;
const OPENSEARCH_DASHBOARDS_VERSIONED_DOCS = `${OPENSEARCH_WEBSITE_DOCS}/dashboards/`;

// // - Note .- Using the getting-started link instead of the index link
// // because the index link is inconsistent with older versions.
// // https://documentation.wazuh.com/current/getting-started/index.html
// const WAZUH_WEBSITE_URL = 'https://wazuh.com/';
// const WAZUH_WEBSITE_DOCS = `https://documentation.wazuh.com/${DOC_LINK_VERSION}/getting-started/index.html`;

return deepFreeze({
DOC_LINK_VERSION,
OPENSEARCH_WEBSITE_URL,
Expand Down Expand Up @@ -553,6 +559,11 @@ export interface DocLinksStart {
readonly DOC_LINK_VERSION: string;
readonly OPENSEARCH_WEBSITE_URL: string;
readonly links: {
// readonly wazuh: {
// readonly website: string;
// readonly documentation: string;

// };
readonly opensearch: {
readonly introduction: string;
readonly installation: {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/core/server/core_app/assets/favicons/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/core/server/core_app/assets/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/core/server/core_app/assets/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/core/server/core_app/assets/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/core/server/core_app/assets/favicons/favicon.ico
Binary file not shown.
Binary file modified src/core/server/core_app/assets/favicons/mstile-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/core/server/core_app/assets/favicons/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/core/server/core_app/assets/favicons/mstile-310x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/core/server/core_app/assets/favicons/mstile-310x310.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/core/server/core_app/assets/favicons/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 13 additions & 45 deletions src/core/server/core_app/assets/favicons/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit bab182d

Please sign in to comment.