Aucune description

Insouciant21 814cc92002 chore: clean up code structure and remove unused code blocks il y a 4 mois
app e614ae9201 feat: update metrics data and remove mock API il y a 4 mois
components e614ae9201 feat: update metrics data and remove mock API il y a 4 mois
hooks 814cc92002 chore: clean up code structure and remove unused code blocks il y a 4 mois
lib e614ae9201 feat: update metrics data and remove mock API il y a 4 mois
public 6a56867006 feat: Initialize Next.js application with dashboard, metrics, analysis, and settings pages, including core UI components and configurations. il y a 6 mois
.dockerignore 672d1a6b1b 更新 '.dockerignore' il y a 6 mois
.env.example e614ae9201 feat: update metrics data and remove mock API il y a 4 mois
.eslintrc.json 6a56867006 feat: Initialize Next.js application with dashboard, metrics, analysis, and settings pages, including core UI components and configurations. il y a 6 mois
.gitignore 814cc92002 chore: clean up code structure and remove unused code blocks il y a 4 mois
AGENTS.md e614ae9201 feat: update metrics data and remove mock API il y a 4 mois
Dockerfile c2906b3de3 feat: nextjs16 Dockerfile il y a 6 mois
README.md e614ae9201 feat: update metrics data and remove mock API il y a 4 mois
eslint.config.mjs 6a56867006 feat: Initialize Next.js application with dashboard, metrics, analysis, and settings pages, including core UI components and configurations. il y a 6 mois
metadata.json 7676c046ce fix: rename to seec-analysis il y a 6 mois
next-env.d.ts 814cc92002 chore: clean up code structure and remove unused code blocks il y a 4 mois
next.config.ts 814cc92002 chore: clean up code structure and remove unused code blocks il y a 4 mois
package.json 814cc92002 chore: clean up code structure and remove unused code blocks il y a 4 mois
pnpm-lock.yaml 814cc92002 chore: clean up code structure and remove unused code blocks il y a 4 mois
pnpm-workspace.yaml e614ae9201 feat: update metrics data and remove mock API il y a 4 mois
postcss.config.mjs 6a56867006 feat: Initialize Next.js application with dashboard, metrics, analysis, and settings pages, including core UI components and configurations. il y a 6 mois
proxy.ts e614ae9201 feat: update metrics data and remove mock API il y a 4 mois
tsconfig.json c2906b3de3 feat: nextjs16 Dockerfile il y a 6 mois
tsconfig.tsbuildinfo 65195f4da9 bugfix: unfied data il y a 5 mois

README.md

SEEC Analysis

Next.js 前端项目,用于展示 SeeCoder 能力分析指标。当前已接入后端 D4「态度与团队协作」指标接口,其它指标保留目录与页面结构,等待后端 API 补齐。

环境要求

  • Node.js / pnpm
  • 后端服务:backend/ 中的 Spring Boot 服务

本地启动

pnpm install
pnpm run dev

默认前端地址为 Next.js 输出的本地地址,后端默认地址为:

NEXT_PUBLIC_SEEC_ANALYSIS_API_BASE_URL=http://localhost:8080

如需修改后端地址,编辑根目录 .env

已接入接口

前端调用:

GET /api/d4/metrics

完整后端地址由 .env 中的 NEXT_PUBLIC_SEEC_ANALYSIS_API_BASE_URL/api/d4/metrics 拼接得到。

支持的查询参数与后端一致:

  • from: 起始时间,ISO-8601
  • to: 结束时间,ISO-8601
  • projectId: 可选项目过滤
  • taskType: 可选任务类型过滤
  • userId: 可选用户过滤
  • slaMs: 可选 SLA 毫秒数

登录账号

账号登录仍保留为前端本地测试账号:

  • 学生:stu / passwd
  • 教师:teacher / passwd

验证

pnpm lint
pnpm typecheck

说明

  • backend/ 是后端实现,本前端改动不修改该目录。
  • D4 数据来自真实后端接口。
  • K/A/S 与 D1-D3 暂无后端接口,页面中显示为「未接入」状态。