Я знаю, что они отображаются только для администраторов, но мне это не нравится, я не вижу в этом смысла.
Я знаю, что есть ярлык для их скрытия (Option + P), но при следующем открытии Discourse они появляются снова. Как можно навсегда скрыть/удалить их?
hawm
(Hawm)
25.Сентябрь.2023 10:47:52
2
Вы можете скрыть его, добавив немного CSS в тему или компонент темы:
.profiler-results {
display: none
}
This is a crash course in Discourse theme basics. The target audience is everyone who is not familiar with Discourse themes. If you’ve already used Discourse theme / theme components, this guide is probably not something you need to read.
What are themes and theme components?
A theme or theme component is a set of files packaged together designed to either modify Discourse visually or to add new features.
Let’s start with themes.
Themes
In general, themes are not supposed to be compatible …
Stephen
(Stephen)
25.Сентябрь.2023 13:29:37
3
Это мини-профайлер. Он отображается только для пользователя, чей адрес электронной почты совпадает с адресом разработчика в вашем файле app.yml.
Вы можете скрыть его, нажав alt + p .