Is this (in the admin settings) something possible to do? Since the mini-profiler is always on the left side of the screen, it’s often in the way for a language that has left-to-right reading and left-justified text. It’d be great if we could toggle it on only when needed for troubleshooting.
You can put multiple developers in DISCOURSE_DEVELOPER_EMAILS in app.yml by separating them with commas. Removing the email from that variable also removes them from the role unless you have contrived to add that to the database (which I didn’t know was possible).
I just personally fell prey to the lack of info in the UI about the mini-profiler, what it is, what it is called, why it is shown to me, and how to hide it. I set up sites but am not a developer, so don’t ever need to see it but have just gotten used to it.
At a minimum, I suggest that we update the documentation to explain the current behavior:
new topic devoted to it here on meta or update it if it exists unless it exists and I didn’t find it , and include keywords people might use to look for it, and delete or update the topics about it and add a #miniprofiler (or is it #mini-profiler?) tag.
Beyond that, if possible I’d like to see help text for those who are confused about it and want to make it go away eg “Miniprofiler - press ALT+P to toggle display”.
The below seems to be a good step by step guide to adding it for a user on your site.
Yeah, I am attracted to that idea. Even if you are in DISCOURSE_DEVELOPER_EMAILS it would default to off.
I noticed that when I removed my email address from DISCOURSE_DEVELOPER_EMAILS in app.yml and did a rebuild, I lost the miniprofiler entirely. I would have expected it to still show up using ALT+P but likely there are some technical details I am not aware of.
That’s what makes is possible for you to see the miniprofiler.
But it could be changed to default off, and people who wanted it could ALT-P to turn it on. I think that would solve this problem for most everyone. I doubt that if it gets turned off by default a bunch of people will be asking how to turn it back on (and I presume that the shortcut is in the shortcuts menu)