prometheus/web/ui/mantine-ui
Julius Volz 36d054cb2e
UI: Add graph option to start the chart's Y axis at zero (#17565)
To reduce main UI clutter, I added a new settings submenu above the chart
itself for the new setting. So far it only has the one new axis setting, but it
could accommodate further settings in the future.

For now I'm only adding a boolean on/off setting to the UI to set the Y axis to
0 or not. However, the underlying stored URL field is already named
y_axis_min={number} and would support other Y axis minima, in case we want to
support custom values in the UI in the future - but then we'd probably also
want to add an axis maximum and possibly other settings.

Fixes https://github.com/prometheus/prometheus/issues/520

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-11-20 14:28:18 +01:00
..
public Build both old & new UI into Prometheus, allow choosing via feature flag 2024-04-18 15:08:40 +02:00
src UI: Add graph option to start the chart's Y axis at zero (#17565) 2025-11-20 14:28:18 +01:00
.gitignore Add scaffold for new Mantine-based UI 2024-02-17 12:29:47 +01:00
eslint.config.mjs UI: Speed up alerts/rules/... pages by not rendering collapsed content 2025-11-06 11:32:59 +01:00
index.html Mantine UI: Use actual lookback delta in explain 2024-09-10 13:01:57 +02:00
package.json ui: make update-npm-deps 2025-11-06 20:06:56 +01: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