Need
Once logged in, nothing in the page chrome tells users which account they are acting as: the header shows Dashboard, Courses, and Log out, and the username only appears in the dashboard greeting. This matters when switching between student, instructor, and admin accounts.
Show the signed-in username in the header, next to Log out: muted, non-interactive text; escaped (it is user-typed data); truncated with an ellipsis so a long username cannot distort the header. Screen readers should hear "Signed in as ".
Plan: docs/plans/2026-07-28-header-username.md
Acceptance criteria
Need
Once logged in, nothing in the page chrome tells users which account they are acting as: the header shows Dashboard, Courses, and Log out, and the username only appears in the dashboard greeting. This matters when switching between student, instructor, and admin accounts.
Show the signed-in username in the header, next to Log out: muted, non-interactive text; escaped (it is user-typed data); truncated with an ellipsis so a long username cannot distort the header. Screen readers should hear "Signed in as ".
Plan:
docs/plans/2026-07-28-header-username.mdAcceptance criteria