Skip to content

Commit

Permalink
Merge pull request #432 from HarperDB/stage
Browse files Browse the repository at this point in the history
[v4.8.5] Release
  • Loading branch information
BboyAkers authored Nov 25, 2024
2 parents 383d744 + 62bd504 commit 09c2f85
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "harperdb-studio",
"version": "4.8.4",
"version": "4.8.5",
"description": "A UI for HarperDB",
"deploymentUrl": "studio.harperdb.io",
"private": true,
Expand Down
23 changes: 12 additions & 11 deletions src/components/instance/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { lazy, React } from 'react';
import Browse from './browse';
import config from '../../config';
import supportsApplications from '../../functions/instance/functions/supportsApplications';

const Charts = lazy(() => import(/* webpackChunkName: "instance-charts" */ './charts'));
// NOTE: Temporarily disabling. Query is used in Charts.
// const Charts = lazy(() => import(/* webpackChunkName: "instance-charts" */ './charts'));
// NOTE: Temporarily disabling. The SQL engine in HarperDB is not optimized and when users use it, it can create significant production issues.
// const Query = lazy(() => import(/* webpackChunkName: "instance-query" */ './query'));
const Cluster = lazy(() => import(/* webpackChunkName: "instance-cluster" */ './replication'));
Expand Down Expand Up @@ -50,13 +50,14 @@ const routes = ({ super_user, version = null }) => {
icon: 'check-square',
};

const charts = {
element: <Charts />,
path: `charts`,
link: 'charts',
label: 'charts',
icon: 'chart-line',
};
// NOTE: Temporarily disabling. Query is used in Charts.
// const charts = {
// element: <Charts />,
// path: `charts`,
// link: 'charts',
// label: 'charts',
// icon: 'chart-line',
// };

const cluster = {
element: <Cluster />,
Expand Down Expand Up @@ -103,11 +104,11 @@ const routes = ({ super_user, version = null }) => {
}

if (super_user) {
return [browse, users, roles, charts, cluster, useApplications ? applications : functions, metrics, configure];
return [browse, users, roles, cluster, useApplications ? applications : functions, metrics, configure];
}

if (config.is_local_studio) {
return [browse, charts];
return [browse];
}

return [browse];
Expand Down

0 comments on commit 09c2f85

Please sign in to comment.