tracy icon indicating copy to clipboard operation
tracy copied to clipboard

Toggle bar panels: added functionality for toggling bar panels

Open Walusyak opened this issue 5 years ago • 0 comments

  • new feature
  • BC break? no

Tracy can sometimes overlap bottom of modals where the submit buttons are often located. This can occur e.g. when displaying the developer console, which reduces the height of the window and moves the dialog to the bottom of the page where Tracy has the default position. By enabling toggleBarPanels you can minimize Tracy bar instead of closing it what can be handy often.

Configuration example for enable toggling:

tracy:
	toggleBarPanels:
		show: true

Tracy bar default state: image

Tracy bar collapsed: image

We can add exceptions for hiding panels:

tracy:
	toggleBarPanels:
		show: true
		exclude:
			- Tracy-dumps
			- Nette-Bridges-DatabaseTracy-ConnectionPanel

Tracy bar collapsed: image

Walusyak avatar Apr 30 '20 08:04 Walusyak