feat: delay the loading text in create graph (#268)

* feat: delay the loading text in create graph

* fix: biome version in biome.json
This commit is contained in:
Dani Akash
2026-01-22 11:21:44 +05:30
committed by GitHub
parent a0df1ae0bb
commit 36656f4c1d
3 changed files with 9 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"root": false,
"extends": "//",
"vcs": {

View File

@@ -384,7 +384,13 @@ export const CreateGraph: FC = () => {
}, [status, lastAssistantMessageWithGraph ?? {}])
if (!isInitialized || isLoadingProviders || !selectedProviderForHeader) {
return <div className="h-screen w-screen bg-background" />
return (
<div className="flex h-screen w-screen items-center justify-center bg-background text-foreground">
<div className="fade-in animate-in text-muted-foreground duration-200 [animation-delay:300ms] [animation-fill-mode:backwards]">
Loading...
</div>
</div>
)
}
return (

View File

@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",