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

Remove Highlights from Users Banned in Chat #99

Merged
merged 3 commits into from
Apr 12, 2019
Merged

Remove Highlights from Users Banned in Chat #99

merged 3 commits into from
Apr 12, 2019

Conversation

clarkio
Copy link
Owner

@clarkio clarkio commented Apr 11, 2019

Finished implementation that was started with mpj on https://twitch.tv/funfunfunction.

Big thanks to @parithon for helping simplify the code for removing highlights based on banned username with function overloads 👍
👉 https://gist.github.com/parithon/7b165c22e797186e7649378aa3a01351

Partially addresses #51

@clarkio clarkio requested a review from parithon April 11, 2019 19:38
@parithon
Copy link
Collaborator

The tests are failing because it expects the constants.Commands to be listed among the contribution commands configuration in the package.json file. However, the only commands that should exist in the package.json are those commands that are registered with vscode and executed by the user via the UI.

We need to refactor the constants.Commands, as well as the package.json, to separate commands between registered commands (those commands registered with vscode, such as startChat) and internal commands (those commands that aren't registered with vscode, such as removeBannedHighlights).

Copy link
Collaborator

@parithon parithon left a comment

Choose a reason for hiding this comment

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

See my previous comment.

@clarkio
Copy link
Owner Author

clarkio commented Apr 11, 2019

I should get to fixing this up tonight. I'll refactor and look to add tests for the internal commands too.

@clarkio clarkio requested a review from parithon April 11, 2019 23:58
@clarkio
Copy link
Owner Author

clarkio commented Apr 11, 2019

bitmoji

Copy link
Collaborator

@parithon parithon left a comment

Choose a reason for hiding this comment

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

bitmoji

@clarkio clarkio merged commit 067447e into vnext Apr 12, 2019
@clarkio clarkio deleted the ban-event branch April 12, 2019 00:37
@clarkio clarkio added this to the 0.2.1 milestone Apr 12, 2019
CodemanCodes pushed a commit to CodemanCodes/vscode-twitch-highlighter that referenced this pull request Aug 27, 2019
…-surlydev

docs: add surlydev as a contributor
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