afc163
0d7217fbe7
test: improve test quality based on code review feedback
- basic-form: actually click submit button and verify fakeSubmitForm
was called, instead of just asserting button exists
- basic-form: import waitFor from @testing-library/react
- analysis: assert '0 items' text after empty data loads instead of
checking element that exists on initial render
- Replace dynamic import with static import in 3 test files where mock
factories don't reference file-level variables (analysis, basic-form,
table-list); keep dynamic import in app.test.tsx where mock factory
references mockHistory/mockQueryCurrentUser which aren't available
during hoisted static import resolution
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
3 months ago
afc163
4e4f842e8d
test: add core page test coverage ( #11824 )
Add Vitest test suites for core modules and pages:
- access.ts: 100% coverage (canAdmin permission logic)
- requestErrorConfig.ts: 100% coverage (errorThrower, errorHandler for all
showType branches, request interceptor token attachment)
- app.tsx getInitialState: currentUser fetch, 401 redirect with path
encoding, login-page skip path
- table-list (ProTable): 53% — column rendering, request invocation
- basic-form (ProForm): 86% — field rendering, submit handling
- dashboard/analysis: data fetching and child component data flow
Register @testing-library/jest-dom matchers in setupTests for DOM
assertions. 42 tests total.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4 months ago
dependabot[bot]
a0c00b8c33
chore(deps): bump the dependencies group with 5 updates ( #11853 )
Signed-off-by: dependabot[bot] <support@github.com>
3 months ago
afc163
cc9709d56e
chore: upgrade core dependencies ( #11848 )
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4 months ago
afc163
a7646cce4b
chore: upgrade toolchain dependencies ( #11849 )
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4 months ago
afc163
7461b1bb83
feat: migrate Jest to Vitest ( #11841 )
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
4 months ago
dependabot[bot]
f801fcab09
chore(deps-dev): bump the dependencies group across 1 directory with 2 updates ( #11796 )
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
afc163
4f7aff7bdf
chore: upgrade antd and related dependencies to latest ( #11797 )
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
4 months ago
dependabot[bot]
b646e21665
chore(deps): bump @rc-component/util from 1.10.1 to 1.11.0 in the dependencies group ( #11791 )
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
dependabot[bot]
18c6646f4e
chore(deps-dev): bump @types/node from 25.7.0 to 25.8.0 in the dependencies group ( #11790 )
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
afc163
dd53cfc02b
chore(deps-dev): bump @ant-design/cli from 6.4.1 to 6.4.2 ( #11787 )
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
4 months ago
afc163
45cefe71c4
chore(deps): bump antd to 6.4.2 and @ant-design/cli to 6.4.1
- Replace deprecated Alert `message` prop with `title`
- Update login test snapshots for antd 6.4.2 DOM changes
- Remove unused `useCallback` import in OfflineBanner
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
4 months ago
dependabot[bot]
04caf69ea7
chore(deps): bump mermaid from 11.14.0 to 11.15.0 ( #11778 )
Bumps [mermaid](https://github.com/mermaid-js/mermaid ) from 11.14.0 to 11.15.0.
- [Release notes](https://github.com/mermaid-js/mermaid/releases )
- [Commits](https://github.com/mermaid-js/mermaid/compare/mermaid@11.14.0...mermaid@11.15.0 )
---
updated-dependencies:
- dependency-name: mermaid
dependency-version: 11.15.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
dependabot[bot]
e382ccac1c
chore(deps-dev): bump the dependencies group with 3 updates ( #11779 )
Bumps the dependencies group with 3 updates: [@tailwindcss/postcss ](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss ), [@types/node ](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) and [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss ).
Updates `@tailwindcss/postcss` from 4.2.4 to 4.3.0
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.0/packages/@tailwindcss-postcss )
Updates `@types/node` from 25.6.0 to 25.7.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `tailwindcss` from 4.2.4 to 4.3.0
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.0/packages/tailwindcss )
---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
dependency-version: 4.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: "@types/node"
dependency-version: 25.7.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: tailwindcss
dependency-version: 4.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Alex Zhu
dc15dfb3a4
ci: integrate react-doctor for PR health checks ( #11777 )
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
4 months ago
dependabot[bot]
4ea9eae20e
chore(deps-dev): bump the dependencies group with 4 updates ( #11776 )
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
dependabot[bot]
301d06f00e
chore(deps-dev): bump lint-staged from 16.4.0 to 17.0.2 in the dependencies group ( #11769 )
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Alex Zhu
7deded4d4d
chore: upgrade @umijs/max to 4.6.51, @utoo/pack to 1.4.3 ( #11768 )
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
4 months ago
Claude
0a85cfa455
chore(deps): update @umijs/max to 4.6.50, upgrade utoopack to 1.4.2 ( #11763 )
Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
Co-authored-by: Alex Zhu <afc163@gmail.com>
4 months ago
dependabot[bot]
2dccc92438
chore(deps-dev): bump swagger-ui-dist from 4.19.1 to 5.32.5 in the dependencies group ( #11759 )
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
Claude
a4f0834546
Fix missing swagger-ui package when starting with pnpm ( #11748 )
Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
5 months ago
Alex Zhu
e11716389e
chore: update package-lock.json to fix production build error ( #11736 )
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
5 months ago
afc163
6a6b7fe160
chore: track package-lock.json and update lint config
- Remove package-lock.json from .gitignore
- Add package-lock.json to biome ignore list
- Split json pattern in lint-staged config
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
5 months ago