This PR introduces the ability to start, stop and restart the go-sbot systemd process via the /settings/scuttlebutt menu. The buttons are conditionally rendered based on the current mode (ie. if the process is currently running, only the Start sbot and Restart sbot buttons are displayed). A flash message is displayed to communicate whether the action was successful or not.
I've also introduced a checkbox element to the Configure sbot form to allow for enabling / disabling the process. This is titled: Run pub on startup. The Scuttlebutt status page now also shows whether this feature is enabled or disabled.
One other small UI change: I set the colour of the inner circle on the homepage according to the state of the go-sbot process. If the process is active: green. If the process is inactive: orange. This will need more attention but it has feel pretty darn cool while I've been testing :)
Note to myself for later: consider changing all sbot language to pub. Then the settings menu would have buttons such as Start pub instead of Start sbot.
This PR introduces the ability to start, stop and restart the go-sbot systemd process via the `/settings/scuttlebutt` menu. The buttons are conditionally rendered based on the current mode (ie. if the process is currently running, only the `Start sbot` and `Restart sbot` buttons are displayed). A flash message is displayed to communicate whether the action was successful or not.
I've also introduced a checkbox element to the `Configure sbot` form to allow for enabling / disabling the process. This is titled: `Run pub on startup`. The Scuttlebutt status page now also shows whether this feature is enabled or disabled.
One other small UI change: I set the colour of the inner circle on the homepage according to the state of the go-sbot process. If the process is active: green. If the process is inactive: orange. This will need more attention but it has feel pretty darn cool while I've been testing :)
_Note to myself for later: consider changing all `sbot` language to `pub`. Then the settings menu would have buttons such as `Start pub` instead of `Start sbot`._
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR introduces the ability to start, stop and restart the go-sbot systemd process via the
/settings/scuttlebuttmenu. The buttons are conditionally rendered based on the current mode (ie. if the process is currently running, only theStart sbotandRestart sbotbuttons are displayed). A flash message is displayed to communicate whether the action was successful or not.I've also introduced a checkbox element to the
Configure sbotform to allow for enabling / disabling the process. This is titled:Run pub on startup. The Scuttlebutt status page now also shows whether this feature is enabled or disabled.One other small UI change: I set the colour of the inner circle on the homepage according to the state of the go-sbot process. If the process is active: green. If the process is inactive: orange. This will need more attention but it has feel pretty darn cool while I've been testing :)
Note to myself for later: consider changing all
sbotlanguage topub. Then the settings menu would have buttons such asStart pubinstead ofStart sbot.