Skip to content

Commit

Permalink
Revert "Revert remove experiment banner and enable by default (#203)"
Browse files Browse the repository at this point in the history
This reverts commit 31df7d4.

Signed-off-by: Lin Wang <[email protected]>
  • Loading branch information
wanglam committed Jul 6, 2023
1 parent e2825c4 commit 81a3e6b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 60 deletions.
25 changes: 0 additions & 25 deletions public/components/experiment_warning/__tests__/index.test.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions public/components/experiment_warning/index.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions public/components/monitoring/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { useUiSetting } from '../../../../../src/plugins/opensearch_dashboards_r
import { ModelDeploymentProfile } from '../../apis/profile';
import { RefreshInterval } from '../common/refresh_interval';
import { PreviewPanel } from '../preview_panel';
import { ExperimentalWarning } from '../experiment_warning';

import { ModelDeploymentItem, ModelDeploymentTable } from './model_deployment_table';
import { useMonitoring } from './use_monitoring';
Expand Down Expand Up @@ -72,7 +71,6 @@ export const Monitoring = () => {

return (
<div>
<ExperimentalWarning />
<EuiSpacer size="s" />
<EuiSpacer size="xs" />
<EuiPageHeader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Compatible with OpenSearch 2.8.0


### Features

* Remove experiment warning banner. ([#194](https://github.com/opensearch-project/ml-commons-dashboards/pull/194))
* Update plugin config to enable plugin by default. ([#200](https://github.com/opensearch-project/ml-commons-dashboards/pull/200))

### Infrastructure

* Update husky to 8.0.3 to remove execa as development dependency. ([#160](https://github.com/opensearch-project/ml-commons-dashboards/pull/160))
2 changes: 1 addition & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export { MlCommonsPluginSetup, MlCommonsPluginStart } from './types';

export const config: PluginConfigDescriptor = {
schema: schema.object({
enabled: schema.boolean({ defaultValue: false }),
enabled: schema.boolean({ defaultValue: true }),
}),
};

0 comments on commit 81a3e6b

Please sign in to comment.