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

Prevent dropping of ca & instructors #1420

Merged
merged 2 commits into from
Nov 18, 2021

Conversation

victorhuangwq
Copy link
Contributor

@victorhuangwq victorhuangwq commented Nov 13, 2021

Description

This PR prevents (from the front-end) people from dropping ca & instructors.

Motivation and Context

As of current, it is possible to drop the CA & instructors, which is an invalid action. We are currently doing a hotfix to prevent that via the front-end.

How Has This Been Tested?

When Instructor & CA is checked:
image

When CA is checked:
image

When nothing is checked:
image

Unchecks dropped accordingly:
remove_checkbox

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation, which is located at Autolab Docs
  • I have updated the documentation accordingly, included in this PR

Other issues / help required

If unsure, feel free to submit first and we'll help you along.

@victorhuangwq victorhuangwq changed the title WIP: Prevent dropping of ca & instructors Prevent dropping of ca & instructors Nov 18, 2021
Copy link
Contributor

@xinyis991105 xinyis991105 left a comment

Choose a reason for hiding this comment

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

LGTM!

@victorhuangwq victorhuangwq merged commit 4146ee0 into master Nov 18, 2021
@victorhuangwq victorhuangwq deleted the fix-drop-ca-instructor-logic branch November 18, 2021 23:44
@damianhxy damianhxy mentioned this pull request Feb 11, 2024
6 tasks
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