Skip to content

Commit

Permalink
pagination and filter with deferred values (#2688)
Browse files Browse the repository at this point in the history
* pagination and filter with deferred values

* fix: Display error button when session is truthy

* add "Active" tab for 'created' and 'destroying'

* fix lint
  • Loading branch information
yomybaby committed Sep 4, 2024
1 parent 2c8d9a6 commit 95093ee
Show file tree
Hide file tree
Showing 4 changed files with 359 additions and 454 deletions.
10 changes: 9 additions & 1 deletion react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,15 @@ const router = createBrowserRouter([
handle: { labelKey: 'modelService.StartNewService' },
element: (
<BAIErrorBoundary>
<ServiceLauncherCreatePage />
<Suspense
fallback={
<Flex direction="column" style={{ maxWidth: 700 }}>
<Skeleton active />
</Flex>
}
>
<ServiceLauncherCreatePage />
</Suspense>
</BAIErrorBoundary>
),
},
Expand Down
Loading

0 comments on commit 95093ee

Please sign in to comment.