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 icon display #18

Merged
merged 8 commits into from
Oct 8, 2021
Merged

feat: add icon display #18

merged 8 commits into from
Oct 8, 2021

Conversation

Kun8018
Copy link
Contributor

@Kun8018 Kun8018 commented Sep 28, 2021

feat: add icon display

},
);
if (err) {
console.error(err);
Copy link
Contributor

Choose a reason for hiding this comment

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

remove console

Comment on lines 33 to 50
<>
<MenuButton
tips={!showTitle ? intl.get('common.vertexSets') : undefined}
component={
<VertexDisplay
showIcon={showIcon}
handleChangeColorComplete={this.handleChangeColorComplete}
handleChangeIconComplete={this.handleChangeIconComplete}
customIcon={customIcon}
customColor={customColor}
editing={true}
/>
}
trackCategory="explore"
trackAction="color_picker"
trackLabel="from_panel"
/>
</>
Copy link
Contributor

Choose a reason for hiding this comment

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

code format indent

@@ -222,6 +222,6 @@ export const DEFAULT_EXPLORE_RULES = {
edgeDirection: 'outgoing',
stepsType: 'single',
step: 1,
vertexColor: 'groupByTag',
vertexSets: 'groupByTag',
Copy link
Contributor

Choose a reason for hiding this comment

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

vertexSets may be not a good name, I don't know what's the meaning of it

Copy link
Contributor

Choose a reason for hiding this comment

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

how about vertexStyle? In addition, groupByTag can be more detailed to colorGroupByTag

@@ -0,0 +1,55 @@
import React from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

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

how about CustomSet to CustomStyle?

@nianiaJR
Copy link
Contributor

The suffix of Set maybe have other meaning which confuses readers, maybe Style is a better choice

Copy link
Contributor

@nianiaJR nianiaJR left a comment

Choose a reason for hiding this comment

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

LGTM

@hetao92 hetao92 merged commit 7b85421 into vesoft-inc:master Oct 8, 2021
nianiaJR pushed a commit to nianiaJR/nebula-studio that referenced this pull request Dec 3, 2021
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.

3 participants