Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle bar panels: added functionality for toggling bar panels #419

Open
wants to merge 2 commits into
base: v2.6
Choose a base branch
from

Conversation

Walusyak
Copy link

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant