-
Notifications
You must be signed in to change notification settings - Fork 59
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 popover for bar chart item hover state #217
Conversation
Signed-off-by: csirius <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #217 +/- ##
=========================================
Coverage ? 63.70%
=========================================
Files ? 361
Lines ? 7744
Branches ? 1343
=========================================
Hits ? 4933
Misses ? 2811
Partials ? 0 Continue to review full report at Codecov.
|
@@ -88,6 +106,13 @@ export const EntityExecutionsBarChart: React.FC<EntityExecutionsBarChartProps> = | |||
} | |||
); | |||
|
|||
const handleClickItem = React.useCallback(item => { | |||
if (item.metadata) { | |||
// const executionId = item.metadata as WorkflowExecutionIdentifier; |
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.
@csirius Maybe, is this commented out by intention?
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.
@Pianist038801
Yes, actually I added routing mechanism for the item click but for next week's demo, we shouldn't include it so just commented it out.
# [0.27.0](http://github.com/lyft/flyteconsole/compare/v0.26.0...v0.27.0) (2021-09-24) ### Bug Fixes * polish workflow details page ([#215](http://github.com/lyft/flyteconsole/issues/215)) ([dba3df1](http://github.com/lyft/flyteconsole/commit/dba3df1c5509b9a1aef7c903810551f329308631)) ### Features * add popover for bar chart item hover state ([#217](http://github.com/lyft/flyteconsole/issues/217)) ([46a7823](http://github.com/lyft/flyteconsole/commit/46a7823f785fd917f48d61e9b5dc1b81c3e3e33a))
🎉 This PR is included in version 0.27.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Signed-off-by: csirius [email protected]
TL;DR
Add popover to bar chart item
Type
Are all requirements met?
Complete description
Added Popover to bar chart item with execution id, runtime duration and started at time.
Tracking Issue
fixes flyteorg/flyte#1465
Follow-up issue
NA