Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aidbox-ts-sdk
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"type": "module",
"scripts": {
"preinstall": "cd aidbox-ts-sdk/packages/aidbox-client && pnpm install && pnpm build && cd ../react-components && pnpm install && pnpm build",
"preinstall": "cd aidbox-ts-sdk/packages/aidbox-client && pnpm install && pnpm build && cd ../react-components && pnpm install && pnpm build && cd ../aidbox-fhirpath-lsp && pnpm install && pnpm build",
"dev": "vite",
"rc:build": "cd aidbox-ts-sdk/packages/react-components && pnpm build && cd ../../.. && pnpm install && rm -rf node_modules/.vite",
"client:build": "cd aidbox-ts-sdk/packages/aidbox-client && pnpm build && cd ../../.. && pnpm install && rm -rf node_modules/.vite",
Expand Down Expand Up @@ -57,14 +57,15 @@
"diff": "^8.0.3",
"postcss@<8.5.10": ">=8.5.10",
"@codemirror/view": "^6.42.0",
"@codemirror/autocomplete": "6.20.2"
"@codemirror/autocomplete": "6.20.2",
"@health-samurai/aidbox-client": "file:./aidbox-ts-sdk/packages/aidbox-client"
}
},
"dependencies": {
"@git-diff-view/file": "^0.0.30",
"@git-diff-view/react": "^0.0.30",
"@health-samurai/aidbox-client": "file:aidbox-ts-sdk/packages/aidbox-client",
"@health-samurai/aidbox-fhirpath-lsp": "0.0.0-alpha.7",
"@health-samurai/aidbox-fhirpath-lsp": "file:aidbox-ts-sdk/packages/aidbox-fhirpath-lsp",
"@health-samurai/react-components": "file:aidbox-ts-sdk/packages/react-components",
"@mcp-b/global": "^2.1.0",
"@replit/codemirror-vim": "^6.3.0",
Expand Down
26 changes: 9 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions src/routes/analytics.index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -460,12 +460,6 @@ export function AnalyticsListPage({
}
}, []);

const loading =
kind === "view"
? views.isLoading
: kind === "query"
? queries.isLoading
: views.isLoading || queries.isLoading;
const combined: RecentItem[] = [
...(views.data ?? []),
...(queries.data ?? []),
Expand Down Expand Up @@ -531,16 +525,6 @@ export function AnalyticsListPage({
})
: tagFiltered;

if (loading) {
return (
<div className="h-full overflow-y-auto p-6 space-y-2">
<HSComp.Skeleton className="h-14 w-full" />
<HSComp.Skeleton className="h-14 w-full" />
<HSComp.Skeleton className="h-14 w-full" />
</div>
);
}

const noun =
kind === "view" ? "view" : kind === "query" ? "query" : "view or query";
const isEmpty = allItems.length === 0 && tags.length === 0 && !text;
Expand Down