- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2
Panel judging opt in #343
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
base: main
Are you sure you want to change the base?
Panel judging opt in #343
Conversation
| import judgeStyles from './JudgeAuthForm.module.scss'; | ||
|  | ||
| type Role = 'hacker' | 'judge'; | ||
| type FieldName = 'email' | 'password' | 'passwordDupe' | 'code'; | 
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.
Is there a reason why FieldName is no longer needed?
| cursor: field.readOnly ? 'not-allowed' : 'auto', | ||
| }} | ||
| /> | ||
| {field.type === 'checkbox' ? ( | 
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.
Do you have a frontend example of this? just curious how it looks. Maybe during tmr (10/27) meeting you can briefly share.
| _id?: string; | ||
| track: string; | ||
| domain: string; | ||
| domain?: string; | 
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.
In response to your pr description, yeah I'm not too sure either why "Best Hack for Social Good" doesn't have a domain. It was also not in the admin panel judging view and we had to judge it ourselves last year, not sure if that was intentional - may need to check with Jay or someone last year about that.
I'm fairly sure this works.
I've tested it on the mock data I have from old testing with only tech team as judges and it seemed to work for panel creation (I temporarily removed the limits on how many panels a judge can be on).
Have also added a dropdown to the Admin page for judges to allow changing of panel judging opt in.
I did have to make the 'domain' optional on panels, since the "Best Hack for Social Good" does not have a domain, do not know how this didn't break the panel judging before... but it is something to keep in mind if we run into problems later.
Have not checked the judge check in form part yet.