Skip to content

feat(admin): add exam operations detail#13

Merged
coding-hui merged 3 commits into
mainfrom
feat/admin-exam-operations
May 17, 2026
Merged

feat(admin): add exam operations detail#13
coding-hui merged 3 commits into
mainfrom
feat/admin-exam-operations

Conversation

@coding-hui
Copy link
Copy Markdown
Owner

Summary

  • Add Batch 3 exam operations metadata to admin exam detail responses, including snapshot, scoring, candidate, submission, result, and audit counts.
  • Convert exam sessions to paginated admin responses and update the ExamDetail tables to request page/page_size from ProTable pagination.
  • Add an operations header to ExamDetail and preserve the active detail tab in the URL.
  • Mark Batch 3 complete in the roadmap plan.

Impact

Admin exam detail now behaves like an operations console instead of fixed 100-row loads. Operators can inspect snapshot context and live counts while paging users, submissions, and audit events without loading all rows at once.

Verification

  • go test ./...
  • go test ./internal/api ./internal/exam
  • pnpm --dir apps/admin jest --runInBand
  • pnpm --dir apps/admin lint
  • pnpm --dir apps/admin build
  • git diff --check
  • Chrome regression for operations header fields, results/sessions/events paginated requests, tab URL persistence, and console cleanliness.

@coding-hui coding-hui marked this pull request as ready for review May 17, 2026 06:24
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0117afc9fb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/admin/src/pages/Examination/ExamDetail/index.tsx
@coding-hui coding-hui merged commit 7eac6a3 into main May 17, 2026
2 checks passed
@coding-hui coding-hui deleted the feat/admin-exam-operations branch May 17, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant