prometheus/web/ui/mantine-ui/src
Julius Volz b826c43987
Calculate path prefix directly in initial settings Redux value (#14981)
Without this, the page that is shown first renders once with an empty path
prefix value, since the settings update takes a render cycle to complete.
However, we only fetch certain data from the API exactly once for a given
page, and not for every re-render with changed path prefix value (and we
also wouldn't want to fetch it from the wrong location initially).

This duplicates the served endpoint list once more, but exporting them from
App.tsx would also have been dirty (hot reload only works when a file only
exports one component and nothing else, thus there'd be a linter warning).

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-30 14:22:40 +02:00
..
api Add notifications to the web UI when configuration reload fails. 2024-09-27 15:28:38 +02:00
codemirror Some improvements to completion info tooltip for new CM version 2024-04-03 14:50:29 +02:00
components Retry SSE connection unless max clients have been reached. 2024-09-27 16:18:33 +02:00
fonts Add codeicon font for autocompletion icons 2024-03-14 12:00:40 +01:00
images Implement several status pages and other general aspects 2024-02-21 11:13:48 +01:00
lib fix(web): properly format sub-millisecond durations in target status page 2024-09-20 12:02:17 +02:00
pages Remove Query page alert close buttons that don't do anything 2024-09-25 18:27:27 +02:00
promql promql: rename holt_winters to double_exponential_smoothing 2024-09-19 15:29:01 +02:00
state Calculate path prefix directly in initial settings Redux value (#14981) 2024-09-30 14:22:40 +02:00
types feat (ui): Add Native Histogram rendering to new UI (#14431) 2024-07-09 22:51:37 +02:00
App.module.css Don't wrap Prometheus logo + brand line 2024-09-02 13:42:14 +02:00
App.tsx Calculate path prefix directly in initial settings Redux value (#14981) 2024-09-30 14:22:40 +02:00
Badge.module.css Add filtering to SD page and improve state processing 2024-08-28 15:35:32 +02:00
main.tsx Add PromQL logic code and labels explorer from PromLens, add testing deps 2024-09-02 13:45:36 +02:00
mantine-overrides.css Add general Mantine overrides CSS file 2024-09-13 14:40:29 +02:00
Panel.module.css Nicer panel health colors for both light and dark modes 2024-08-02 19:47:01 +02:00
promql.css Minor cleanups 2024-09-04 17:44:54 +02:00
setupTests.ts Add PromQL logic code and labels explorer from PromLens, add testing deps 2024-09-02 13:45:36 +02:00
styles.ts Factor out common icon and card styles 2024-09-13 14:44:04 +02:00
vite-env.d.ts Add scaffold for new Mantine-based UI 2024-02-17 12:29:47 +01:00