-
Notifications
You must be signed in to change notification settings - Fork 3
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
Remove abbreviations #551
Remove abbreviations #551
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Backend tests are failing here |
@@ -186,8 +186,8 @@ export class InstanceManager extends LitElement { | |||
const input = this.shadowRoot.querySelector("#new-info input"); | |||
input.focus(); | |||
|
|||
const mousePress = (e) => { | |||
if (!e.composedPath().includes(newInfoDiv)) { | |||
const mousePress = (mousePressEvent) => { |
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.
What would you think about 'clickEvent' here?
Some implicit bias from neurodata experience led to a first reading as 'mouse (species) lever press', which are a type of common LabeledEvent
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.
Switching to pointerEvent since that's also a type of event in JS.
Some minor comments scattered across; otherwise looks good. Will give thorough hands on test after those are addressed so ensure nothing is unintentionally broken, otherwise will be good to go Thanks for taking the time to do this |
This PR removes abbreviations introduced on the
main
branch that don't provide enough clarity for developers without significant JavaScript experience.There were all that I could find on a first pass. If additional abbreviations are identified or found to not be replaced here, we should make them explicit moving forward.