FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(Admin): Organize teacher account info with tabs and link project previews by hirokiterashima · Pull Request #345 · WISE-Community/WISE-API · GitHub

feat(Admin): Organize teacher account info with tabs and link project previews - #345

Merged
hirokiterashima merged 4 commits into
developfrom
feat/admin-show-units-in-user-info-page
Aug 28, 2026
Merged

feat(Admin): Organize teacher account info with tabs and link project previews#345
hirokiterashima merged 4 commits into
developfrom
feat/admin-show-units-in-user-info-page

Conversation

Copy link
Copy Markdown
Member

Summary

Enhances the Teacher Account Information page (/teacher/account/info) accessible by administrators to display curriculum units owned by the teacher and organizes the page content into tabbed sections.

Key Changes

  • Controller (UserInfoController.java):
    • Injected ProjectService.
    • Added projectList using projectService.getProjectList(user) to the model when viewing teacher account information.
  • View (info.jsp):
    • Integrated jQuery UI tabs to organize content into three tabs:
      • Teacher Information: Profile details, login stats, and enable/disable account controls.
      • Run List: Classroom runs owned by the teacher.
      • Unit List: Curriculum units owned by the teacher, with each Unit ID linked to open the unit preview (previewproject.html?projectId=...) in a new tab.
    • Left-aligned tab table contents and removed redundant dialog wrapper markup.
  • Localization (i18n.properties):
    • Added message keys for teacher.teacherinfo.unitList, teacher.teacherinfo.unitId, and teacher.teacherinfo.unitName.
  • Unit Tests (UserInfoControllerTest.java):
    • Updated test cases to mock projectService.getProjectList and verify projectList presence in the model.

Verification

  • Executed unit tests:
    mvn test -Dtest=UserInfoControllerTest

hirokiterashima self-assigned this Aug 28, 2026
hirokiterashima added the enhancement New feature or request label Aug 28, 2026
hirokiterashima merged commit 8ae1db1 into develop Aug 28, 2026
2 checks passed
hirokiterashima deleted the feat/admin-show-units-in-user-info-page branch August 28, 2026 16:29

Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 1.24.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL