How to configure Search Bar toggle close - Kiosk mode is not a valid option for my use case

  • What Grafana version and what operating system are you using?
    10.2.3

  • What are you trying to achieve?
    I want to configure the Search Bar to be closed by default. I cannot use Kiosk mode since I still want to use the Time Range and ‘Refresh’ settings.

  • How are you trying to achieve it?
    I don’t want to use css to display:hide the bar, I have some users that still login.

Tried to use GF_FEATURE_TOGGLES_ENABLE_SEARCH=false as an env variable in docker-compose.yml

  • What did you expect to happen?
    Have an search bar collapsed with the ‘Toggle Search Bar’ arrow pointing down.

  • Can you copy/paste the configuration(s) that you are having problems with?
    N/A

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    Environmental Variable didn’t work.

  • Did you follow any online instructions? If so, what is the URL?
    Asked a few GPTs with various answers, no good results.
    Also (not a good solution for my use case): Is it possible set Top search bar collapsed by default? · grafana/grafana · Discussion #67650 · GitHub