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
components Retry SSE connection unless max clients have been reached. 2024-09-27 16:18:33 +02:00
fonts
images
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
App.module.css
App.tsx Calculate path prefix directly in initial settings Redux value (#14981) 2024-09-30 14:22:40 +02:00
Badge.module.css
main.tsx
mantine-overrides.css Add general Mantine overrides CSS file 2024-09-13 14:40:29 +02:00
Panel.module.css
promql.css
setupTests.ts
styles.ts Factor out common icon and card styles 2024-09-13 14:44:04 +02:00
vite-env.d.ts