Skip to content

Open teacher profiles with birth year, classes and login details - #6

Merged
NguyenDoan30 merged 1 commit into
mainfrom
codex/teacher-details
Nov 10, 2026
Merged

NguyenDoan30 merged 1 commit into
mainfrom
codex/teacher-details

Conversation

@NguyenDoan30

Copy link
Copy Markdown
Owner

Teacher names in the management directory were static text, so users could not see an aggregated profile or distinguish contact email from the linked teacher login. Names now open a responsive profile dialog with teaching classes/subjects and homeroom classes for the selected academic year, contact details, status, optional birth year, and the actual linked login email from the existing owner-scoped access RPC.

Birth years can be entered or cleared, validate against 1900–the current year, and persist with global teacher profiles across years/devices. Account lookups distinguish loading, unlinked, and failed states; stale teacher/account responses are discarded. Opening account management from a profile selects that teacher and preserves the selection on retry.

Supabase cannot return existing passwords. The profile explains this and links to manual password management in Supabase; no password input, plaintext storage, default credential, or automatic reset email is introduced. No backend migration or teacher-website deployment change is needed.

Validation: focused teacher-details browser suite passes at desktop/mobile widths, covering aggregated classes, real/missing birth years, validation/save/clear/reload/cross-device sync, assignment-edit preservation, contact vs login email, safe password guidance, retry, management preselection, and late responses across teacher/account changes. Complete cloud-sync and teacher-portal suites pass. Screenshots inspected; syntax and whitespace checks pass.

@NguyenDoan30
NguyenDoan30 merged commit cf8e078 into main Nov 10, 2026
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.

1 participant