refactor(widgets): migrate all widgets from useSuspenseQuery to useQuery

Non-blocking data fetching for all 38 widget components. Widgets now
render immediately and show data when available, with loading state
delegated to the global refresh indicator in the board header.
This commit is contained in:
Thomas Camlong committed 2026-05-28 18:07:03 +02:00
1 parent cb5ae65f8a
commit 394debbea1
38 files changed
+96 -67

No files matched your search

@@ -21,7 +21,7 @@ export default function NetworkControllerNetworkStatusWidget({
options,
integrationIds,
}: WidgetComponentProps<"networkControllerStatus">) {
const [summaries] = clientApi.widget.networkController.summary.useSuspenseQuery(
const { data: summaries = [] } = clientApi.widget.networkController.summary.useQuery(
{
integrationIds,
},