sqshq / sampler

Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
https://sampler.dev
GNU General Public License v3.0
12.88k stars 573 forks source link

Feature request - Multiple display "pages" #67

Closed deefdragon closed 5 years ago

deefdragon commented 5 years ago

Would it be possible to add some form of pages that can be switched between? Similar to how a security camera system has multiple cameras/ camera groupings that it flips through.

If you would have it if i made it, I would love to work on this myself.

deefdragon commented 5 years ago

Possibly an additional request, but also possibly required to make it actually work; The ability to define regions that other things can go into.

deefdragon commented 5 years ago

An easier way to do it, though not the cleanest might be to add a new key "displaytime" to the base. Then, taking in several config files, you can display each for the display time, then switch to the next in the order.

I would have preferred to make it recursive yaml (group[group[... chart/displays[], time ...]] ), but recursive yaml/json is a pain in go, and might have had to be breaking for current configs which I would like to avoid.

sqshq commented 5 years ago

Hi @deef0000dragon1, Thank you for the suggestion, but in this case I would prefer to not complicate the application with this feature. I'd like to keep Sampler simple, especially when the functionality can be more organically integrated into a terminal emulator or multiplexer

deefdragon commented 5 years ago

simple from a user/usage perspective or from a code perspective?

sqshq commented 5 years ago

Both, I just don't want to complicate anything, including the code, configuration and documentation with features which from my perspective won't be used very often. Also switching "tabs" on schedule can be considered as terminal responsibility, and I guess can be scripted there

I might be mistaken, so we can keep this feature request open for a while if you'd like. If someone else will be interested, it would make sense to implement that