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

feat: add stats #132

Merged
merged 1 commit into from
Feb 28, 2022
Merged

feat: add stats #132

merged 1 commit into from
Feb 28, 2022

Conversation

hetao92
Copy link
Contributor

@hetao92 hetao92 commented Feb 28, 2022

No description provided.

@hetao92 hetao92 requested review from mizy and huaxiabuluo February 28, 2022 08:55
const { code, data } = await getJobStatus();
if (code === 0) {
const stat = data.tables.filter(item => item.Command === 'STATS')[0];
if (stat?.Status === IJobStatus.finished) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upper Camel Case is better ? finished --> Finished

@@ -113,6 +114,11 @@ const SchemaConfig = () => {
exact={true}
component={IndexList}
/>
<Route
path="/schema/:space/statistic/list"
exact={true}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only exact is enough, this is optional

<Route exact />

mod: code review
@huaxiabuluo huaxiabuluo merged commit 75ff9be into vesoft-inc:v3.3.0-dev Feb 28, 2022
@hetao92 hetao92 deleted the hetao-dev branch February 28, 2022 10:02
hetao92 added a commit to hetao92/nebula-studio that referenced this pull request Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants