Add Graded sub-tab to student inbox

New grades show in the New tab on first visit; on return they move to the Graded tab so the inbox stays clean without losing the history.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 4.6 committed 2026-08-20 13:58:43 -04:00
1 parent 3a018a97bb
commit 43aa367f63
3 files changed
+50 -18

No files matched your search

+12 -2
View File
@@ -102,8 +102,18 @@
</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="inbox-subtabs">
<button class="inbox-subtab active" data-sub="new">📬 New<span id="inbox-new-badge" class="feedback-badge" hidden></span></button>
<button class="inbox-subtab" data-sub="graded">📂 Graded</button>
</div>
<div id="inbox-sub-new">
<div id="inbox-list"></div>
<p id="inbox-empty" class="hint" hidden>No new grades — check back after your parent reviews your work!</p>
</div>
<div id="inbox-sub-graded" hidden>
<div id="graded-list"></div>
<p id="graded-empty" class="hint" hidden>No graded items yet.</p>
</div>
<div class="msg-thread-wrap">
<h2 class="msg-thread-title">💬 Messages</h2>