dagster-io / dagster

An orchestration platform for the development, production, and observation of data assets.
https://dagster.io
Apache License 2.0
11.31k stars 1.43k forks source link

[dagit] Allow users to scaffold a config schema in the launchpad that includes default values #7227

Open OwenKephart opened 2 years ago

OwenKephart commented 2 years ago

currently, we only scaffold values that the run cannot execute without. sometimes it's nice to look at all of the configuration, including default values at once.

slack: https://dagster.slack.com/archives/C01U5LFUZJS/p1648553329565149

bengotow commented 2 years ago

Our current thinking here is that it would be easiest to have a "View Full Config" button in the launchpad somewhere, which shows your config with the defaults applied. (We don't necessarily want to encourage editing on top of the defaults because it could be 500kb of YAML, etc.) Instead, maybe people could copy-paste specific sections of the preview they want to edit back into the editor.

Edit: If this is a button that opens a read-only modal, it would also be nice to have it on the run page.

hellendag commented 2 years ago

I need to follow up with @dpeng817 on the feasibility of this.

hellendag commented 2 years ago

@dpeng817 says this is doable, but adding this to the schema probably can't be prioritized right now. Moving to the Later list for now.