tilt
tilt copied to clipboard
Allow setting "Show disabled resources" checkbox in Tiltfile
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.
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.
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.