sashuk / watsonc

WatsonC Vidi extension
0 stars 2 forks source link

Show plots tab when state snapshot is recreated and numbre of plots > 0 #19

Closed mapcentia closed 5 years ago

sashuk commented 5 years ago

@mapcentia With the latest changes in https://github.com/sashuk/vidi/issues/238, Vidi knows what tab is currently active and this tab can be activated. However, in order to create the snapshot the stateSnapshots tab has to be opened, so whenever the state snapshot is created, the active tab is always stateSnapshots. So, could you please tell if this issue us about remembering the active tab before the stateSnapshots tab is opened?

mapcentia commented 5 years ago

@sashuk The use case is actually the WatsonC app. The client wants the Plot panel to be open when re-creating a snapshot. So maybe it should just be built into that extension: If there one or more plots are stored in a snapshot, then open the Plot panel.

sashuk commented 5 years ago

@mapcentia Got it, thank you!

sashuk commented 5 years ago

@mapcentia Implemented in https://github.com/sashuk/watsonc/commit/f21e79a8f4ca13cb24c8a308592a11297605a915