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
Update admin-site to support json schema #1180
Conversation
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.
First look-through looks nice 💯
Left a few comments but nothing critical considering it being an mvp
name={"questions." + index + ".name"} | ||
placeholder={""} | ||
label={"Label"} | ||
/> | ||
<Field | ||
name={"questions." + index + ".label"} | ||
component={TextAreaField} | ||
placeholder={""} |
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.
Looks like JsonFieldTextArea
s placeholder-field is supposed to be used here 🤔
Converted to draft to ensure it is not merged before 2023 admissions, will merge some time after that. |
d434e2e
to
b0f78c2
Compare
For the main backend changes, see #1178.
Updates the admin-views to support viewing applications, download CSVs and edit the JSON schema.
The backend + the frontend structure supports adding fields, reordering fields, etc. but this is not implemented in the GUI yet. Would rather do this in a later PR.
The functionality to change the top questions (info and phone number in the screenshot in #1179) is not yet implemented, but will match the visual preview for group-leaders.
Visual preview
Admin page for group-leaders and recruiters
Admin page for admission-admins
Resolves ABA-515, ABA-516