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

2.0 version bump #230

Merged
merged 3 commits into from
Apr 7, 2022
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
6 changes: 3 additions & 3 deletions .github/workflows/remote-integ-tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ on:
branches:
- main
env:
OPENSEARCH_DASHBOARDS_VERSION: '1.x'
OPENSEARCH_VERSION: '1.3.0-SNAPSHOT'
OPENSEARCH_DASHBOARDS_VERSION: 'main'
OPENSEARCH_VERSION: '2.0.0-alpha1-SNAPSHOT'
jobs:
test-without-security:
name: Run integ tests without security
strategy:
matrix:
os: [ubuntu-latest]
java: [14]
java: [11]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Anomaly-Detection
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- main
env:
OPENSEARCH_DASHBOARDS_VERSION: '1.x'
OPENSEARCH_DASHBOARDS_VERSION: 'main'
jobs:
tests:
name: Run unit tests
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ coverage
offline-module-cache/v2/*
offline-module-cache/v1/*
target
._.DS_Store
4 changes: 2 additions & 2 deletions opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "anomalyDetectionDashboards",
"version": "1.3.0.0",
"opensearchDashboardsVersion": "1.3.0",
"version": "2.0.0.0",
"opensearchDashboardsVersion": "2.0.0",
"configPath": ["anomaly_detection_dashboards"],
"requiredPlugins": ["navigation"],
"optionalPlugins": [],
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "anomaly-detection-dashboards",
"version": "1.3.0.0",
"version": "2.0.0.0",
"description": "OpenSearch Anomaly Detection Dashboards Plugin",
"main": "index.js",
"config": {
"plugin_version": "1.3.0.0",
"plugin_version": "2.0.0.0",
"plugin_name": "anomalyDetectionDashboards",
"plugin_zip_name": "anomaly-detection-dashboards"
},
Expand All @@ -24,8 +24,6 @@
},
"devDependencies": {
"@elastic/eslint-import-resolver-kibana": "link:../../packages/osd-eslint-import-resolver-opensearch-dashboards",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.4",
"@testing-library/user-event": "^12.1.6",
"@types/react-plotly.js": "^2.2.4",
"@types/redux-mock-store": "^1.0.1",
Expand Down
8 changes: 3 additions & 5 deletions public/components/ContentPanel/ContentPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ type ContentPanelProps = {
hideBody?: boolean;
titleDataTestSubj?: string;
};

const ContentPanel = (props: ContentPanelProps) => {
const titleDataTestSubj = get(
props,
Expand All @@ -50,12 +49,11 @@ const ContentPanel = (props: ContentPanelProps) => {
);
return (
<EuiPanel
style={{ padding: '20px', ...props.panelStyles }}
style={{ padding: '20px'}}
className={props.contentPanelClassName}
betaBadgeLabel={props.badgeLabel}
>
<EuiFlexGroup
style={{ padding: '0px', ...props.titleContainerStyles }}
style={{ padding: '0px' }}
justifyContent="spaceBetween"
alignItems="center"
>
Expand Down Expand Up @@ -135,7 +133,7 @@ const ContentPanel = (props: ContentPanelProps) => {
margin="s"
className={props.horizontalRuleClassName}
/>
<div style={{ padding: '10px 0px', ...props.bodyStyles }}>
<div style={{ padding: '10px 0px' }}>
{props.children}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`<ContentPanel /> spec renders the component 1`] = `
<div
class="euiPanel euiPanel--paddingMedium"
class="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusMedium euiPanel--plain euiPanel--hasShadow"
style="padding: 20px;"
>
<div
Expand Down
Loading