Files
unknownandCursor 21cc721fcc feat(queries): 完成 M04 查询定义与版本激活
交付不可变查询版本、保存即生效与激活(D26),并带控制台列表筛选排序与试跑预览;补 RLS 下 current_version_no 回填迁移。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 18:32:24 +08:00

27 lines
933 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Review S5 — Vue queries console
## Status
PASS_WITH_WARNINGS — module landed; unit/typecheck verified in session; e2e evidence pending formal S6 run.
## Scope delivered
- `web/apps/console/src/queries/**` — list/edit/gate/version/preview helpers
- Routes under `/queries` in `router.ts`; nav/crumbs in `AppShell.vue`
- `allowsQueries` admin gate in `session.ts`
- Locales (四语言) + `docs/current/frontend-ui.md` 查询节
- Unit specs: validation/payload/client/errors/locales
- E2E: `web/apps/console/e2e/queries.spec.ts` (mocked API)
## UX defaults locked for S5
- Preview saved draft; dirty form disables preview / prompts save before publish
- Disabled: list preview disabled; detail preview click → 409 explanation
- Masking via API `masked_columns`
## Remaining for S6
- Formal Playwright run + screenshots under `docs/evidence/M04/ui/`
- Independent module review across S1–S5
- Full pytest regression