Skip to content

Conversation

@bethanyaconnor
Copy link
Contributor

This fixes a bug where navigating from a word/picture section to an email section would incorrectly show an empty "add student" row. The issue occurred because loadSectionStudentData was called before the new section's loginType was set, causing it to use the previous section's loginType.

Changes:

  • Set loginType from cached section data BEFORE calling loadSectionStudentData in asyncLoadSelectedSection
  • Added test to verify email login types don't create ADD row

🤖 Generated with Claude Code

Links

  • Jira:

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Creation Checklist:

  • Tests provide adequate coverage
  • Privacy impacts have been documented
  • Security impacts have been documented
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Follow-up work items (including potential tech debt) are tracked and linked

bethanyaconnor and others added 2 commits January 13, 2026 09:25
This fixes a bug where navigating from a word/picture section to an
email section would incorrectly show an empty "add student" row. The
issue occurred because loadSectionStudentData was called before the
new section's loginType was set, causing it to use the previous
section's loginType.

Changes:
- Set loginType from cached section data BEFORE calling
  loadSectionStudentData in asyncLoadSelectedSection
- Added test to verify email login types don't create ADD row

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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