-
Notifications
You must be signed in to change notification settings - Fork 37
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 'Color-Coded Heatmap' widget #4629
feat: add 'Color-Coded Heatmap' widget #4629
Conversation
Signed-off-by: yuda <[email protected]>
Signed-off-by: yuda <[email protected]>
Signed-off-by: yuda <[email protected]>
Signed-off-by: yuda <[email protected]>
Signed-off-by: yuda <[email protected]>
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~ I left a small comment
state.proxyValue = { | ||
...state.proxyValue, | ||
value: state.proxyValue?.value ?? [], | ||
baseColor: state.proxyValue?.baseColor ?? props.widgetFieldSchema?.options?.baseColor ?? DEFAULT_BASE_COLOR, |
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.
I think.. baseColor: props.value?.baseColor...
is better than baseColor: state.proxyValue?.baseColor...
.
Maybe not working.
Signed-off-by: yuda <[email protected]>
Signed-off-by: yuda <[email protected]>
0f3fe6c
into
cloudforet-io:feature-dashboard-september
* feat: add `Color-Coded Heatmap` widget Signed-off-by: yuda <[email protected]> * feat: add to widget config list Signed-off-by: yuda <[email protected]> * fix(advanced-format-rules): set init value when mounted Signed-off-by: yuda <[email protected]> * chore: update language Signed-off-by: yuda <[email protected]> * chore: delete unused variable Signed-off-by: yuda <[email protected]> * chore: add icon Signed-off-by: yuda <[email protected]> * chore: apply code review Signed-off-by: yuda <[email protected]> --------- Signed-off-by: yuda <[email protected]>
To Reviewers
style
,chore
,ci
, minor refactoring, etc.)Description