Paginate rule groups, add infinite scroll to rules within groups
This addresses extreme slowness when you have thousands of rules in potentially hundreds of rule groups. It can still be a bit slow even with pagination and infinite scroll for very large use cases, but it's much better already than before. Fixes https://github.com/prometheus/prometheus/issues/15551 Signed-off-by:Julius Volz <julius.volz@gmail.com>
Showing
- web/ui/mantine-ui/src/components/SettingsMenu.tsx 107 additions, 53 deletionsweb/ui/mantine-ui/src/components/SettingsMenu.tsx
- web/ui/mantine-ui/src/pages/AlertsPage.tsx 180 additions, 124 deletionsweb/ui/mantine-ui/src/pages/AlertsPage.tsx
- web/ui/mantine-ui/src/pages/RulesPage.tsx 191 additions, 148 deletionsweb/ui/mantine-ui/src/pages/RulesPage.tsx
- web/ui/mantine-ui/src/state/localStorageMiddleware.ts 1 addition, 0 deletionsweb/ui/mantine-ui/src/state/localStorageMiddleware.ts
- web/ui/mantine-ui/src/state/settingsSlice.ts 12 additions, 0 deletionsweb/ui/mantine-ui/src/state/settingsSlice.ts
Please register or sign in to comment