-
Notifications
You must be signed in to change notification settings - Fork 30
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
bug fixes and legacy cleanup #253
Conversation
Abeous
commented
Jun 9, 2020
•
edited
Loading
edited
- fixed context menu overflow mentioned in context menu #228 https://i.imgur.com/WZZmExI.png
- now shows upward when opened in lower third of chat
- added custom tag info into tag commands descriptions
- commented out /stalk and /mentions
- commands can still be entered but will not show up in autocomplete or /help
- added context menu information to hints
- added custom tag info to hints
assets/chat/js/chat.js
Outdated
alias: ["m"] | ||
} | ||
], | ||
// Disabling /stalk and /mentions until functionality is added. |
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.
Go ahead and delete this stuff since it’s deleted above
assets/chat/js/chat.js
Outdated
).into(this); | ||
} else { | ||
MessageBuilder.info( | ||
`No tagged nicks. Available colors: ${tagcolors.join(",")}` | ||
`No tagged nicks. Preset colors: ${tagcolors.join(",")}, or /tag user #HEXCODE` |
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.
Can these be pulled out into variables as it looks like this is below as well
assets/chat/js/chat.js
Outdated
@@ -1882,11 +1880,11 @@ class Chat { | |||
MessageBuilder.info( | |||
`Tagged nicks: ${[...this.taggednicks.keys()].join( | |||
"," | |||
)}. Available colors: ${tagcolors.join(",")}` | |||
)}. Preset colors: ${tagcolors.join(",")}, or \`/tag user #HEXCODE\`` |
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.
This as well
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, thanks for this
Went ahead and gutted /stalk and /mentions command functions as well. I looked around and didn't find many other commands that warranted a global variable for command strings, so I added constants within the functions to clean it up a bit. |