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

chore: prevent step from clickable when the date for the step is invalid #179

Merged
merged 3 commits into from
Jan 30, 2024

Conversation

leangseu-edx
Copy link
Contributor

@leangseu-edx leangseu-edx commented Jan 26, 2024

Submission hasn't started:
Screenshot 2024-01-26 at 1 06 58 PM
Submission has ended:
Screenshot 2024-01-26 at 1 07 03 PM

Self assessment hasn't started:
Screenshot 2024-01-26 at 1 52 58 PM
Screenshot 2024-01-26 at 1 53 07 PM
Self assessment has ended:
Screenshot 2024-01-26 at 1 53 41 PM

When you try to access the step modal manually when it is unavailable
Screenshot 2024-01-29 at 1 48 43 PM

peer should behavior like self step.

Copy link

@nsprenkle nsprenkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have reviewed changes with my backend PR (openedx/edx-ora2#2168) and they seem to work as expected.

Though we might want to figure out a nicer way of getting out of the edge case where a student tries to move to a step right after the due date and they just get into an error loop until they go back to the XBlock view.

@leangseu-edx leangseu-edx merged commit e022e66 into master Jan 30, 2024
4 checks passed
@leangseu-edx leangseu-edx deleted the lk/date-validation branch January 30, 2024 18:45
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.

2 participants