Documentation index. Application admin accounts are distinct from developer access to Convex. Pending choices are tracked in the decision register.
The non-student side uses specific admin usernames and passwords backed by Convex. This replaces the earlier Google-account login requirement. Admins do not use student name codes to access management features.
- Persist each admin identity and authentication records in Convex; store password hashes rather than readable passwords.
- Admin sign-in opens the admin dashboard, with visible signed-in identity and sign-out.
- Check admin authorization in backend operations as well as page navigation. A student session cannot perform management operations.
- Authentication uses Convex Auth’s password provider. Until in-app provisioning exists, a developer creates admin accounts with
npx convex run admins:createAdmin(see deployment); forgotten-password recovery is still pending (D02). - Website admin accounts are distinct from developer accounts used to operate the Convex service.
The dashboard is the entry point for every approved non-student feature. It exposes defined forms and actions for editing application data; admins do not need the developer's Convex dashboard for normal teaching work.
| Dashboard area | Required capabilities |
|---|---|
| Students | Spreadsheet roster intake; view/edit student records; change login code; change basic/advanced group and curriculum; print login tickets; record attendance |
| Lessons and Slides | Add, reorder and remove (empty) curriculum days; edit topics; upload, replace or remove each day's cover image; set the slides link students open |
| Schedule | Edit yearly lesson dates and times. A day opens to students on its lesson date (D04); turn-in never closes, so a date doesn't limit turn-in |
| Assignments | Create/edit guided and open-ended assignments; reorder them on a day; save drafts, publish (each published edit is a new task version, D08), unpublish, remove unopened drafts; change instructions, starter files, expected output, and evaluation configuration |
| Review and Notes | Open submitted snapshots and saved student work; review expected versus actual output and completion results; add notes and student feedback; inspect every submission, return, and resubmission |
| Assistance and Help | See help alerts and active students (a class list, not a seating chart: there is no assigned seating); join work directly with notification; view/edit/run code; use labeled cursors; send guidance |
| Settings | Edit approved behavior settings: current school year and time zone. There are no turn-in window settings (D13) |
| Change History | Inspect recorded admin changes to student records, logins, curricula, lessons, assignments, schedules, and settings |
Configurable functionality means exposing controls for approved product behavior. New features still require discussion before they appear in the specification or dashboard.
- Student curriculum changes retain identity, old work, submitted versions, and history.
- Changing a student login is an explicit admin action. Validate uniqueness across all students and retain the student's internal identity and work; display the updated code for ticket reprinting.
- Schedule controls show the target year, lesson, effective date/time, and time zone. Unscheduled lessons must not acquire invented dates.
- Content, expected-output, and configuration edits cannot silently overwrite student files, prior submissions, or historical check results.
- Notes associated with student review must be clearly distinguished from execution output and automated check results. Written feedback is optional and student-visible; a separate private note is visible to admins only (D07).
- Use contextual forms with validation and save feedback for editable data rather than exposing arbitrary database fields.
- Separate live assistance from review of a submitted snapshot, while preserving a clear path between them.
- Use a persistent dashboard navigation with the selected group/curriculum/year visible where relevant. Below 1280 px it collapses into a compact top bar with a Menu (D17).
- Every admin screen works on a phone at 375 px wide with no sideways page scrolling and touch targets of about 44 px; finding an assignment (Assignments, Curriculum's day and assignment list, the Review queue) comes first. See responsive breakpoints.
- Expose every approved teaching feature within the dashboard; keep these controls out of the student interface.
- Record admin changes with the acting admin, time, affected record, and relevant previous/new values. Never record readable passwords or credentials in change history.
- Sign in with the assigned admin username and password.
- Import student information from the supplied roster spreadsheet.
- Assign each student to basic or advanced and the appropriate curriculum.
- Save identities, roster information, and assignments in Convex.
- Print persistent name-code login tickets.
- Change group/curriculum as needed without resetting history.
UI requirements:
- Preview spreadsheet field mapping and import results before committing changes.
- Show missing required information and identity/code conflicts per row.
- Avoid creating duplicate student identities when a returning student appears in a later roster.
- Show existing identity, current group, and curriculum together around reassignment controls.
- A group change takes effect in the student's current curriculum view without deleting old work.
- Use only basic and advanced as group choices; do not generate annual classes.
- Printed tickets include student identity, website address, stable login code, and sign-in instructions.
- Attendance is Present, Late or Absent for the group’s current lesson date (D11) and remains separate from online presence.
The spreadsheet columns, supported file formats, and persistent-identity matching rule must be agreed before import implementation.
- Select the basic or advanced curriculum.
- Create/manage topic days, such as variables and loops: add a day (it starts unscheduled, at the end), move it earlier or later, or remove it while it has no assignments and no attendance.
- Upload each day's cover image, paste its slides link, and associate assignments with the day.
- Enter lesson dates and times for the relevant year when known.
- Adjust dates as the teaching schedule changes.
UI requirements:
- Separate curriculum content from the year-specific schedule.
- Changing a new year's dates must not overwrite previous years' lesson dates or student history.
- Show unscheduled days explicitly, and that students can't open them until they have a date.
- Explain that changing a date moves only the lesson date; turn-in never closes (D06, D13). A day opens to students on its lesson date (D04); a student with work on a day keeps it if the date moves later.
- Cover uploads accept PNG, JPEG, WebP or GIF up to 5 MB; the picker refuses other files before uploading and the server checks the stored file again. Replacing or removing a cover deletes the old file.
- Moving or removing a day renumbers the days after it; removal explains why it is refused (assignments or attendance).
- Keep group, curriculum, topic, and schedule year visible where relevant.
- Select a curriculum day and choose “+ New assignment” (on Assignments, Curriculum or the editor's day list): give it a title and type.
- Write the summary students see on the lesson day and the task instructions; optionally add the expected output shown beside the task.
- For guided work, add starter files, define meaningful required parts (begins with / contains in order / ends with / equals), the assignment-specific minimum for partial completion, the infinite-loop check when needed, and the check input fed to
input(). - For open-ended work, provide the project/final instructions; students start from a blank file.
- Save a draft, then publish it to the intended curriculum day. Later edits are saved as a new draft and published as the next task version.
UI requirements:
- Show type-specific controls; do not require output checks for open-ended projects.
- Guided authoring includes named requirements, associated checks, and a partial-completion rule with a live “Reachable” check; do not use a universal percentage for all assignments.
- Distinguish Save draft from publishing to students. The header shows Draft, Unpublished, or “Published · task vN” with the draft's save time, and “Unsaved changes” while editing; Publish says what is missing when the task isn't complete.
- Keep unpublished drafts out of student views. Unpublishing hides the assignment from lesson days but keeps every student's work; only drafts no student has opened can be removed.
- Show which curriculum day receives the assignment and its position there (↑/↓ reorder).
- Show how many students have work on it, and that publishing changes keeps their files and earlier results while new checks use the new version (D08). Earlier checks and turn-ins are labeled as an older task version for students and in Review.
- If another admin saved the assignment after the editor opened, refuse the save and offer to reload their version. Warn before leaving with unsaved changes.
- Content changes must not silently overwrite students' saved files or prior submissions.
- View active students and help alerts, then open the relevant work directly.
- Join with a student notification and use shared editing, Run, and guidance controls.
- Review submitted snapshots and guided-check outcomes.
- See the requirement-level results and why the submitted work qualifies as complete, partial, or not complete.
- Provide feedback without requiring numerical grades.
- Return reviewed work to the student for editing and resubmission, preserving earlier snapshots and feedback.
- Show all submission attempts and returns on the admin dashboard, including the saved version, timestamp, check result, and associated feedback for each attempt.
UI requirements:
- Keep student identity, group, lesson day, and assignment visible during assistance/review.
- Distinguish a live working copy from a submitted snapshot.
- Distinguish the latest submission and its review state from earlier attempts. A new submission must not appear reviewed merely because an earlier attempt was reviewed.
- Show help alert status and avoid duplicate alerts for the same unresolved request.
- Distinguish connected, disconnected, and stale student presence.