datasette
datasette copied to clipboard
Hide all plugins registered with makeAboveTablePanelConfigs
I’m working with the makeAboveTablePanelConfigs method in my plugin and have a question about its behavior. Shouldn't clicking the panel button a second time close the panel (e.g., setting display: none)? I understand that when multiple plugins are registered using this method, clicking different buttons toggles between the panels of the respective plugins. However, wouldn’t it make sense to have an option to hide all panels entirely to free up workspace?