Add worksheet short-answer grading view, student inbox, and parent-student messaging

- Grading queue now shows short-answer questions and student responses inline so the parent can read answers before scoring
- Student inbox tab shows all graded items with score, percentage, and parent feedback; unread badge appears on login
- Parent-student messaging: students send messages from the Inbox tab; Messages panel in admin shows threads with unread count badge, full conversation history, and reply compose

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 4.6 committed 2026-08-20 13:28:28 -04:00
1 parent 2834738598
commit 556b570b60
7 files changed
+353 -2

No files matched your search

+15
View File
@@ -78,6 +78,7 @@
<button class="nav-pill active" data-tab="today">📋 Today</button>
<button class="nav-pill" data-tab="courses">📚 My Courses</button>
<button class="nav-pill" data-tab="spelling">✏️ Spelling</button>
<button class="nav-pill" data-tab="inbox">📬 Inbox<span id="inbox-badge" class="feedback-badge" hidden></span></button>
</div>
<div id="tab-today" class="tab-panel">
@@ -99,6 +100,20 @@
</div>
<div id="kid-test-history"></div>
</div>
<div id="tab-inbox" class="tab-panel" hidden>
<div id="inbox-list"></div>
<p id="inbox-empty" class="hint" hidden>No grades yet — check back after your parent reviews your work!</p>
<div class="msg-thread-wrap">
<h2 class="msg-thread-title">💬 Messages</h2>
<div id="msg-thread" class="msg-thread"></div>
<form id="msg-compose" class="msg-compose">
<textarea id="msg-input" class="msg-input" placeholder="Write a message to your parent…" rows="2"></textarea>
<button type="submit" class="msg-send-btn">Send ➤</button>
</form>
</div>
</div>
</section>
<!-- All-done celebration overlay -->