diff --git a/NOTES.md b/NOTES.md index 683fe8b..4098e7a 100644 --- a/NOTES.md +++ b/NOTES.md @@ -1,21 +1,54 @@ # Roadmap Rum Goggles App: -- Chat bot rule triggers on stream events - - On: follow, subscribe, rant, raid + +v1-beta: - Chat polls - Stream statistics + +v1.N: +- Download subscriber data, track re-subs, trigger rules on re-subs - Stream moderator bot +- OBS integration Rum Goggles Service: +- Monitor all live stream chats - Channel points - Spam/Troll tracking +# Bugs + +If connection to chat stream breaks, gracefully handle error +- try to reconnect +- let the chat rules know, etc. +- test with VPN + # Doing -Before v1-alpha release: -- stop all running rules when chat bot is deleted -- indicator in chatbot that producer is running +Monitor how many handlers are listening to a producer. +- If producer.Stop is called, subtract from count. +- If count == 0, stop producer + +Change API producer to monitor changes and only send new events, one at a time, to app, instead of the entire response; create datatype for single API event +- update chatbot and page handlers to use single API events +- page details should add to activity list one at a time + - store page list in Go, send entire list to frontend on updates + - list can be updated by any producer + +Add timeouts to event triggers to prevent rate limit? + +Don't stop rule if chat error is 429 Too Many Requests + +Check if sender is logged in before running rule. If not, return rule error. + +Add max rant amount for commands + +Button to export log file -> user selects folder + +Style scroll bars on Windows +- WebView2 issue + +Indicator in chatbot that producer is running - this can be in many different places as needed Custom stream moderator rules @@ -82,3 +115,6 @@ User settings: - API query timer (default: 2s) # To Do + +Currently relies on Rumble to manage account username case-sensitivity. +- Change database table to use UNIQUE COLLATE NOCASE on account username \ No newline at end of file diff --git a/v1/frontend/src/components/ChatBot.jsx b/v1/frontend/src/components/ChatBot.jsx index 603c965..e1752f1 100644 --- a/v1/frontend/src/components/ChatBot.jsx +++ b/v1/frontend/src/components/ChatBot.jsx @@ -1133,6 +1133,10 @@ function ModalRuleTriggerEvent(props) { let from_account = {}; switch (event) { case 'Follow': + if (options.page === undefined || options.page === '') { + setValidOptions(false); + return; + } from_account.name = options.page; from_account.on_follow = {}; break; @@ -1158,6 +1162,10 @@ function ModalRuleTriggerEvent(props) { let from_channel = {}; switch (event) { case 'Follow': + if (options.page === undefined || options.page === '') { + setValidOptions(false); + return; + } from_channel.name = options.page; from_channel.on_follow = {}; break;