Shravya feature/phase4/Assisted functionality#1874
Open
ShravyaKudlu wants to merge 13 commits into
Open
Conversation
…r_Young_Learner_Support
6190f7d to
cc33679
Compare
|
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
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.




Phase 4: Tagged Logs for Young Learner Support - Backend
Description
This backend feature enables Learning Support Team members (for young learners) to create or edit logs on behalf of a student.

Logs will be tagged to provide clear visibility to educators.
605 Phase 4 - Tagged Logs for Young Learner Support - Backend
Features
ActivityLogtable to include:assisted_users– This is an array of all assisted_users where every essisted_user is an object that contains assisted_user_id, assisted_user_firstname and lastname, asstisted_at which is a current date and assistent_type which is an enum of created, editedis_assisted– a Boolean flag.assisted_by_user_idis populated with their ID.is_assistedis set totrue.GET /educator/daily-log/:studentIdto include the assistance metadata (assisted flag or assistant's name).Related PRS (if any):
This branch is checkout from branch #1815
Main changes explained:
POST /student/daily-logPUT /student/daily-log/:logIdis_assistedflag.GET /educator/daily-logto include assistance metadata for better visibility.How to test:
npm installandnpm run devto run this PR locallyPOST /student/daily-logPUT /student/daily-log/:logIdGET /educator/daily-logScreenshots or videos of changes:
test.mp4
Note:
Currently The role young leaner support is same as admin.