Hide alert annotations by default

See https://github.com/prometheus/prometheus/issues/16911

This will create a denser layout by default, enabling people to see more
information on the page without having to discover the global settings menu.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2025-11-25 14:44:31 +01:00
parent e43f1bafca
commit a1a3114a27

View file

@ -102,7 +102,7 @@ export const initialState: Settings = {
),
showAnnotations: initializeFromLocalStorage<boolean>(
localStorageKeyShowAnnotations,
true
false
),
showQueryWarnings: initializeFromLocalStorage<boolean>(
localStorageKeyShowQueryWarnings,