Closed parithon closed 5 years ago
I decided to keep the unhighlightOnDisconnect
setting to false by default. If the broadcaster disconnects from the chat, the unhighlightOnDisconnect
is false, and highlights exist, a dialog will be displayed that will ask what to do with the highlights. Three options will be available:
1) Always Remove - Removes all the highlighted lines and sets the unhighighlightOnDisconnect
setting to true.
2) Remove - Removes all the highlighted lines
3) Keep - Does nothing, all highlights will remain and the chat will disconnect.
@NickLarsen I tested locally and believe @parithon has addressed your valid concerns around the user-friendliness of this feature. When you get a moment could you re-review and let us know what you think.
Essentially now there is a notification to prompt you on how you want to handle the highlights on disconnect. Also if there is an interruption in the connection to the Twitch API that will not affect the highlights. The server implementation is set to attempt to reconnect as well.
Sorry for not getting back to this earlier. From the screenshot it looks like an improvement and keeping it off by default is fine for now.
Purpose
When streamers disconnect from the chat service it would be helpful if the highlights that were generated while on stream automatically go unhighlight.
Files Changed
extension.ts
: added the ability to automatically unhighlight when disconnecting from the chat service when the user sets theunhighlightOnDisconnect
setting.package.json
: added theunhighlightOnDisconnect
setting to the configuration section.How to Test
git clone https://github.com/clarkio/vscode-twitch-highlighter.git
cd vscode-twitch-highlighter && npm install
Twitch Highlighter Unhighlight On Disconnect
in your workspace settingsWhat to Validate
Addresses
64