-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[#10917] Fix unexpected behaviour when reverting to template feedback path #10975
Merged
madanalogy
merged 14 commits into
TEAMMATES:master
from
stapletonce:10917-visibility-no-change-with-feedback-path-change
Apr 12, 2021
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
268bf9f
Fix unexpected behaviour when reverting to template feedback path
d0db372
Fix minor linting errors
09388fb
Merge branch 'master' of https://github.com/TEAMMATES/teammates into …
c99edac
Check if settings are same when reverting from custom to default
0889d76
Merge branch 'master' of https://github.com/TEAMMATES/teammates into …
8f4788d
Remove redundancies from if checks
c31b816
Revert to default display after choosing common feedback settings aft…
0df9eb9
Merge branch 'master' into 10917-visibility-no-change-with-feedback-p…
stapletonce 3626115
Update src/web/app/components/question-edit-form/question-edit-form.c…
stapletonce e324ce8
Merge branch 'master' of https://github.com/TEAMMATES/teammates into …
82b54aa
Merge branch '10917-visibility-no-change-with-feedback-path-change' o…
90786d8
Revert "Update src/web/app/components/question-edit-form/question-edi…
9c62d84
Merge branch 'master' into 10917-visibility-no-change-with-feedback-p…
Derek-Hardy 1268f00
Merge branch 'master' into 10917-visibility-no-change-with-feedback-p…
madanalogy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is perhaps not a good practice to have two such if's as they create an arrow-antipattern. You might want to just do
in which the precedence of the booleans achieves the exact same effect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong logic above^. Shouldn't omit the path where the function does nothing