prometheus/web
Julius Volz dbf5d01a62
Fix full-page re-rendering when opening status nav menu (#16590)
When opening the status pages menu while already viewing one of the
status pages, the whole page would be re-rendered because the menu target's
default action of following the current page's URL was not prevented. Also,
we don't need to use a NavLink component for the menu target when we are
not viewing a status page, because then the component won't need to be
highlighted anyways.

Discovered + fixed with the help of react-scan.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-05-12 12:17:18 +02:00
..
api/v1 Add primitive support for ingesting OTLP delta metrics as-is (#16360) 2025-04-23 09:58:02 -03:00
ui Fix full-page re-rendering when opening status nav menu (#16590) 2025-05-12 12:17:18 +02:00
federate_test.go model/textparse: Change parser interface Metric(...) string to Labels(...) (#16012) 2025-02-12 15:47:56 +00:00
federate.go storage: Implement limit in mergeGenericQuerier 2024-11-07 09:08:23 -08:00
web_test.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 2025-05-03 19:05:13 +02:00
web.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 2025-05-03 19:05:13 +02:00