Previously, each DockerContainerRow component made 2 API calls on mount: - AIAPI.getSettings() for AI enabled status - DockerMetadataAPI.getMetadata() for annotations With 100+ containers, this resulted in 200+ API calls firing simultaneously, exceeding the 500 requests/minute rate limit and causing 429 errors. Fix: - Lift AI settings check to DockerUnifiedTable parent component (1 call) - Use pre-fetched dockerMetadata prop for annotations (already batch-fetched) - Pass aiEnabled and initialNotes as props to child rows This reduces API calls from O(n*2) to O(1) when loading the Docker overview. Fixes #859 |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||