-
Notifications
You must be signed in to change notification settings - Fork 64
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
Conversation
}, | ||
); | ||
if (err) { | ||
console.error(err); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove console
<> | ||
<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" | ||
/> | ||
</> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code format indent
app/assets/config/explore.ts
Outdated
@@ -222,6 +222,6 @@ export const DEFAULT_EXPLORE_RULES = { | |||
edgeDirection: 'outgoing', | |||
stepsType: 'single', | |||
step: 1, | |||
vertexColor: 'groupByTag', | |||
vertexSets: 'groupByTag', |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
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
?
The suffix of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
feat: add icon display