Skip to content

Promote Exams to top-level admin navigation and remove assignment UI from instructor dashboard - #156

Merged
kristofer merged 5 commits into
mainfrom
copilot/exams-top-level-admin-menu-item
Jun 9, 2026
Merged

kristofer merged 5 commits into
mainfrom
copilot/exams-top-level-admin-menu-item

Conversation

Copilot AI commented Jun 9, 2026 •

Copy link
Copy Markdown

Admins can now reach exam creation, assignment, and score management directly from the top-level admin menu. This also removes the assigned-quiz UI from instructor.html and moves assigned-exam management off the instructor dashboard into its own admin page.

  • Admin navigation

    • Adds an Exams tab to the admin menu alongside Users, Questions, Quizzes, and Topics.
    • Updates existing admin entry points to land on the admin menu rather than the instructor dashboard.
  • Dedicated exams admin page

    • Introduces static/admin-exams.html with a focused exams workflow:
      • generate exams
      • assign exams to students
      • view exam URLs
      • review assigned exam scores
    • Moves the exam-management client logic into static/js/admin/exams-page.js.
  • Instructor dashboard cleanup

    • Removes the Assigned Quizzes section and related client-side logic from static/instructor.html.
    • Removes the Assigned Exams section and related client-side logic from static/instructor.html.
    • Keeps the instructor page focused on analytics, student progress, and import/export.
  • Client-side hardening

    • Normalizes API-provided IDs before rendering them into DOM attributes.
    • Preserves exam names correctly in the score-detail view without entity-encoding artifacts.
<ul class="nav nav-pills nav-sm mb-0">
  <li class="nav-item"><a class="nav-link" href="/admin.html">Users</a></li>
  <li class="nav-item"><a class="nav-link" href="/admin-questions.html">Questions</a></li>
  <li class="nav-item"><a class="nav-link" href="/admin-quizzes.html">Quizzes</a></li>
  <li class="nav-item"><a class="nav-link active" href="/admin-exams.html">Exams</a></li>
  <li class="nav-item"><a class="nav-link" href="/admin-topics.html">Topics</a></li>
</ul>

Copilot AI linked an issue Jun 9, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add exams as a top-level admin menu item Promote Exams to top-level admin navigation and remove assignment UI from instructor dashboard Jun 9, 2026
Copilot AI requested a review from kristofer June 9, 2026 12:53
@kristofer
kristofer marked this pull request as ready for review June 9, 2026 13:42
@kristofer
kristofer merged commit e9602e2 into main Jun 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exams should be a top-level admin menu item

2 participants