-
Notifications
You must be signed in to change notification settings - Fork 11
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(dashboard): varName of TaskDef in WfSpec #846
Conversation
This is not the correct implementation of getting the taskDef name. This uses the |
…m/littlehorse-enterprises/littlehorse into feat/dashbaord/varName-on-taskDef
…m/littlehorse-enterprises/littlehorse into feat/dashbaord/varName-on-taskDef
…m/littlehorse-enterprises/littlehorse into feat/dashbaord/varName-on-taskDef
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.
The only issue is that it makes a call for every TaskDef needed, there is no straightforward way to fetch the TaskDef only when the tooltip is open. We can either keep this PR open or merge this and open an issue to refactor for performance.
You can prevent this by using the selected
boolean available at the node, so you make the call only when selected === true
Thanks for the suggestion @mijailr that was good one.
Good thinking, I have implemented that. |
Before:

After:
