Skip to content
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

Feedback #1

Open
wants to merge 617 commits into
base: feedback
Choose a base branch
from
Open

Feedback #1

wants to merge 617 commits into from

Conversation

github-classroom[bot]
Copy link

@github-classroom github-classroom bot commented Sep 11, 2024

👋! GitHub Classroom created this pull request as a place for your teacher to leave feedback on your work. It will update automatically. Don’t close or merge this pull request, unless you’re instructed to do so by your teacher.
In this pull request, your teacher can leave comments and feedback on your code. Click the Subscribe button to be notified if that happens.
Click the Files changed or Commits tab to see all of the changes pushed to the default branch since the assignment started. Your teacher can see this too.

Notes for teachers

Use this PR to leave feedback. Here are some tips:

  • Click the Files changed tab to see all of the changes pushed to the default branch since the assignment started. To leave comments on specific lines of code, put your cursor over a line of code and click the blue + (plus sign). To learn more about comments, read “Commenting on a pull request”.
  • Click the Commits tab to see the commits pushed to the default branch. Click a commit to see specific changes.
  • If you turned on autograding, then click the Checks tab to see the results.
  • This page is an overview. It shows commits, line comments, and general comments. You can leave a general comment below.
    For more information about this pull request, read “Leaving assignment feedback in GitHub”.

Subscribed: @LHeng1 @m1oojv @Jnjy @zsh-eng @tim-pipi

@LHeng1 LHeng1 requested a review from Jnjy September 29, 2024 14:52
@Jnjy Jnjy requested a review from m1oojv September 29, 2024 14:52
This commit updates the Submission.ts file to include the SubmissionsArraySchema, which is an array schema for the Submission object. This change allows for better validation and handling of multiple submissions.
This commit updates the useSubmissions hook in the frontend/src/hooks/useSubmissions.tsx file. It adds the SubmissionsArraySchema import from the '@/types/submission' module. This change ensures that the hook returns data in the correct format.
This commit updates the CodeEditor component to include a new prop called 'value'. This prop allows the parent component to control the value of the code editor. The 'value' prop is now passed to the Monaco Editor component and is used to set the initial value of the editor. Additionally, the 'value' prop is also passed to the onChange event handler, ensuring that any changes made in the editor are reflected in the parent component.
The code changes in question.tsx and submission.ts update the types of userId and questionId from string to number to align with the backend API. This ensures consistency and improves data integrity.
zsh-eng and others added 30 commits November 13, 2024 17:02
When user tries to update their own details, they cannot
because isAdmin is sent.

This commit updates the check in the UsersController to only
reject if the user is trying to change their admin position.
User should be able to submit and see the form errors, instead
of the button being disabled.
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.

5 participants