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 popover for bar chart item hover state #217

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

govalt
Copy link
Contributor

@govalt govalt commented Sep 24, 2021

Signed-off-by: csirius [email protected]

TL;DR

Add popover to bar chart item

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

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

@codecov
Copy link

codecov bot commented Sep 24, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@6c21263). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c21263...5641038. Read the comment docs.

@@ -88,6 +106,13 @@ export const EntityExecutionsBarChart: React.FC<EntityExecutionsBarChartProps> =
}
);

const handleClickItem = React.useCallback(item => {
if (item.metadata) {
// const executionId = item.metadata as WorkflowExecutionIdentifier;
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.27.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@anrusina anrusina deleted the bar-chart-popover branch January 13, 2022 00:25
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.

[Feature] Create bar chart component to display execution time
4 participants