-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Student endpoints #137
Merged
Merged
Student endpoints #137
Conversation
This file contains 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
…rsity login is provdided in the token
This was
linked to
issues
Jan 31, 2025
# Conflicts: # clients/core/src/managementConsole/ManagementConsole.tsx # clients/package.json # clients/yarn.lock # server/course/router.go # server/course/service.go # server/coursePhase/coursePhaseParticipation/router.go # server/db/sqlc/course.sql.go # server/keycloak/middleware.go
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR build up on #135 .
It adjusts all required endpoints for student use and restricts the sidebar phase viewability for students to their active phases .
Course Participation Management:
CourseParticipation
interface andgetCourseParticipation
query to fetch course participation data. (clients/core/src/managementConsole/shared/interfaces/CourseParticipation.ts
,clients/core/src/network/queries/courseParticipation.ts
) [1] [2]getOwnCourseIDs
query to retrieve course IDs a user is enrolled in. (clients/core/src/network/queries/ownCourseIDs.ts
)server/course/courseParticipation/router.go
,server/course/courseParticipation/service.go
,server/course/courseParticipation/courseParticipationDTO/get_own_course_participation.go
) [1] [2] [3]Sidebar Component Updates:
ApplicationSidebar
,InterviewSidebar
,MatchingSidebar
, andTemplateSidebar
to includecoursePhaseID
as a prop. (clients/core/src/managementConsole/PhaseMapping/ExternalSidebars/ApplicationSidebar.tsx
,clients/core/src/managementConsole/PhaseMapping/ExternalSidebars/InterviewSidebar.tsx
,clients/core/src/managementConsole/PhaseMapping/ExternalSidebars/MatchingSidebar.tsx
,clients/core/src/managementConsole/PhaseMapping/ExternalSidebars/TemplateSidebar.tsx
) [1] [2] [3] [4]PhaseSidebarMapping
andInsideCourseSidebar
to passcoursePhaseID
to sidebar components. (clients/core/src/managementConsole/PhaseMapping/PhaseSidebarMapping.tsx
,clients/core/src/managementConsole/layout/Sidebar/InsideSidebar/InsideCourseSidebar.tsx
) [1] [2]Validation Improvements:
clients/core/src/validations/course.ts
)Other Changes:
PermissionRestriction
component to check student roles and course participation. (clients/core/src/managementConsole/shared/components/PermissionRestriction.tsx
) [1] [2]@tumaet/prompt-shared-state
. (clients/package.json
)