F1bonacc1 / process-compose

Process Compose is a simple and flexible scheduler and orchestrator to manage non-containerized applications.
https://f1bonacc1.github.io/process-compose/
Apache License 2.0
1.25k stars 43 forks source link

Add option to show started/starting processes by default #207

Closed stijnveenman closed 1 month ago

stijnveenman commented 2 months ago

Feature Request

The feature of being able to see all processes, even those disabled is great. However, this leads to me basically always pressing Ctrl-D on startup. And only sometimes using it to start another process. It would be great to have a way to only show enabled by default

Use Case:

Proposed Change:

For me personally, i think defaulting to only showing enabled by default makes sense. However, this does change behaviour. So either adding an env var and startup argument (env var is my preferred method, so i don't have to always type the argument) would be sufficient as well.

Who Benefits From The Change(s)?

Anyone with a large number of processes that often only starts a small subset of processes.

Alternative Approaches

F1bonacc1 commented 2 months ago

Hi @stijnveenman,

That's a good proposal. Today PC already has the --hide-disabled flag. Unfortunately, it was added before the ability to hide (as opposed to remove) the disabled processes. What I am thinking is to convert it to a "hide" instead of "remove" behavior. I believe that from a user perspective, it will look the same, and add the ability to "unhide" them with Ctrl-D.

What do you think?

stijnveenman commented 2 months ago

I think that makes sense, also from a UX perspective it makes more sense with the introduction of the new feature. Does this have an environment variable linked to it?

F1bonacc1 commented 2 months ago

Does this have an environment variable linked to it?

No, but I will add it (actually already did)

F1bonacc1 commented 1 month ago

Added in v1.18.0

Cheers ✌🏻