-
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
fix: long node-id obscures task type #patch #308
Conversation
Signed-off-by: Nastya Rusina <[email protected]>
const nodeId = displayId ?? execution.id.nodeId; | ||
return ( | ||
<Tooltip arrow title={nodeId} placement="top-start"> | ||
<div className={commonStyles.truncateText}>{nodeId}</div> | ||
</Tooltip> | ||
); |
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.
Fix related change
Codecov Report
@@ Coverage Diff @@
## master #308 +/- ##
==========================================
- Coverage 64.40% 64.39% -0.01%
==========================================
Files 392 392
Lines 8844 8842 -2
Branches 1588 1587 -1
==========================================
- Hits 5696 5694 -2
Misses 3148 3148
Continue to review full report at Codecov.
|
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
# [0.44.0](http://github.com/lyft/flyteconsole/compare/v0.43.0...v0.44.0) (2022-03-14) ### Bug Fixes * long node-id obscures task type ([#308](http://github.com/lyft/flyteconsole/issues/308)) ([50b5ef5](http://github.com/lyft/flyteconsole/commit/50b5ef51951301fb828ee0cf6f5bfc6cb1546920)) ### Features * Support for dynamic and nested workflows. ([#326](http://github.com/lyft/flyteconsole/issues/326)) ([5cd1ca5](http://github.com/lyft/flyteconsole/commit/5cd1ca57e9f5d64db96a1ebe9f8a19c1c14743fc))
🎉 This PR is included in version 0.44.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Wrap text with ellipsis if it's too long, and add Tooltip, so we can still see whole display-id.
Most changes a whitespace only, I marked the fix with a comment
Prior to the fix:
After the fix:
Type
Are all requirements met?
Complete description
The main point described in issue 292 was fixed in flyteconsole v.0.42.1
The only issue left - was nodeId is not fully readable and obscuring the view, in case if id is too long to fit into a cell. This PR fixes it.
fixes https://github.com/flyteorg/flyteconsole/issues/292