prometheus/web/ui/mantine-ui
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
..
public Build both old & new UI into Prometheus, allow choosing via feature flag 2024-04-18 15:08:40 +02:00
src Calculate path prefix directly in initial settings Redux value (#14981) 2024-09-30 14:22:40 +02:00
.gitignore Add scaffold for new Mantine-based UI 2024-02-17 12:29:47 +01:00
eslint.config.mjs Make linter run by upgrading the ESLint config 2024-09-06 20:35:55 +02:00
index.html Mantine UI: Use actual lookback delta in explain 2024-09-10 13:01:57 +02:00
package.json Retry SSE connection unless max clients have been reached. 2024-09-27 16:18:33 +02:00
postcss.config.cjs Add scaffold for new Mantine-based UI 2024-02-17 12:29:47 +01:00
tsconfig.json Add scaffold for new Mantine-based UI 2024-02-17 12:29:47 +01:00
tsconfig.node.json Add scaffold for new Mantine-based UI 2024-02-17 12:29:47 +01:00
vite.config.ts UI: Make mantime UI assets relative 2024-09-24 15:30:54 +02:00
vitest.config.ts Add PromQL logic code and labels explorer from PromLens, add testing deps 2024-09-02 13:45:36 +02:00