- Fix 33 anchor-is-valid issues by adding href="#" to non-navigating <a>
- Fix 7 click-events-have-key-events by adding keyboard handlers
- Fix stale closure in setState by using functional updates
- Add queryClient.invalidateQueries to all useMutation calls
- Replace flushSync with startTransition for non-urgent updates
- Hoist static JSX (extra, Action) to module scope
- Extract render functions to proper components (ChartCard, Settings, Center)
- Use useRef for resize handler to avoid re-subscription
- Use isOnlineRef + forceUpdate pattern in OfflineBanner
- Lower z-index from 999 to 10 in OfflineBanner
- Use .toSorted() instead of spread + .sort()
- Use size-10 Tailwind shorthand, zinc-500 instead of gray-500
- Move Map tooltip styles to antd-style createStyles
- Add title prop to Trend component instead of typeof children check
- Batch DOM style assignments with Object.assign
- Remove unused type/export declarations (knip fixes)
- Remove duplicate named+default exports
- Update react-doctor config: failOn "error", ignore Umi convention files
- Update CI workflow: remove continue-on-error, add Node 22 setup
- Add .umi-undefined to .gitignore
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add react-doctor CI workflow to automatically scan PRs for React
anti-patterns and code health issues. Configure advisory mode (failOn:
none) with project-specific ignore rules for mock, auto-generated, and
non-component directories.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
The cached utoo binary on Windows has an incorrect cache path configuration,
causing package clone operations to fail with paths like "D:\.cache\nm\..."
instead of the correct working directory path.
Disabling the binary cache ensures utoo is freshly installed from npm,
which correctly resolves the cache directory path.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* ci: migrate from bun to utoo for dependency installation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: update jest config for ESM compatibility and refresh login snapshots
Add .js extension to @umijs/max/test import for Node 25 + Jest 30 ESM
resolution, and update login page snapshots to match latest antd Checkbox
DOM structure.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: update antd dependencies and snapshot tests
* fix: update table list form item render signature
* test: add MessageChannel polyfill for jest/jsdom environments
* fix: update antd dependency to version 6.1.3
* fix: update deprecated props in antd components
* ci: switch to bun for faster builds
* Apply suggestions from code review