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

fix: long node-id obscures task type #patch #308

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

anrusina
Copy link
Contributor

@anrusina anrusina commented Mar 7, 2022

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:
Screen Shot 2022-03-07 at 12 30 41 PM

After the fix:
Screen Shot 2022-03-07 at 12 42 03 PM

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

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

@anrusina anrusina requested a review from jsonporter March 7, 2022 20:51
Comment on lines +82 to +87
const nodeId = displayId ?? execution.id.nodeId;
return (
<Tooltip arrow title={nodeId} placement="top-start">
<div className={commonStyles.truncateText}>{nodeId}</div>
</Tooltip>
);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix related change

@codecov
Copy link

codecov bot commented Mar 7, 2022

Codecov Report

Merging #308 (c1eff4b) into master (78b265e) will decrease coverage by 0.00%.
The diff coverage is 95.89%.

Impacted file tree graph

@@            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              
Impacted Files Coverage Δ
...ponents/Executions/Tables/nodeExecutionColumns.tsx 96.51% <95.89%> (-0.08%) ⬇️

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 78b265e...c1eff4b. Read the comment docs.

Copy link
Contributor

@jsonporter jsonporter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.44.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

[BUG] In Flyte UI workflow execution name not on the correct place
3 participants