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

bug fixes and legacy cleanup #253

Merged
merged 5 commits into from
Jun 9, 2020
Merged

bug fixes and legacy cleanup #253

merged 5 commits into from
Jun 9, 2020

Conversation

Abeous
Copy link
Contributor

@Abeous Abeous commented Jun 9, 2020

  • 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

@SoMuchForSubtlety SoMuchForSubtlety requested a review from jbpratt June 9, 2020 18:55
alias: ["m"]
}
],
// Disabling /stalk and /mentions until functionality is added.
Copy link
Member

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

).into(this);
} else {
MessageBuilder.info(
`No tagged nicks. Available colors: ${tagcolors.join(",")}`
`No tagged nicks. Preset colors: ${tagcolors.join(",")}, or /tag user #HEXCODE`
Copy link
Member

@jbpratt jbpratt Jun 9, 2020

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

@@ -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\``
Copy link
Member

Choose a reason for hiding this comment

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

This as well

Copy link
Member

@jbpratt jbpratt left a 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

@Abeous
Copy link
Contributor Author

Abeous commented Jun 9, 2020

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.

@jbpratt jbpratt merged commit fc29ee0 into MemeLabs:master Jun 9, 2020
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.

2 participants