UnisKB/ui
panyy b23569e0b8 fix(mindmap): surface backend validation messages in the workbench
find_err_detail relied on ReturnDict.serializer, so plain string and list
errors lost their message and nested ones could raise. Walk dicts and
lists directly instead, and keep the internal non_field_errors key out of
user-facing text.

The axios interceptor toasted every failure before the page could handle
it, so saving over the mindmap limit showed two messages and the workbench
fell back to a generic one. Add an opt-in silentError flag and let the
workbench render the server message itself.
2026-11-12 17:54:06 +08:00
..
env chore(config): 更新应用标题并添加嵌入模型默认值 2025-12-29 10:59:32 +08:00
public feat(ui): logo和菜单调整 2026-03-12 16:17:02 +08:00
src fix(mindmap): surface backend validation messages in the workbench 2026-11-12 17:54:06 +08:00
.editorconfig init project 2025-04-14 20:11:23 +08:00
.gitattributes init project 2025-04-14 20:11:23 +08:00
.gitignore init project 2025-04-14 20:11:23 +08:00
.prettierrc.json init project 2025-04-14 20:11:23 +08:00
README.md feat(ui): ui测试 2026-03-12 11:08:38 +08:00
admin.html fix: Infinite cycle, maximum number of cycles failed and page scaling (#4121) 2025-09-26 14:11:10 +08:00
chat.html fix: Infinite cycle, maximum number of cycles failed and page scaling (#4121) 2025-09-26 14:11:10 +08:00
env.d.ts feat: Dialogue built-in user information function (#4188) 2025-10-14 17:53:58 +08:00
eslint.config.ts refactor: add TypeScript type annotations and update ESLint rules 2025-07-03 20:18:06 +08:00
package.json feat: integrate AI workbench, unified permissions and access control 2026-10-27 10:54:52 +08:00
pnpm-lock.yaml chore(release): include refact runtime sources and frontend lockfile 2026-11-06 14:51:58 +08:00
pnpm-workspace.yaml chore(release): include refact runtime sources and frontend lockfile 2026-11-06 14:51:58 +08:00
tsconfig.app.json feat: Resources authorization (#3183) 2025-06-04 13:05:39 +08:00
tsconfig.json init project 2025-04-14 20:11:23 +08:00
tsconfig.node.json init project 2025-04-14 20:11:23 +08:00
vite.config.ts feat:优化重构 2026-10-21 15:48:54 +08:00

README.md

ui

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

测试提交