Please do NOT fork this repo in github, you can clone it and push it up to a new repo on your account.
Make sure you have ddev installed and it is updated https://ddev.readthedocs.io/en/latest/
cp -n .env.example .envand set any values if needed (defaults should work for ddev)ddev startddev composer installddev import-db --file=ss_tech_test.sqlddev sake dev/build flush=allddev launchor open https://ss-tech-interview.ddev.site/ddev exec ./vendor/bin/phpunitto run tests
This is a very minimal site with a single custom page type that allows a candidate to submit a form.
We have a list of bugs and enhancements that the "partner" has asked for below, please complete these in order. Please also document any assumptions you make along the way.
-
The form on the "Submit yourself" page isn't working.
-
There should be some text from the CMS page which displays above the candidate form.
-
The "please tell us why" field should validate there's at least 20 words but it currently seems to accept "Lorem ipsum dolor sit amet".
-
Can we add the candidate's name to the thank you in the green popup when they submit the form?
-
Can we move the interview candidates list from the bottom of the CMS sidebar further up, maybe just below files?
-
We need to be able to change candidates from "Pending" to either "Approved" or "Declined". Could all 3 statuses also display in different lists or tabs within the interview candidates area e.g. first tab is only the "Pending" ones?
-
We need the "Thank you... " message that displays after you submit the password reset form in /admin to be customisable in the CMS, as an HTML text field.