HomeElementl

[dagit] Preserve solid selection when refreshing config

Description

[dagit] Preserve solid selection when refreshing config

Summary:
Based on a user report. With the change to allow refreshing configs after a manual repo reload, the user's current solid selection is not preserved.

Fix this by keeping the currentSession.solidSelection around, if any.

Test Plan: View pipelines with presets and partition sets. Use a solid selection, then reload the repo and refresh config. Verify that the solid selection is preserved.

Reviewers: bengotow, catherinewu, sashank

Reviewed By: sashank

Differential Revision: https://dagster.phacility.com/D6425

Details

Provenance
dishAuthored on Feb 11 2021, 5:11 PM
Reviewer
sashank
Differential Revision
D6425: [dagit] Preserve solid selection when refreshing config
Parents
R1:39a51f20001d: Move required_daemons(instance) to DagsterInstance.get_required_daemon_types()
Branches
Unknown
Tags
Unknown