prometheus/web/ui/react-app/src
Julius Volz aa7bf083e9
Move /targets page discovered labels to expandable section (#12824)
* Move /targets page discovered labels to expandable section

The current tooltip for showing the pre-relabeling discovered labels for a
target is notoriously unreliable and can get cut off when there are many
labels. This PR introduces a (hopefully unobtuse enough) expander/collapser
button for the discovered labels of each target, and then the discovered labels
are shown in a more persistent way underneath the final target labels, instead
of using a tooltip.

Fixes https://github.com/prometheus/prometheus/issues/9175#issuecomment-1713074341

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Remove obsolete test snapshot

Signed-off-by: Julius Volz <julius.volz@gmail.com>

---------

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2023-09-11 11:36:44 +02:00
..
components Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
constants Make React UI the default, keep old UI under /classic (#8142) 2020-11-03 14:51:48 +01:00
contexts fix some typos (#12498) 2023-06-29 12:28:13 +02:00
fonts Add new codemirror-promql-based expression editor (#8634) 2021-03-23 23:55:52 +01:00
hooks Init value for useState hook calls once (#11802) 2023-01-03 22:09:00 +01:00
images Fix serving of Prometheus logo, move it into 'src/images' (#10236) 2022-02-02 14:53:30 +01:00
pages Move /targets page discovered labels to expandable section (#12824) 2023-09-11 11:36:44 +02:00
themes Directly include SVG logo in the page. 2023-03-04 00:36:07 +01:00
types Add 'keep_firing_for' field to alerting rules 2023-01-13 12:11:39 +01:00
utils Show individual scrape pools on /targets page (#11142) 2022-12-23 11:55:08 +01:00
vendor/flot Put flot under MIT (#11603) 2022-11-20 18:09:21 -05:00
App.test.tsx Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
App.tsx Directly include SVG logo in the page. 2023-03-04 00:36:07 +01:00
globals.ts upgrade react-script to v4 2021-09-04 15:56:36 +02:00
index.tsx Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
Navbar.test.tsx Upgrade create-react-app to v5 (#10396) 2022-03-05 20:45:55 +01:00
Navbar.tsx Directly include SVG logo in the page. 2023-03-04 00:36:07 +01:00
react-app-env.d.ts
setupProxy.js web: Make the dev proxy work with newer Node.js versions (#10690) 2022-05-17 02:20:58 -06:00
setupTests.ts add global mock for the matchMedia function 2021-09-14 15:49:46 +02:00
Theme.tsx Add a dark theme (#8604) 2021-04-15 18:14:07 +02:00