tilt icon indicating copy to clipboard operation
tilt copied to clipboard

Allow setting "Show disabled resources" checkbox in Tiltfile

Open Dhouti opened this issue 2 years ago • 2 comments

Describe the Feature You Want

Would love the option to enable this checkbox at runtime instead of having to check it on individual tilt sessions.

Current Behavior

The option is not persisted across multiple Tilt sessions, so i have to re-enable it often.

Why Do You Want This?

This is a minor inconvenience to myself but is also causing a small amount of confusion to the users of my Tiltfiles when the option is not enabled.

Dhouti avatar Mar 03 '22 21:03 Dhouti

This would be great to have. It seems like it would be a fairly small change to move

https://github.com/tilt-dev/tilt/blob/36bde8962ce24008f3e3b2b7f0eedd5d864a2dae/web/src/ResourceListOptionsContext.tsx#L30

from session to local storage to cover the "I have to re-enable this a lot" use case.

But it would be neat to declare initial UI state in the Tiltfile depending on your use case, e.g. if you intend devs to start up the system in a minimal state and allow them to then enable things of interest.

foot avatar Jan 16 '23 17:01 foot

We've got the usecase of devs starting up with no resources and enabling the cluster features they need to work on/with. Setting in in the Tiltfile would be ideal. Right now there's a readme line calling out the need to check that box, but it's easily missed/forgotten.

skeet70 avatar Oct 02 '23 22:10 skeet70