When adding and removing a lot of panels, the "confirm to remove" modal becomes tedious. Ben has asked for a new option to suppress the modal.
Also expands documentation for layout configuration parameters that I noticed while working on this code.
How to test this
This PR adds a new option, without changing the default behavior. If you do not specify the option, it will continue to prompt before removing the panel.
This option must be explicitly activated by modifying the layout for your plot, adding suppress_confirm: true to the remove_panel dashboard button layout options.
Feature request per @benralexander , #121
Purpose
When adding and removing a lot of panels, the "confirm to remove" modal becomes tedious. Ben has asked for a new option to suppress the modal.
Also expands documentation for layout configuration parameters that I noticed while working on this code.
How to test this
This PR adds a new option, without changing the default behavior. If you do not specify the option, it will continue to prompt before removing the panel.
This option must be explicitly activated by modifying the layout for your plot, adding
suppress_confirm: true
to theremove_panel
dashboard button layout options.