Feature: flag to hide empty tabsets but not delete them #485
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, we're currently developing a product based on the FlexLayout and we have a specific use case where we either have to be able to add new tabsets (currently there is no action that supports this) or be able to define a layout which contains empty tabsets, which serve the purpose of being placeholders for future insertion of tabs through actions.
This serves the purpose of being able to programatically open tabs (in our placeholder tabsets) left and right of our main tabset and have them appear only when they're not empty. In our case we have a pdf editor in the center tabset of the row node, and we'd like to be able to split documents or open other documents left and right of our main editor tab and also be able to apply application state (stored in the url query string, we store which documents are open and how the editors are aligned in the layout) at startup time or when receiving a message from our MQTT broker
To demonstrate what we're looking for and for further discussion, i've created this fork which introduces our desired functionality
Fork-Changes