Update breakhandler to allow to stop a plugin when taking a break#1654
Update breakhandler to allow to stop a plugin when taking a break#1654
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis PR updates the microbot version and refactors the BreakHandlerV2 plugin-stop functionality from enum-based to string-based storage. It introduces two new utility classes (PluginStopOption and PluginStopHelper) to manage plugin resolution across built-in Microbot plugins and external Plugin Hub plugins. Configuration adds lead-time and restart-delay options for controlling when plugins stop and restart relative to breaks. The UI is updated with a dynamic combo box for plugin selection, and BreakHandlerV2Script implements pre-break plugin stopping with configurable lead time and state management through new timing fields. Possibly related PRs
✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Update breakhandler to allow to stop a plugin when taking a break
Also added config to allow to plugin to stop early before break
Added config to allow plugin to start after a certain amount of time after break ended.