mirror of
https://github.com/zuiidea/antd-admin.git
synced 2026-10-19 16:14:37 +00:00
- Add second sample resource (orders): API, schemas, MSW, routes, menu, Lingui, and E2E. - Introduce useCrudToasts, useUrlSearchState, useTableFitHeight; extend useResourceCRUD with optimistic updates; add Vitest coverage for hooks and createHandler. - Implement token refresh in http layer, RouteError, and new E2E specs (auth-refresh, rbac, url-state). - Replace gen-resource codegen with English add-resource.instructions.md; fix Copilot instruction YAML in with-lingui and basic. - Add with-lingui CI workflow, Cursor thin rules, optimization plan doc, and refresh README/AGENTS. - Bump packages/create and lockfile where applicable. Made-with: Cursor
16 lines
570 B
Plaintext
16 lines
570 B
Plaintext
---
|
||
description: "Refactors without behavior change — dedupe, naming, structure (with-lingui)."
|
||
globs: apps/with-lingui/src/**/*.{ts,tsx}
|
||
alwaysApply: false
|
||
---
|
||
|
||
# with-lingui · Refactor(薄规则)
|
||
|
||
**唯一细则来源**:
|
||
|
||
`apps/with-lingui/.github/instructions/refactor.instructions.md`
|
||
|
||
做行为保持式重构时遵守该文件;与 frontend 规则同时命中时,**重构意图**以本文件指向的 refactor 指令为准,其余 UI 细节仍以 `frontend.instructions.md` 为准。
|
||
|
||
`@apps/with-lingui/.github/instructions/refactor.instructions.md`
|