-
Notifications
You must be signed in to change notification settings - Fork 19
Vmo 4394 connection z index #184
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
base: master
Are you sure you want to change the base?
Conversation
| this.line = new LeaderLine(start, end, this.options) | ||
| // Add event listeners | ||
| const self = this |
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.
I remove the reference to self as it did not make any difference in the functionality. Let me know if there is concern around this change.
|
Found 1 violations: Reporter: ESLint Unexpected dangling '_' in '_id'. (no-underscore-dangle)
|
| const self = this | ||
| // the only way to identify current line so far: https://github.com/anseki/leader-line/issues/185 | ||
| const connectionElement = document.querySelector('body>.leader-line:last-of-type') | ||
| this.connectionDomHandle = document.getElementById(`leader-line-${this.line._id}-line-path`).closest('svg.leader-line') |
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.
Reporter: ESLint
Rule: eslint.rules.no-underscore-dangle
Severity: ERROR
File: src/components/interaction-designer/Connection.vue L144
Unexpected dangling '_' in '_id'. (no-underscore-dangle)
bzabos
left a comment
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.
@poojahpatil90 this looks good! I left a couple minor comments that I'll leave up to your discretion. Feel welcome to merge if you're happy with what's there!
@poojahpatil90 Can you create a JIRA for this and touch base with @safydy on the details? I don't have a clear answer off the top of my head right now. |
@bzabos A question for you - I notice that if we click on a connection and then try hovering over another, we don't have the desired behavior of highlighting the hovered line. I am wondering if we need to make a fix for this as well? Or we can let the user uncheck the selection by clicking outside and then hover over the wires they want to see?