klembot / twinejs

Twine, a tool for telling interactive, nonlinear stories
https://twinery.org
GNU General Public License v3.0
1.98k stars 294 forks source link

[2.6] Auto-expand collapsed editor stack on new editor selected #1355

Open hituro opened 1 year ago

hituro commented 1 year ago

Is your feature request related to a problem? Please describe.

In the new 2.6 release, multiple passage editors "stack" up to five deep, however the entire stack shares a collapsed/expanded state. That means that opening a new passage while the editor stack is collapsed, just adds a new collapsed tab, which must then be clicked to expand.

Similarly if you switch tabs when the stack is collapsed, it stays collapsed, so you must again do another click to see the tab you want

Describe the solution you'd like.

Describe alternatives you've considered.

None

Additional context on this suggestion.

No response

Presubmission checklist

klembot commented 1 year ago

Seems plausible to me, since that would match the behavior of re-opening a dialog like Preferences.