Skip to content

Commit

Permalink
Move onboarding form to the website (#2017)
Browse files Browse the repository at this point in the history
- [x] Make repo-ingestion fault tolerant (deploy on both wato-aks1 and
wato-kube)
- [x] Set up utility functions from the old form like hashing passwords.
- [x] Render markdown in field descriptions.
- [x] Add "Advanced" dropdown: download config (show error in dialog,
have a button to download anyway), save for later (useful for admins
creating templates). Can use the [Dropdown
Menu](https://ui.shadcn.com/docs/components/dropdown-menu) component
- [x] Prompt when trying to leave the page with modifications
- [x] CI-based checklist
WATonomous/infra-config#2553
- [x] Resolve the 500 error when no file is changed:
WATonomous/infra-config#2017 (comment)
(in a separate PR) WATonomous/infra-config#2552
- [x] Form instructions
- [x] Add deprecation notice to the old form. Link the new form, also
transfer query params.
WATonomous/infra-config@3b291ae
- [x] Update website URLs to point to the new page.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
ben-z and github-actions[bot] authored Apr 1, 2024
1 parent dcbf6df commit 6d1bd06
Show file tree
Hide file tree
Showing 25 changed files with 2,623 additions and 126 deletions.
2 changes: 2 additions & 0 deletions components/affiliation-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import affiliationSchemaJSON from "@/build/fixtures/affiliation.schema.json";
import affiliationSchemaValidate from "@/build/fixtures/affiliation.schema.validate";
import RJSFFields from "@/components/rjsf-fields";
import RJSFTemplates from "@/components/rjsf-templates";
import RJSFWidgets from "./rjsf-widgets";
import {
AlertDialog,
AlertDialogAction,
Expand Down Expand Up @@ -102,6 +103,7 @@ export default function AffiliationForm() {
focusOnFirstError={true}
templates={RJSFTemplates}
fields={RJSFFields}
widgets={RJSFWidgets}
/>
<AlertDialog open={isAlertOpen} onOpenChange={setIsAlertOpen}>
<AlertDialogContent>
Expand Down
Loading

0 comments on commit 6d1bd06

Please sign in to comment.