Skip to content

mantine-ui: Add API client to manage data fetching and caching#4829

Merged
sysadmind merged 4 commits intoprometheus:mainfrom
sysadmind:mantine-api-client
Dec 28, 2025
Merged

mantine-ui: Add API client to manage data fetching and caching#4829
sysadmind merged 4 commits intoprometheus:mainfrom
sysadmind:mantine-api-client

Conversation

@sysadmind
Copy link
Contributor

  • Add tanstack/react-query for data fetching and caching
  • Add data hooks for silences, alerts, and status
  • Add server proxy for local development API requests

- Add tanstack/react-query for data fetching and caching
- Add data hooks for silences, alerts, and status
- Add server proxy for local development API requests

Signed-off-by: Joe Adams <github@joeadams.io>
@sysadmind sysadmind requested review from SuperQ and juliusv December 27, 2025 18:43
Signed-off-by: Joe Adams <github@joeadams.io>
Copy link
Member

@juliusv juliusv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks generally fine to me, although I didn't review the Alertmanager API types in detail - I trust you on those :)

- Add useSuspenseAPIQuery
- Convert data hooks to use Suspense versions
- Add Suspense and ErrorBoundary to handle Suspense data fetching

Signed-off-by: Joe Adams <github@joeadams.io>
Signed-off-by: Joe Adams <github@joeadams.io>
@juliusv
Copy link
Member

juliusv commented Dec 27, 2025

👍

@sysadmind sysadmind merged commit 14b3016 into prometheus:main Dec 28, 2025
8 checks passed
@SoloJacobs SoloJacobs mentioned this pull request Jan 29, 2026
@sysadmind sysadmind deleted the mantine-api-client branch February 21, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants